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

Get OSPF database information

Get OSPF database information.
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
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

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
PolicyOspfDatabaseListResult+

Example Response:

{ "tier0_path": "/infra/tier-0s/tier0", "last_update_timestamp": 1605794310949, "results": [ { "edge_path": "/infra/sites/default/enforcement-points/default/edge-clusters/29618e38-18a1-4ffc-aa91-8487d0cf9131/edge-nodes/0", "area_id": "0.0.0.0", "router_link_states": [ { "link_state_id": "40.40.40.1", "advertised_router": "40.40.40.1", "up_time": 298, "sequence_number": "80000cb9", "router_links": 2, "checksum": "5d78" }, { "link_state_id": "40.40.40.2", "advertised_router": "40.40.40.2", "up_time": 5, "sequence_number": "8000ab44", "router_links": 2, "checksum": "320b" }, { "link_state_id": "40.40.40.10", "advertised_router": "40.40.40.10", "up_time": 11, "sequence_number": "8000b426", "router_links": 1, "checksum": "5286" }, { "link_state_id": "90.90.90.10", "advertised_router": "90.90.90.10", "up_time": 1036, "sequence_number": "800002a2", "router_links": 1, "checksum": "f830" } ], "net_link_states": [ { "link_state_id": "90.90.90.10", "advertised_router": "90.90.90.10", "up_time": 1779, "sequence_number": "80000282", "checksum": "d66" } ], "summary_link_states": [], "nssa_external_link_states": [], "external_link_states": [ { "link_state_id": "2.1.4.0", "advertised_router": "40.40.40.10", "up_time": 1619, "sequence_number": "8000027b", "metric_type": "E2", "checksum": "9aff", "tag": 0, "route": "E2" }, { "link_state_id": "2.1.5.0", "advertised_router": "90.90.90.10", "up_time": 792, "sequence_number": "8000027a", "metric_type": "E2", "checksum": "dc27", "tag": 0, "route": "E2" }, { "link_state_id": "10.172.148.0", "advertised_router": "40.40.40.10", "up_time": 1619, "sequence_number": "8000027b", "metric_type": "E2", "checksum": "e078", "tag": 0, "route": "E2" }, { "link_state_id": "10.172.148.0", "advertised_router": "90.90.90.10", "up_time": 792, "sequence_number": "8000027a", "metric_type": "E2", "checksum": "2e95", "tag": 0, "route": "E2" }, { "link_state_id": "40.50.60.0", "advertised_router": "40.40.40.10", "up_time": 1619, "sequence_number": "8000027b", "metric_type": "E2", "checksum": "f119", "tag": 0, "route": "E2" }, { "link_state_id": "40.50.60.0", "advertised_router": "90.90.90.10", "up_time": 792, "sequence_number": "8000027a", "metric_type": "E2", "checksum": "3f36", "tag": 0, "route": "E2" } ], "asbr_summary_link_states": [] }, { "edge_path": "/infra/sites/default/enforcement-points/default/edge-clusters/29618e38-18a1-4ffc-aa91-8487d0cf9131/edge-nodes/1", "area_id": "0.0.0.0", "router_link_states": [ { "link_state_id": "40.40.40.1", "advertised_router": "40.40.40.1", "up_time": 301, "sequence_number": "80000cb9", "router_links": 2, "checksum": "5d78" }, { "link_state_id": "40.40.40.2", "advertised_router": "40.40.40.2", "up_time": 3, "sequence_number": "8000ab44", "router_links": 2, "checksum": "320b" }, { "link_state_id": "40.40.40.10", "advertised_router": "40.40.40.10", "up_time": 9, "sequence_number": "8000b426", "router_links": 1, "checksum": "5286" }, { "link_state_id": "90.90.90.10", "advertised_router": "90.90.90.10", "up_time": 1036, "sequence_number": "800002a2", "router_links": 1, "checksum": "f830" } ], "net_link_states": [ { "link_state_id": "90.90.90.10", "advertised_router": "90.90.90.10", "up_time": 1779, "sequence_number": "80000282", "checksum": "d66" } ], "summary_link_states": [], "nssa_external_link_states": [], "external_link_states": [ { "link_state_id": "2.1.4.0", "advertised_router": "40.40.40.10", "up_time": 1617, "sequence_number": "8000027b", "metric_type": "E2", "checksum": "9aff", "tag": 0, "route": "E2" }, { "link_state_id": "2.1.5.0", "advertised_router": "90.90.90.10", "up_time": 793, "sequence_number": "8000027a", "metric_type": "E2", "checksum": "dc27", "tag": 0, "route": "E2" }, { "link_state_id": "10.172.148.0", "advertised_router": "40.40.40.10", "up_time": 1617, "sequence_number": "8000027b", "metric_type": "E2", "checksum": "e078", "tag": 0, "route": "E2" }, { "link_state_id": "10.172.148.0", "advertised_router": "90.90.90.10", "up_time": 793, "sequence_number": "8000027a", "metric_type": "E2", "checksum": "2e95", "tag": 0, "route": "E2" }, { "link_state_id": "40.50.60.0", "advertised_router": "40.40.40.10", "up_time": 1617, "sequence_number": "8000027b", "metric_type": "E2", "checksum": "f119", "tag": 0, "route": "E2" }, { "link_state_id": "40.50.60.0", "advertised_router": "90.90.90.10", "up_time": 793, "sequence_number": "8000027a", "metric_type": "E2", "checksum": "3f36", "tag": 0, "route": "E2" } ], "asbr_summary_link_states": [] } ], "result_count": 2, "sort_by": "display_name", "sort_ascending": true }

Required Permissions:

read

Feature:

policy_ospf

Additional Errors: