NSX-T Data Center REST API

List Edge Transport Node under an Enforcement Point

List Edge Transport Nodes under an Enforcement Point
This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or VMware NSX.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/sites/{site-id}/enforcement-points/{enforcementpoint-id}/edge-transport-nodes
Request Headers:
n/a
Query Parameters:
PolicyEdgeTransportNodeListRequestParameters+
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/sites/default/enforcement-points/default/edge-transport-nodes

Successful Response:

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

Example Response:

{ "results": [ { "display_name": "Edge-TN", "description": "Admin!23Admin", "resource_type": "EdgeTransportNode", "id": "my-edge-tn-id", "unique_id": "3bc1e3b0-1cd4-4339-86c8-f76baddbaafb", // MP APIs Flow Support "failure_domain_path": "/infra/sites/default/enforcement-points/default/failure-domains/4fc1e3b0-1cd4-4339-86c8-f76baddbaafb", "deployment_type": "VIRTUAL_MACHINE", "form_factor": "SMALL", "tags": [], "hostname": "edge-hostname.com", "vm_deployment_config": { "placement_type": "VsphereDeploymentConfig", "vc_id": "8a54189e-c657-4ab3-9e30-412bb701e4a6", "compute_id": "`resgroup-10", "host_id": "host_id_value", "compute_folder_id": "compute_folder_id_value", "resource_pool_id": "resource_pool_id_value", "storage_id": "datastore-14", "reservation_info": {} }, "appliance_config": {}, "credentials": {}, "management_interface": {}, "switch_spec": { "switches": [ { "switch_name": "nsxHostSwitch", "switch_profile_paths": [ { "switch_profile_type": "UplinkHostSwitchProfile", "switch_profile_path": "/infra/host-switch-profiles/uplinkProfile1" } ], "overlay_transport_zone_paths": [ "/infra/sites/default/enforcement-points/default/transport-zones/overlay-tz1" ], "vlan_transport_zone_paths": [ "/infra/sites/default/enforcement-points/default/transport-zones/vlan-tz1", "/infra/sites/default/enforcement-points/default/transport-zones/vlan-tz2" ], "tunnel_endpoints": [ { "ipv6_assignment_spec": { "resource_type": "StaticIpV6PoolSpec", "ip_pool": "/infra/ip-pools/Ipv6-pool" }, "ipv4_assignment_spec": { "resource_type": "StaticIpPoolSpec", "ip_pool": "/infra/ip-pools/Ipv4-pool" } } ], "remote_tunnel_endpoint": { "named_teaming_policy": "named_teaming_policy_name", "ipv4_assignment_spec": { "ip_pool": "/infra/ip-pools/rtep-Ipv4-pool", "resource_type": "StaticIpPoolSpec" }, "vlan": 500, }, "pnics": [ { "device_name": "fb-eth0", "datapath_network_id": "dvportgroup-59", "uplink_name": "uplink-1", "vif_attachment_path": null } ] } ] } } ], "result_count": 1, "sort_by": "display_name", "sort_ascending": true }

Required Permissions:

read

Feature:

nodes_transport_nodes

Additional Errors: