Policy > Networking > Connectivity > Tier-0 Gateways > Routing > OSPF

Get OSPF route information in CSV format

Get OSPF route information in CSV format.
This API is only available when using VMware NSX-T.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/ospf/routes?format=csv
Request Headers:
n/a
Query Parameters:
OspfRoutesRequestParameters+
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/tier-0s//locale-services//ospf/routes?format=csv

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: text/csv
Response Body:
OspfRoutesListResultInCsvFormat+

Example Response:

{ edge_path,route_prefix,route_type,router_type,cost,type_to_cost,area,"next_hop_neighbor_address",next_hop_interface_name,"next_hop_directly_attached" "/infra/sites/default/enforcement-points/default/edge-clusters/29618e38-18a1-4ffc-aa91-8487d0cf9131/edge-nodes/0",40.50.60.0/24,"N E2",,10,20,,90.90.90.10,uplink-270,false "/infra/sites/default/enforcement-points/default/edge-clusters/29618e38-18a1-4ffc-aa91-8487d0cf9131/edge-nodes/0",10.172.148.0/22,"N E2",,10,20,,90.90.90.10,uplink-270,false "/infra/sites/default/enforcement-points/default/edge-clusters/29618e38-18a1-4ffc-aa91-8487d0cf9131/edge-nodes/0",40.40.40.0/24,N,,10,0,0.0.0.0,0.0.0.0,uplink-269,true "/infra/sites/default/enforcement-points/default/edge-clusters/29618e38-18a1-4ffc-aa91-8487d0cf9131/edge-nodes/0",90.90.90.0/24,N,,10,0,0.0.0.0,0.0.0.0,uplink-270,true "/infra/sites/default/enforcement-points/default/edge-clusters/29618e38-18a1-4ffc-aa91-8487d0cf9131/edge-nodes/0",2.1.5.0/24,"N E2",,10,20,,90.90.90.10,uplink-270,false "/infra/sites/default/enforcement-points/default/edge-clusters/29618e38-18a1-4ffc-aa91-8487d0cf9131/edge-nodes/0",90.90.90.10,"R ",,10,0,0.0.0.0,90.90.90.10,uplink-270,false "/infra/sites/default/enforcement-points/default/edge-clusters/29618e38-18a1-4ffc-aa91-8487d0cf9131/edge-nodes/1",40.50.60.0/24,"N E2",,65534,20,0.0.0.0,90.90.90.10,uplink-283,false "/infra/sites/default/enforcement-points/default/edge-clusters/29618e38-18a1-4ffc-aa91-8487d0cf9131/edge-nodes/1",10.172.148.0/22,"N E2",,65534,20,0.0.0.0,90.90.90.10,uplink-283,false "/infra/sites/default/enforcement-points/default/edge-clusters/29618e38-18a1-4ffc-aa91-8487d0cf9131/edge-nodes/1",40.40.40.0/24,N,,65544,0,0.0.0.0,90.90.90.2,uplink-283,false "/infra/sites/default/enforcement-points/default/edge-clusters/29618e38-18a1-4ffc-aa91-8487d0cf9131/edge-nodes/1",90.90.90.0/24,N,,65534,0,0.0.0.0,0.0.0.0,uplink-283,true "/infra/sites/default/enforcement-points/default/edge-clusters/29618e38-18a1-4ffc-aa91-8487d0cf9131/edge-nodes/1",2.1.5.0/24,"N E2",,65534,20,0.0.0.0,90.90.90.10,uplink-283,false "/infra/sites/default/enforcement-points/default/edge-clusters/29618e38-18a1-4ffc-aa91-8487d0cf9131/edge-nodes/1",90.90.90.10,"R ",,65534,0,0.0.0.0,90.90.90.10,uplink-283,false }

Required Permissions:

read

Feature:

policy_ospf

Additional Errors: