參數名字 | 描述 |
---|---|
host_id 必填 |
ID or name of host Value: Must be String |
interface 必填 |
interface information Value: Must be a Hash |
interface[mac] 選填 , 允許空值 |
MAC address of interface. Required for managed interfaces on bare metal. Value: Must be String |
interface[ip] 選填 , 允許空值 |
IP address of interface Value: Must be String |
interface[type] 選填 , 允許空值 |
Interface type, e.g. bmc. Default is interface Value: Must be one of: interface, bmc, bond, bridge. |
interface[name] 選填 , 允許空值 |
Interface's DNS name Value: Must be String |
interface[subnet_id] 選填 , 允許空值 |
Foreman subnet ID of interface Value: Must be Fixnum |
interface[domain_id] 選填 , 允許空值 |
Foreman domain ID of interface. Required for primary interfaces on managed hosts. Value: Must be Fixnum |
interface[identifier] 選填 , 允許空值 |
Device identifier, e.g. eth0 or eth1.1 Value: Must be String |
interface[managed] 選填 , 允許空值 |
Should this interface be managed via DHCP and DNS smart proxy and should it be configured during provisioning? Value: Must be 'true' or 'false' |
interface[primary] 選填 , 允許空值 |
Should this interface be used for constructing the FQDN of the host? Each managed hosts needs to have one primary interface. Value: Must be 'true' or 'false' |
interface[provision] 選填 , 允許空值 |
Should this interface be used for TFTP of PXELinux (or SSH for image-based hosts)? Each managed hosts needs to have one provision interface. Value: Must be 'true' or 'false' |
interface[username] 選填 , 允許空值 |
Only for BMC interfaces. Value: Must be String |
interface[password] 選填 , 允許空值 |
Only for BMC interfaces. Value: Must be String |
interface[provider] 選填 , 允許空值 |
Interface provider, e.g. IPMI. Only for BMC interfaces. Value: Must be one of: IPMI. |
interface[virtual] 選填 , 允許空值 |
Alias or VLAN device Value: Must be 'true' or 'false' |
interface[tag] 選填 , 允許空值 |
VLAN tag, this attribute has precedence over the subnet VLAN ID. Only for virtual interfaces. Value: Must be String |
interface[attached_to] 選填 , 允許空值 |
Identifier of the interface to which this interface belongs, e.g. eth1. Only for virtual interfaces. Value: Must be String |
interface[mode] 選填 , 允許空值 |
Bond mode of the interface, e.g. balance-rr. Only for bond interfaces. Value: Must be one of: balance-rr, active-backup, balance-xor, broadcast, 802.3ad, balance-tlb, balance-alb. |
interface[attached_devices] 選填 , 允許空值 |
Identifiers of attached interfaces, e.g. `['eth1', 'eth2']`. For bond interfaces those are the slaves. Only for bond and bridges interfaces. Value: Must be an array of any type |
interface[bond_options] 選填 , 允許空值 |
Space separated options, e.g. miimon=100. Only for bond interfaces. Value: Must be String |
interface[compute_attributes] 選填 , 允許空值 |
Additional compute resource specific attributes for the interface. Value: Must be Hash |