Resource Center/Network Resource/Hardware SDN Controller Operations
PUTHardware SDN Controller OperationsSince 5.4.0SynchronousAuth Required
ChangeSdnController
ChangeSdnController
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Path Parameters
Request Inputs
Path Parameters
uuidStringRequiredThe UUID of the SDN controller resource.
Body Fields
userNameStringOptional. New user name for the SDN controller.
passwordStringOptional. The new password for the SDN controller.
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
vlanRangesListRequiredNo description provided.
Responses
Endpoint
PUT/zstack/v1/sdn-controllers/{uuid}/actions
/zstack/v1/sdn-controllers/{uuid}/actions
Request Example
curl -X PUT 'http://{host}/zstack/v1/sdn-controllers/{uuid}/actions' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"userName":"<userName>","password":"<password>","systemTags":["<systemTags>"],"userTags":["<userTags>"],"vlanRanges":["<vlanRanges>"]}'
Response Example
200{ "inventory": { "uuid": "cd65a5af636038bf91f4e404ef9594b1", "vendorType": "H3C-VCFC", "name": "updated-sdn-controller", "description": "Updated SDN controller configuration", "ip": "192.168.1.100", "username": "admin", "password": "newpassword", "createDate": "Nov 14, 2017 10:20:57 PM", "lastOpDate": "Nov 14, 2017 10:20:57 PM" } }Change History
This API has no change history records yet.
