Policy > Networking > Connectivity > Segment > Tep Table

Get infra segment TEP table

Returns TEP table for a segment

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/segments/<segment-id>/tep-table
Request Headers:
n/a
Query Parameters:
PolicyListL2TablesParameters+
Request Body:
n/a

Example Request:

https://{{nsx-mgr}}/policy/api/v1/infra/segments/TIER1_DOWNLINK_SWITCH/tep-table?source=realtime

Successful Response:

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

Example Response:

{ "last_update_timestamp": 1591745956155, "results": [ { "tep_label": 55298, "tep_ip": "100.100.100.3", "tep_mac_address": "00:50:56:6a:af:ce" } ], "result_count": 1, "sort_by": "display_name", "sort_ascending": true }

Required Permissions:

read

Feature:

policy_statistics

Additional Errors: