参数

参数名字 描述
subnet
必填

Value:

Must be a Hash

subnet[name]
必填

子网名


Value:

Must be String

subnet[network]
必填

Subnet network


Value:

Must be String

subnet[mask]
必填

子网掩码


Value:

Must be String

subnet[gateway]
选填

Primary DNS for this subnet


Value:

Must be String

subnet[dns_primary]
选填

Primary DNS for this subnet


Value:

Must be String

subnet[dns_secondary]
选填

Secondary DNS for this subnet


Value:

Must be String

subnet[ipam]
选填

Enable IP Address auto suggestion for this subnet


Value:

Must be 'true' or 'false'

subnet[from]
选填

Starting IP Address for IP auto suggestion


Value:

Must be String

subnet[to]
选填

Ending IP Address for IP auto suggestion


Value:

Must be String

subnet[vlanid]
选填

VLAN ID for this subnet


Value:

Must be String

subnet[domain_ids]
选填

该部分子网的域名


Value:

Must be an array of any type

subnet[dhcp_id]
选填

本子网使用的DHCP代理


Value:

Must be a number.

subnet[tftp_id]
选填

TFTP Proxy to use within this subnet


Value:

Must be a number.

subnet[dns_id]
选填

本子网使用的域名代理


Value:

Must be a number.