Resource Center/Network Resource/L2 Network Operations
POSTL2 Network OperationsSince 3.7SynchronousAuth Required
CreateL2HardwareVxlanNetworkPool
CreateL2HardwareVxlanNetworkPool
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.
sdnControllerUuidStringRequiredThe SDN controller UUID.
nameStringRequiredThe resource name.
descriptionStringOptional. The detailed description of the resource.
zoneUuidStringRequiredThe zone UUID.
physicalInterfaceStringRequiredThe physical interface.
typeStringOptional. The resource type.
resourceUuidStringOptional. The resource UUID.
tagUuidsListOptional. The user tags list.
vSwitchTypeStringOptional. The type of the vSwitch.
isolatedBooleanOptional.
pvlanStringOptional.
startVlanIntegerOptional.
endVlanIntegerOptional.
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
POST/zstack/v1/l2-networks/hardware-vxlan-pool
/zstack/v1/l2-networks/hardware-vxlan-pool
Request Example
curl -X POST 'http://{host}/zstack/v1/l2-networks/hardware-vxlan-pool' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"params":{"sdnControllerUuid":"<sdnControllerUuid>","name":"<name>","description":"<description>","zoneUuid":"<zoneUuid>","physicalInterface":"<physicalInterface>","type":"<type>","resourceUuid":"<resourceUuid>","tagUuids":["<tagUuids>"],"vSwitchType":"<vSwitchType>","isolated":true,"pvlan":"<pvlan>","startVlan":1,"endVlan":1},"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{ "inventory": { "sdnControllerUuid": "359216656f7f3f8681b76e52a0f11429", "name": "Test-NetPool", "description": "Test", "zoneUuid": "7d07d7a4ebfa340da32ac686f77edd4e", "type": "HardwareVxlanNetworkPool" } }Change History
This API has no change history records yet.
