NSX-T Data Center REST API
Get total number of IPv4 or IPv6 routes on a Tier0
Get total number of IPv4 or IPv6 routes on a Tier0This 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
/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/Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
Tier0NumberOfRoutesResult+