Management Plane API >
Networking
>
Logical Switching
>
Inter-Site-Forwarder
Get L2 forwarder statistics
(Experimental)
Returns statistics of the l2 forwarder on logical switch.
It always returns realtime response.
Request:
Method:
GET
URI Path(s):
/api/v1/logical-switches/<logical-switch-id>/inter-site-forwarder/statistics
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a
Example Request:
GET https://<nsx-mgr>/api/v1/logical-switches/7a62a0c5-1ea1-4b25-9d43-dce1c0fa4b8c/inter-site-forwarder/statistics
Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
L2ForwarderStatistics
+
L2ForwarderStatistics
(
schema
)
Name
Description
Type
Notes
last_update_timestamp
Last updated timestamp
Timestamp when the l2 forwarder statistics was last updated.
EpochMsTimestamp
Required
Readonly
logical_switch_id
Logical switch id of L2 forwarder
Logical switch id on which the L2 forwarder is created.
string
Required
Readonly
rx
Received data counters
Total received data counters.
InterSitePortCounters
Readonly
tx
Sent data counters
Total sent data counters.
InterSitePortCounters
Readonly
Example Response:
{ "logical_switch_id": "7a62a0c5-1ea1-4b25-9d43-dce1c0fa4b8c", "rx": { "total_bytes": 56646, "total_packets": 342, "dropped_packets": 103 }, "tx": { "total_bytes": 1125548, "total_packets": 2235, "dropped_packets": 0 }, "last_update_timestamp": 1457117071089 }
Required Permissions:
read
Feature:
aggregation_service_health_monitoring
Additional Errors:
404 Not Found
301 Moved Permanently
307 Temporary Redirect
400 Bad Request
403 Forbidden
409 Conflict
500 Internal Server Error
503 Service Unavailable