System Administration > Configuration > Fabric > Profiles > Hostswitch Profiles

Update a Hostswitch Profile (Deprecated)

Modifies a specified hostswitch profile. The body of the PUT request must
include the resource_type. For uplink profiles, the put request must also
include teaming parameters. Modifiable attributes include display_name, mtu,
and transport_vlan. For uplink teaming policies, uplink_name and policy are
also modifiable.
This api is now deprecated. Please use new api -
PATCH policy/api/v1/infra/host-switch-profiles/uplinkProfile1

Request:

Method:
PUT
URI Path(s):
/api/v1/host-switch-profiles/<host-switch-profile-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
ExtraConfigHostSwitchProfile+
LldpHostSwitchProfile+
NiocProfile+
UplinkHostSwitchProfile+

Example Request:

PUT https://<nsx-mgr>/api/v1/host-switch-profiles/fe3e8766-383c-42fc-bfa9-aa7d193c89d9 { "resource_type": "UplinkHostSwitchProfile", "display_name": "uplinkProfile2", "mtu": 1500, "teaming": { "standby_list": [ { "uplink_name": "uplink2", "uplink_type": "PNIC" } ], "active_list": [ { "uplink_name": "uplink3", "uplink_type": "PNIC" } ], "policy": "FAILOVER_ORDER" }, "transport_vlan": 500, "_revision": 0 }

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
ExtraConfigHostSwitchProfile+
LldpHostSwitchProfile+
NiocProfile+
UplinkHostSwitchProfile+

Example Response:

{ "resource_type": "UplinkHostSwitchProfile", "id": "fe3e8766-383c-42fc-bfa9-aa7d193c89d9", "display_name": "uplinkProfile2", "mtu": 1500, "teaming": { "standby_list": [ { "uplink_name": "uplink2", "uplink_type": "PNIC" } ], "active_list": [ { "uplink_name": "uplink3", "uplink_type": "PNIC" } ], "policy": "FAILOVER_ORDER" }, "transport_vlan": 500, "_last_modified_time": 1414439262689, "_create_time": 1414438923426, "_create_user": "admin", "_last_modified_user": "admin", "_revision": 1 }

Required Permissions:

crud

Feature:

profiles_host_switch_profiles

Additional Errors: