System Administration > Configuration > Fabric > Profiles > Host Transport Node Profiles

List Host Transport Nodes

Returns information about all host transport node profiles.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/host-transport-node-profiles
Request Headers:
n/a
Query Parameters:
ListRequestParameters+
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/policy/api/v1/infra/host-transport-node-profiles

Successful Response:

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

Example Response:

{ "sort_ascending": true, "sort_by": "displayName", "result_count": 2, "results": [ { "id": "849e339e-64b7-47cb-9480-33068f70dc5a", "display_name": "transport-node-profile-demo", "resource_type": "TransportNodeProfile", "host_switch_spec": { "resource_type": "StandardHostSwitchSpec", "host_switches": [ { "host_switch_profile_ids": [ { "value": "/infra/host-switch-profiles/e331116d-f59e-4004-8cfd-c577aefe563a", "key": "UplinkHostSwitchProfile" }, { "value": "/infra/host-switch-profiles/9e0b4d2d-d155-4b4b-8947-fbfe5b79f7cb", "key": "LldpHostSwitchProfile" } ], "host_switch_name": "nsxvswitch", "pnics": [ { "device_name": "vmnic1", "uplink_name": "uplink1" } ], "ip_assignment_spec": { "resource_type": "StaticIpPoolSpec", "ip_pool_id": "ecddcdde-4dc5-4026-ad4f-8857995d4c92" }, "vmk_install_migration": [ { "device_name": "vmk1", "destination_network": "849e339e-64b7-47cb-9480-33068f70dc5a" } ], "vmk_uninstall_migration": [ ], "transport_zone_endpoints": [ { "transport_zone_id": "/infra/sites/default/enforcement-points/default/transport-zones/e14c6b8a-9edd-489f-b624-f9ef12afbd8f", "transport_zone_profile_ids": [ { "profile_id": "/infra/transport-zone-profiles/52035bb3-ab02-4a08-9884-18631312e50a", "resource_type": "BfdHealthMonitoringProfile" } ] } ] } ] }, "_revision": 0, "_create_time": 1415876516683, "_create_user": "admin", "_last_modified_user": "admin", "_last_modified_time": 1415876516683 }, { "id": "a601679e-4f0f-4d96-85c3-094e468ae60e", "display_name": "transport-node-profile-demo-2", "resource_type": "TransportNodeProfile", "host_switch_spec": { "resource_type": "StandardHostSwitchSpec", "host_switches": [ { "host_switch_profile_ids": [ { "value": "/infra/host-switch-profiles/e331116d-f59e-4004-8cfd-c577aefe563a", "key": "UplinkHostSwitchProfile" }, { "value": "/infra/host-switch-profiles/9e0b4d2d-d155-4b4b-8947-fbfe5b79f7cb", "key": "LldpHostSwitchProfile" } ], "host_switch_name": "nsxvswitch", "pnics": [ { "device_name": "vmnic1", "uplink_name": "uplink1" } ], "ip_assignment_spec": { "resource_type": "StaticIpPoolSpec", "ip_pool_id": "ecddcdde-4dc5-4026-ad4f-8857995d4c92" }, "vmk_install_migration": [ { "device_name": "vmk1", "destination_network": "849e339e-64b7-47cb-9480-33068f70dc5a" } ], "vmk_uninstall_migration": [ ], "transport_zone_endpoints": [ { "transport_zone_id": "/infra/sites/default/enforcement-points/default/transport-zones/e14c6b8a-9edd-489f-b624-f9ef12afbd8f", "transport_zone_profile_ids": [ { "profile_id": "/infra/transport-zone-profiles/52035bb3-ab02-4a08-9884-18631312e50a", "resource_type": "BfdHealthMonitoringProfile" } ] } ] } ] }, "_revision": 0, "_create_time": 1415876516522, "_create_user": "admin", "_last_modified_user": "admin", "_last_modified_time": 1415876516522 } ] }

Required Permissions:

read

Feature:

nodes_transport_nodes

Additional Errors: