參數名字 | 描述 |
---|---|
id 必填 |
Validations:
|
host 必填 |
Validations:
|
host[name] 選填 |
Validations:
|
host[location_id] 選填 |
required if locations are enabled Validations:
|
host[organization_id] 選填 |
required if organizations are enabled Validations:
|
host[environment_id] 選填 , 允許空值 |
required if host is managed and value is not inherited from host group Validations:
|
host[ip] 選填 , 允許空值 |
若是使用一個含有 DHCP 協定的子網路則不需要 Validations:
|
host[mac] 選填 , 允許空值 |
required for managed host that is bare metal, not required if it's a virtual machine Validations:
|
host[architecture_id] 選填 , 允許空值 |
required if host is managed and value is not inherited from host group Validations:
|
host[domain_id] 選填 , 允許空值 |
required if host is managed and value is not inherited from host group Validations:
|
host[realm_id] 選填 , 允許空值 |
Validations:
|
host[puppet_proxy_id] 選填 , 允許空值 |
Validations:
|
host[puppetclass_ids] 選填 , 允許空值 |
Validations:
|
host[operatingsystem_id] 選填 , 允許空值 |
required if host is managed and value is not inherited from host group Validations:
|
host[medium_id] 選填 , 允許空值 |
required if not imaged based provisioning and host is managed and value is not inherited from host group Validations:
|
host[ptable_id] 選填 , 允許空值 |
required if host is managed and custom partition has not been defined Validations:
|
host[subnet_id] 選填 , 允許空值 |
required if host is managed and value is not inherited from host group Validations:
|
host[compute_resource_id] 選填 , 允許空值 |
nil means host is bare metal Validations:
|
host[root_pass] 選填 , 允許空值 |
required if host is managed and value is not inherited from host group or default password in settings Validations:
|
host[model_id] 選填 , 允許空值 |
Validations:
|
host[hostgroup_id] 選填 , 允許空值 |
Validations:
|
host[owner_id] 選填 , 允許空值 |
Validations:
|
host[owner_type] 選填 , 允許空值 |
Host's owner type Validations:
|
host[puppet_ca_proxy_id] 選填 , 允許空值 |
Validations:
|
host[image_id] 選填 , 允許空值 |
Validations:
|
host[host_parameters_attributes] 選填 , 允許空值 |
Host's parameters (array or indexed hash) Validations:
|
host[host_parameters_attributes][name] 選填 |
Name of the parameter Validations:
|
host[host_parameters_attributes][value] 選填 |
Parameter value Validations:
|
host[build] 選填 , 允許空值 |
Validations:
|
host[enabled] 選填 , 允許空值 |
Validations:
|
host[provision_method] 選填 , 允許空值 |
The method used to provision the host. Possible provision_methods may be build (基於網路), image (基於映像檔) Validations:
|
host[managed] 選填 , 允許空值 |
True/False flag whether a host is managed or unmanaged. Note: this value also determines whether several parameters are required or not Validations:
|
host[progress_report_id] 選填 , 允許空值 |
用來追蹤協調流程任務狀態的 UUID,GET /api/orchestration/:UUID/tasks Validations:
|
host[comment] 選填 , 允許空值 |
有關於這部主機的額外資訊 Validations:
|
host[capabilities] 選填 , 允許空值 |
Validations:
|
host[compute_profile_id] 選填 , 允許空值 |
Validations:
|
host[interfaces_attributes] 選填 , 允許空值 |
Host's network interfaces. Validations:
|
host[interfaces_attributes][mac] 選填 , 允許空值 |
MAC address of interface. Required for managed interfaces on bare metal. Validations:
|
host[interfaces_attributes][ip] 選填 , 允許空值 |
IP address of interface Validations:
|
host[interfaces_attributes][type] 選填 , 允許空值 |
Interface type, e.g. bmc. Default is interface Validations:
|
host[interfaces_attributes][name] 選填 , 允許空值 |
Interface's DNS name Validations:
|
host[interfaces_attributes][subnet_id] 選填 , 允許空值 |
Foreman subnet ID of interface Validations:
|
host[interfaces_attributes][domain_id] 選填 , 允許空值 |
Foreman domain ID of interface. Required for primary interfaces on managed hosts. Validations:
|
host[interfaces_attributes][identifier] 選填 , 允許空值 |
Device identifier, e.g. eth0 or eth1.1 Validations:
|
host[interfaces_attributes][managed] 選填 , 允許空值 |
Should this interface be managed via DHCP and DNS smart proxy and should it be configured during provisioning? Validations:
|
host[interfaces_attributes][primary] 選填 , 允許空值 |
Should this interface be used for constructing the FQDN of the host? Each managed hosts needs to have one primary interface. Validations:
|
host[interfaces_attributes][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. Validations:
|
host[interfaces_attributes][username] 選填 , 允許空值 |
Only for BMC interfaces. Validations:
|
host[interfaces_attributes][password] 選填 , 允許空值 |
Only for BMC interfaces. Validations:
|
host[interfaces_attributes][provider] 選填 , 允許空值 |
Interface provider, e.g. IPMI. Only for BMC interfaces. Validations:
|
host[interfaces_attributes][virtual] 選填 , 允許空值 |
Alias or VLAN device Validations:
|
host[interfaces_attributes][tag] 選填 , 允許空值 |
VLAN tag, this attribute has precedence over the subnet VLAN ID. Only for virtual interfaces. Validations:
|
host[interfaces_attributes][attached_to] 選填 , 允許空值 |
Identifier of the interface to which this interface belongs, e.g. eth1. Only for virtual interfaces. Validations:
|
host[interfaces_attributes][mode] 選填 , 允許空值 |
Bond mode of the interface, e.g. balance-rr. Only for bond interfaces. Validations:
|
host[interfaces_attributes][attached_devices] 選填 , 允許空值 |
Identifiers of attached interfaces, e.g. `['eth1', 'eth2']`. For bond interfaces those are the slaves. Only for bond and bridges interfaces. Validations:
|
host[interfaces_attributes][bond_options] 選填 , 允許空值 |
Space separated options, e.g. miimon=100. Only for bond interfaces. Validations:
|
host[interfaces_attributes][compute_attributes] 選填 , 允許空值 |
Additional compute resource specific attributes for the interface. Validations:
|
host[compute_attributes] 選填 , 允許空值 |
Additional compute resource specific attributes. Validations:
|