Resource Center/Network Resource/L3 Network Operations
POSTL3 Network OperationsSince 3.1.0SynchronousAuth Required
AddIpv6Range
AddIpv6Range
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Path Parameters
Request Inputs
Path Parameters
l3NetworkUuidStringRequiredThe L3 network UUID.
Body Fields
paramsObjectRequiredRequest body parameter object.
nameStringRequiredThe L3 network name.
descriptionStringThe detailed description of the L3 network.
startIpStringRequiredThe start IP address.
endIpStringRequiredThe end IP address.
gatewayStringRequiredThe gateway.
prefixLenIntegerRequiredThe prefix length.
addressModeStringRequiredThe allocation mode of the IPv6 address.
resourceUuidStringOptional. The resource UUID. If specified, the L3 network will use the specified value as UUID.
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
POST/zstack/v1/l3-networks/{l3NetworkUuid}/ipv6-ranges
/zstack/v1/l3-networks/{l3NetworkUuid}/ipv6-ranges
Request Example
curl -X POST 'http://{host}/zstack/v1/l3-networks/{l3NetworkUuid}/ipv6-ranges' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"params":{"name":"<name>","description":"<description>","startIp":"<startIp>","endIp":"<endIp>","gateway":"<gateway>","prefixLen":1,"addressMode":"<addressMode>","resourceUuid":"<resourceUuid>"},"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{ "inventory": { "l3NetworkUuid": "10d6128c8f473a63889597becc396bba", "name": "Test-IP-Range", "startIp": "2002:2001::02", "endIp": "2002:2001::FE", "netmask": "FFFF:FFFF:FFFF:FFFF:0:0:0:0", "prefixLen": "64" "gateway": "2002:2001::01" } }Change History
This API has no change history records yet.
