System Administration > Configuration > Fabric > Profiles > Hostswitch Profiles

List Hostswitch Profiles (Deprecated)

Returns information about the configured hostswitch profiles. Hostswitch
profiles define networking policies for hostswitches (sometimes referred to
as bridges in OVS). Currently, only uplink teaming is supported. Uplink
teaming allows NSX to load balance traffic across different physical NICs
(PNICs) on the hypervisor hosts. Multiple teaming policies are supported,
including LACP active, LACP passive, load balancing based on source ID, and
failover order. This api is now deprecated. Please use new api -
policy/api/v1/infra/host-switch-profiles

Request:

Method:
GET
URI Path(s):
/api/v1/host-switch-profiles
Request Headers:
n/a
Query Parameters:
HostSwitchProfileListParameters+
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/api/v1/host-switch-profiles

Successful Response:

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

Example Response:

{ "result_count" : 2, "results" : [ { "resource_type" : "LldpHostSwitchProfile", "id" : "9e0b4d2d-d155-4b4b-8947-fbfe5b79f7cb", "display_name" : "LLDP [Send Packet Disabled]", "resource_type" : "LldpHostSwitchProfile", "send_enabled" : false, "_last_modified_user" : "system", "_last_modified_time" : 1433451663106, "_create_time" : 1433451663106, "_system_owned" : true, "_create_user" : "system", "_revision" : 0 }, { "resource_type" : "UplinkHostSwitchProfile", "id" : "4228a9e1-982c-4753-b386-44b9e3b42ca0", "display_name" : "uplinkProfile1", "resource_type" : "UplinkHostSwitchProfile", "mtu" : 1600, "teaming" : { "standby_list" : [ { "uplink_name" : "uplink2", "uplink_type" : "PNIC" } ], "active_list" : [ { "uplink_name" : "uplink1", "uplink_type" : "PNIC" } ], "policy" : "FAILOVER_ORDER" }, "transport_vlan" : 0, "_last_modified_user" : "admin", "_last_modified_time" : 1433452542652, "_create_time" : 1433452542652, "_create_user" : "admin", "_revision" : 0 } ] }

Required Permissions:

read

Feature:

profiles_host_switch_profiles

Additional Errors: