- Home
- API Enriched
- Ddos
- data
- BGP Peer Status.
BGP Peer Status.
const url = 'https://example-corp.console.ves.volterra.io/api/v1/api/production/us-east-1/namespaces/default/api/data/namespaces/example/infraprotect/bgp_peer_status';const options = { method: 'POST', headers: {Authorization: '<Authorization>', 'Content-Type': 'application/json'}, body: '{"namespace":"example","time":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example-corp.console.ves.volterra.io/api/v1/api/production/us-east-1/namespaces/default/api/data/namespaces/example/infraprotect/bgp_peer_status \ --header 'Authorization: <Authorization>' \ --header 'Content-Type: application/json' \ --data '{ "namespace": "example", "time": "example" }'API to GET routed DDoS BGP peer status information.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Namespace
Request Bodyrequired
Section titled “Request Bodyrequired”Request to GET routed DDoS BGP peer status information.
object
Human-readable name for the resource
Timestamp at which the snapshot of the BGP peer status data should be fetched. Format: unix_timestamp|RFC 3339
Optional: If not specified, then the end_time will be evaluated to
Examplegenerated
{ "namespace": "example", "time": "example"}Responses
Section titled “Responses”A successful response.
Routed DDoS BGP peer status response data.
object
BGP Peer Status Items contains routed DDoS BGP peer status data for each router/peer combination.
Routed DDoS BGP peer status data specific to a given router/peer combination.
object
Autonomous System Number for BGP peer.
object
object
IPv4 Address in string form with dot-decimal notation.
object
IPv6 Address in form of string. IPv6 address must be specified as hexadecimal numbers separated by ’:’ The address can be compacted by suppressing zeros e.g. ‘2001:db8:0:0:0:0:2:1’ becomes ‘2001:db8::2:1’ or ‘2001:db8:0:0:0:2:0:0’ becomes ‘2001:db8::2::’
object
Device location name Required: YES.
object
object
Configuration parameter for last established
Example
{ "items": [ { "session_state": "Idle" } ]}Returned when operation is not authorized.
Examplegenerated
exampleReturned when there is no permission to access resource.
Examplegenerated
exampleReturned when resource is not found.
Examplegenerated
exampleReturned when operation on resource is conflicting with current value.
Examplegenerated
exampleReturned when operation has been rejected as it is happening too frequently.
Examplegenerated
exampleReturned when server encountered an error in processing API.
Examplegenerated
exampleReturned when service is unavailable temporarily.
Examplegenerated
exampleReturned when server timed out processing request.
Examplegenerated
example