System Administration > Configuration > Fabric > Profiles > Hostswitch Profiles

Get a Hostswitch Profile by ID

Returns information about a specified hostswitch profile.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/host-switch-profiles/<host-switch-profile-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/host-switch-profiles/uplinkProfile1

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
PolicyExtraConfigHostSwitchProfile+
PolicyLldpHostSwitchProfile+
PolicyNiocProfile+
PolicyUplinkHostSwitchProfile+

Example Response:

{ "lags": [ { "name": "lag1", "id": "45412", "mode": "ACTIVE", "load_balance_algorithm": "SRCMAC", "number_of_uplinks": 2, "uplinks": [ { "uplink_name": "lag1-0", "uplink_type": "PNIC" }, { "uplink_name": "lag1-1", "uplink_type": "PNIC" } ], "timeout_type": "FAST" } ], "teaming": { "policy": "LOADBALANCE_SRC_MAC", "active_list": [ { "uplink_name": "lag1", "uplink_type": "LAG" } ] }, "transport_vlan": 19, "overlay_encap": "GENEVE", "resource_type": "UplinkHostSwitchProfile", "id": "uplinkProfile1", "display_name": "CustomLagProfile-LOADBALANCE_SRC_MAC", "path": "/infra/host-switch-profiles/uplinkProfile1", "relative_path": "uplinkProfile1", "parent_path": "/infra", "unique_id": "7917d0ba-4388-4f3f-921f-94d09959007a", "marked_for_delete": false, "overridden": false, "_create_user": "unknown", "_create_time": 1612407975428, "_last_modified_user": "unknown", "_last_modified_time": 1612407975428, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 }

Required Permissions:

read

Feature:

profiles_host_switch_profiles

Additional Errors: