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

Get OSPF Database information in CSV format

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

Request:

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

Example Request:

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

Successful Response:

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

Example Response:

{ results "edge_path,/infra/sites/default/enforcement-points/default/edge-clusters/5fbcb7e6-ca1c-4cbc-b056-921d7fba959a/edge-nodes/0" "area_id,0.0.0.1" router_link_states "link_state_id,advertised_router,up_time,sequence_number,router_links,checksum" "11.11.11.11,11.11.11.11,1281,80000031,2,6102" "12.12.12.12,12.12.12.12,1241,8000002e,2,da77" "90.90.90.2,90.90.90.2,1199,80000035,2,6666" net_link_states "link_state_id,advertised_router,up_time,sequence_number,checksum" "40.40.40.10,11.11.11.11,1281,8000002a,40e4" "40.50.60.2,12.12.12.12,1241,8000002a,9655" external_link_states "link_state_id,advertised_router,up_time,sequence_number,metric_type,checksum,tag,route" "1.1.1.0,90.90.90.2,1279,80000031,E2,1228,4016,1.1.1.0" "1.1.2.0,90.90.90.2,1169,80000031,E2,4b5,4016,1.1.2.0" "1.1.3.0,90.90.90.2,1429,80000031,E2,8ceb,0,1.1.3.0" "2.1.4.0,11.11.11.11,1281,8000002a,E2,f74c,0,2.1.4.0" "2.1.5.0,12.12.12.12,1241,8000002a,E2,ce70,0,2.1.5.0" "10.78.80.0,11.11.11.11,1281,8000002a,E2,5d54,0,10.78.80.0" "10.78.80.0,12.12.12.12,1241,8000002a,E2,3f6e,0,10.78.80.0" "edge_path,/infra/sites/default/enforcement-points/default/edge-clusters/5fbcb7e6-ca1c-4cbc-b056-921d7fba959a/edge-nodes/1" "area_id,0.0.0.0" external_link_states "link_state_id,advertised_router,up_time,sequence_number,metric_type,checksum,tag,route" "1.1.1.0,90.90.90.1,1389,80000031,E2,1823,4016,1.1.1.0" "1.1.2.0,90.90.90.1,1319,80000031,E2,ab0,4016,1.1.2.0" "1.1.3.0,90.90.90.1,1249,80000031,E2,92e6,0,1.1.3.0" "40.40.40.0,90.90.90.1,1469,80000031,E2,27de,0,40.40.40.0" "90.90.90.0,90.90.90.1,1279,80000031,E2,1857,0,90.90.90.0" }

Required Permissions:

read

Feature:

policy_ospf

Additional Errors: