Resource Center/Hardware/Physical Network Operations
PUTPhysical Network OperationsSince 5.0.0SynchronousAuth Required
ChangeHostNetworkInterfaceLldpMode
ChangeHostNetworkInterfaceLldpMode
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
changehostnetworkinterfacelldpmodeObjectRequiredchangehostnetworkinterfacelldpmode request body object.
interfaceUuidListRequiredThe physical NIC port UUID.
modeStringOptional. The lldp mode.
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
PUT/zstack/v1/hostNetworkInterface/lldp/actions
/zstack/v1/hostNetworkInterface/lldp/actions
Request Example
curl -X PUT 'http://{host}/zstack/v1/hostNetworkInterface/lldp/actions' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"changehostnetworkinterfacelldpmode":{"interfaceUuid":["<interfaceUuid>"],"mode":"<mode>"},"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{ "inventories": [ { "interfaceUuid": "1cae08c11e8530a8bf892df7ef709249", "mode": "rx_only" } ] }Change History
This API has no change history records yet.
