Get Logical Router Forwarding Table
Returns the FIB for the logical router on a node of the given transport-node-id. Query parameter "transport_node_id=<transport-node-id>" is required. To filter the result by network address, paramter "network_prefix=<a.b.c.d/mask>" needs to be specified. Query parameter "source=realtime" is the only supported source.
Please use below Policy API.
GET /policy/api/v1/infra/tier-0s/<tier-0-id>/forwarding-table
GET /policy/api/v1/infra/tier-1s/<tier-1-id>/forwarding-table
logical-router-id
Define the DR routes
Opaque cursor to be used for getting next page of records (supplied by current result page)
Comma separated list of fields that should be included in query result
IPv4 or IPv6 CIDR Block
Maximum number of results to return in this page (server may return fewer)
sort_ascending
Field by which records are sorted
Data source type.
TransportNode Id
OK
{
"_links": [
{
"action": "string",
"href": "string",
"rel": "string"
}
],
"_schema": "string",
"_self": {},
"cursor": "string",
"result_count": 0,
"sort_ascending": false,
"sort_by": "string",
"last_update_timestamp": 0,
"logical_router_id": "string",
"logical_router_name": "string",
"results": [
{
"admin_distance": 0,
"black_hole": false,
"logical_router_port_id": "string",
"lr_component_id": "string",
"lr_component_type": "string",
"network": "string",
"next_hop": "string",
"next_hop_gateway": "string",
"route_type": "string"
}
]
}
Not Found
curl -H 'Authorization: <value>' https://{api_host}/api/v1/logical-routers/{logical-router-id}/routing/forwarding-table