Resource Center/Network Resource/Hardware SDN Controller Operations
POSTHardware SDN Controller OperationsSince 5.4.0SynchronousAuth Required
CreateHuaweiIMasterVRouter
CreateHuaweiIMasterVRouter
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
paramsObjectRequiredRequest body parameter object.
nameStringRequiredThe resource name.
descriptionStringOptional. The detailed description of the resource.
huaweiVpcUuidStringRequiredNo description provided.
resourceUuidStringOptional. The resource UUID.
tagUuidsListOptional. The tag UUID list.
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
POST/zstack/v1/sdn-controller/huawei-imaster/vrouters
/zstack/v1/sdn-controller/huawei-imaster/vrouters
Request Example
curl -X POST 'http://{host}/zstack/v1/sdn-controller/huawei-imaster/vrouters' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"params":{"name":"<name>","description":"<description>","huaweiVpcUuid":"<huaweiVpcUuid>","resourceUuid":"<resourceUuid>","tagUuids":["<tagUuids>"]},"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{ "inventory": { "uuid": "5a7236affa1f34d7908972b14956b18b", "name": "test-vrouter", "description": "Test VRouter for Huawei iMaster", "logicalNetworkId": "605a782332663c769f1845ac76efc526", "tenantId": "3350497bb7393700b77bc28d625468d8", "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.
