AddIpRangeByNetworkCidr

Adds an IP range by specifying a network CIDR. For example,
AddIpRangeByNetworkCidr name=L3Network-1 l3NetworkUuid=ba076991c0f740be84ab7e9646dcfd56 \
networkCidr=10.128.33.1/24

Parameters

Name Description Optional Valid Value Starting Version
name The L3 network name. 0.6
description The detailed description of the L3 network. Yes 0.6
l3NetworkUuid The L3 network UUID. 0.6
networkCidr The network CIDR. 0.6
gateway The gateway. Yes 3.7.0
ipRangeType The IP range type. Yes
  • Normal
  • AddressPool
3.9.0
resourceUuid The resource UUID. If specified, the L3 network will use the specified value as UUID. Yes 0.6
userTags The user tags. For more information, see CreateUserTag. The resource type is L3NetworkVO. Yes 0.6
systemTags The system tags. For more information, see CreateSystemTag. The resource type is L3NetworkVO. Yes 0.6
timeout Yes
Note:
  • When you add an IP range by specifying a network CIDR in ZStack Cloud, you can specify the DHCP server address by adding the affinityGroup option to SystemTags.
    • Format of the affinityGroup option: flatNetwork::DhcpServer::{%s}::ipUuid::{%s}
    • Example: flatNetwork::DhcpServer::192.168.1.100::ipUuid::null