AddIpRange
Adds an IP range. For
example,
AddIpRange name=L3Network-1 l3NetworkUuid=ba076991c0f740be84ab7e9646dcfd56
startIp=10.128.33.10 endIp=10.128.33.20 netmask=255.0.0.0 gateway=10.0.0.1
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 | ||
startIp | The start IP address. | 0.6 | ||
endIp | The end IP address. | 0.6 | ||
gateway | The gateway. | 0.6 | ||
ipRangeType | The IP range type. | Yes |
|
3.9.0 |
netmask | The netmask. | 0.6 | ||
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 |

- When you add an IP range in ZStack Cloud, you can specify the DHCP server address
by adding the DhcpServer option to SystemTags.
- Format of the DhcpServer option:
flatNetwork::DhcpServer::{%s}::ipUuid::{%s}
- Example:
flatNetwork::DhcpServer::192.168.1.100::ipUuid::null
- Format of the DhcpServer option: