Get BGP Discovered Prefixes (v2.0)
GET/v2.0/api/tenants/:tenant_id/sites/:site_id/elements/:element_id/bgppeers/:config_id/discoveredprefixes
List all the BGP discovered prefix information.
Request
Path Parameters
tenant_id stringrequired
ID of the tenant.
site_id stringrequired
The ID of the site.
element_id stringrequired
The ID of the element.
config_id stringrequired
The ID of the BGP peer config.
Responses
- 200
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
discovered_ipv4_prefixes PrefixInfo[]
The discovered IPv4 prefixes for the BGP peer.
as_path int64[]
The AS path of the IPv4/IPv6 prefix.
network string
The network of the IPv4/IPv6 prefix.
nexthop string
The next-hop of the IPv4/IPv6 prefix.
discovered_ipv4_prefixes_count int32
The discovered IPv4 prefixes count for the BGP peer.
id string
The ID of the BGP peer.
{
"discovered_ipv4_prefixes": [
{
"as_path": [
0
],
"network": "string",
"nexthop": "string"
}
],
"discovered_ipv4_prefixes_count": 0,
"id": "string"
}
Loading...