Get all OSPF Reachable Prefixes (v2.0)
GET/v2.0/api/tenants/:tenant_id/sites/:site_id/elements/:element_id/ospfconfigs/:ospf_config_id/ospfreachableprefixes
Lists all the OSPF reachable prefixes.
Request
Path Parameters
tenant_id stringrequired
The tenant ID.
site_id stringrequired
The site ID.
element_id stringrequired
The element ID.
ospf_config_id stringrequired
The OSPF config ID.
Responses
- 200
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
count int32
The actual count.
id string
The ID.
tenant_id string
The tenant ID.
items OspfReachablePrefixes[]
id string
The OSPF reachable prefix ID.
ospf_config_id string
The OSPF config ID.
reachable_ipv4_prefixes PrefixInfo[]
The reachable IPv4 prefixes for OSPF.
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.
reachable_ipv4_prefixes_count int32
The reachable IPv4 prefixes count for OSPF.
redistribute boolean
True or False.
vrf_context_id string
The attached VRF (Virtual Routing and Forwarding) ID.
{
"count": 0,
"id": "string",
"tenant_id": "string",
"items": [
{
"id": "string",
"ospf_config_id": "string",
"reachable_ipv4_prefixes": [
{
"as_path": [
0
],
"network": "string",
"nexthop": "string"
}
],
"reachable_ipv4_prefixes_count": 0,
"redistribute": true,
"vrf_context_id": "string"
}
]
}
Loading...