NSX Autonomous Edge REST API

Get the statistics of a specified LogicalRouterPort

Returns the statistics for the Logical Router Port.

Request:

Method:
GET
URI Path(s):
/ports/{logical-router-port-id}/statistics
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Successful Response:

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

Example Response:

{ "admin_state": "UP", "operational_state": "UP", "last_update_timestamp": 1535499424061, "logical_router_port_id": "f37f587f-171c-41f4-8b6e-6690c0a24649", "rx": { "dropped_packets": 12954, "total_bytes": 10965364, "total_packets": 108647 }, "tx": { "dropped_packets": 0, "total_bytes": 8915908, "total_packets": 94886 } }

Required Permissions:

read

Feature:

routing_routers

Additional Errors: