Get Tier0 Routes
Get routing table from tier-0
Request
URI
GET
https://nsxmanager.your.domain/policy/api/v1/infra/tier-0s/{tier-0-id}/routing-table
COPY
Path Parameters
string
tier-0-id
Required
tier-0-id
Query Parameters
string
cursor
Optional
Opaque cursor to be used for getting next page of records (supplied by current result page)
string
edge_id
Optional
UUID of edge node
string
enforcement_point_path
Optional
String Path of the enforcement point
string
included_fields
Optional
Comma separated list of fields that should be included in query result
integer
page_size
Optional
Maximum number of results to return in this page (server may return fewer)
string
route_source
Optional
Filter routes based on the source from which route is learned
Possible values are :
BGP,
STATIC,
CONNECTED,
boolean
sort_ascending
Optional
sort_ascending
string
sort_by
Optional
Field by which records are sorted
Responses
200
OK
Returns
RoutingTableListResult
of type(s)
application/json
This response body class contains all of the following:
ListResult ,
InlineRoutingTableListResult1
{
"_links": [
{
"action": "string",
"href": "string",
"rel": "string"
}
],
"_schema": "string",
"_self": {
"action": "string",
"href": "string",
"rel": "string"
},
"cursor": "string",
"result_count": 0,
"sort_ascending": false,
"sort_by": "string",
"results": [
{
"count": 0,
"edge_node": "string",
"route_entries": [
{
"admin_distance": 0,
"network": "string",
"next_hop": "string",
"route_type": "string"
}
]
}
]
}
400
Returns
BadRequest
of type(s)
application/json
This response body class contains all of the following:
RelatedApiError ,
InlineApiError1
{
"details": "string",
"error_code": 0,
"error_message": "string",
"module_name": "string",
"related_errors": [
{
"details": "string",
"error_code": 0,
"error_message": "string",
"module_name": "string"
}
]
}
403
Returns
Forbidden
of type(s)
application/json
This response body class contains all of the following:
RelatedApiError ,
InlineApiError1
{
"details": "string",
"error_code": 0,
"error_message": "string",
"module_name": "string",
"related_errors": [
{
"details": "string",
"error_code": 0,
"error_message": "string",
"module_name": "string"
}
]
}
404
Not Found
Operation doesn't return any data structure
412
Returns
PreconditionFailed
of type(s)
application/json
This response body class contains all of the following:
RelatedApiError ,
InlineApiError1
{
"details": "string",
"error_code": 0,
"error_message": "string",
"module_name": "string",
"related_errors": [
{
"details": "string",
"error_code": 0,
"error_message": "string",
"module_name": "string"
}
]
}
500
Returns
InternalServerError
of type(s)
application/json
This response body class contains all of the following:
RelatedApiError ,
InlineApiError1
{
"details": "string",
"error_code": 0,
"error_message": "string",
"module_name": "string",
"related_errors": [
{
"details": "string",
"error_code": 0,
"error_message": "string",
"module_name": "string"
}
]
}
503
Returns
ServiceUnavailable
of type(s)
application/json
This response body class contains all of the following:
RelatedApiError ,
InlineApiError1
{
"details": "string",
"error_code": 0,
"error_message": "string",
"module_name": "string",
"related_errors": [
{
"details": "string",
"error_code": 0,
"error_message": "string",
"module_name": "string"
}
]
}