參數

參數名字 描述
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 Proxy to use within this subnet


Value:

Must be a number.

subnet[tftp_id]
選填

TFTP Proxy to use within this subnet


Value:

Must be a number.

subnet[dns_id]
選填

DNS Proxy to use within this subnet


Value:

Must be a number.