Management Plane API > Networking > Logical Switching > Logical Switches

Get virtual tunnel endpoint table for logical switch of the given ID (lswitch-id)

Returns virtual tunnel endpoint table of a specified logical switch in
CSV format from the given transport node if a transport node id is
given in the query parameter from the Central Controller Plane.
The query parameter "source=cached" is not supported.

Request:

Method:
GET
URI Path(s):
/api/v1/logical-switches/<lswitch-id>/vtep-table?format=csv
Request Headers:
n/a
Query Parameters:
TransportNodeIdParameters+
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/api/v1/logical-switches/<lswitch-id>/vtep-table?format=csv&source=realtime

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: text/csv
Response Body:
VtepCsvListResult+

Example Response:

vtep_label,vtep_ip,vtep_mac_address,segment_id 10241,159.213.45.33,00:50:56:6b:e9:b5,159.213.45.0 57345,159.213.45.35,04:00:9f:d5:2d:23,159.213.45.0

Required Permissions:

read

Feature:

aggregation_service_health_monitoring

Additional Errors: