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

Get total number of IPv4 or IPv6 routes on a Tier0

Get total number of IPv4 or IPv6 routes on a Tier0
This API is only available when using VMware NSX.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/tier-0s/{tier-0-id}/number-of-routes
/policy/api/v1/global-infra/tier-0s/{tier-0-id}/number-of-routes
Request Headers:
n/a
Query Parameters:
Tier0NumberOfRoutesRequestParameters+
Request Body:
n/a

Example Request:

https://<policy-mgr>/policy/api/v1/infra/tier-0s/pepsi/number-of-routes?edge_path=/infra/sites/default/enforcement-points/default/edge-clusters//edge-nodes/0

Successful Response:

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

Required Permissions:

read

Feature:

policy_t0

Additional Errors: