参数名字 | 描述 |
---|---|
id 必填 |
Subnet numeric identifier Value: Must be a number. |
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] 选填 , 允许空值 |
IP Address auto suggestion mode for this subnet, valid values are “DHCP”, “Internal DB”, “None” Value: Must be String |
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. |
subnet[boot_mode] 选填 , 允许空值 |
Default boot mode for interfaces assigned to this subnet, valid values are “Static”, “DHCP” Value: Must be String |