Params

Param Name Description
host
Required

Value:

Must be a Hash

host[name]
Required

Value:

Must be String

host[environment_id]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

requis si l'hôte est géré et la valeur n'est pas héritée d'un groupe d'hôtes


Value:

Must be String

host[ip]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

n'est pas requis si il s'agit d'un sous réseau avec proxy DHCP


Value:

Must be String

host[mac]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

requis pour les hôtes gérés qui sont des serveurs physiques, non requis pour les machines virtuelles


Value:

Must be String

host[architecture_id]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

requis si l'hôte est géré et la valeur n'est pas héritée d'un groupe d'hôtes


Value:

Must be a number.

host[domain_id]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

requis si l'hôte est géré et la valeur n'est pas héritée d'un groupe d'hôtes


Value:

Must be a number.

host[realm_id]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Value:

Must be a number.

host[puppet_proxy_id]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Value:

Must be a number.

host[puppet_class_ids]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Value:

Must be an array of any type

host[operatingsystem_id]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

requis si l'hôte est géré et la valeur n'est pas héritée d'un groupe d'hôtes


Value:

Must be String

host[medium_id]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

requis si le provisionnement n'est pas basé sur une image que l'hôte est géré et que la valeur n'est pas héritée d'un groupe d'hôtes


Value:

Must be String

host[ptable_id]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

requis si l'hôte est géré et possède une partition spécifique qui n'a pas été définie


Value:

Must be a number.

host[subnet_id]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

requis si l'hôte est géré et la valeur n'est pas héritée d'un groupe d'hôtes


Value:

Must be a number.

host[compute_resource_id]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

nil signifie que l'hôte est un serveur physique


Value:

Must be a number.

host[root_pass]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

requis si l'hôte est gérer et la valeur n'est pas héritée d'un groupe d'hôtes ou du mot de passe par défaut défini dans les paramètres généraux


Value:

Must be String

host[model_id]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Value:

Must be a number.

host[hostgroup_id]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Value:

Must be a number.

host[owner_id]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Value:

Must be a number.

host[owner_type]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Type de propriétaire de cet hôte


Value:

Must be one of: User, Usergroup.

host[puppet_ca_proxy_id]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Value:

Must be a number.

host[image_id]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Value:

Must be a number.

host[host_parameters_attributes]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Value:

Must be an array of any type

host[build]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Value:

Must be 'true' or 'false'

host[enabled]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Value:

Must be 'true' or 'false'

host[provision_method]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

The method used to provision the host. Possible provision_methods may be build (Basé sur le réseau), image (Depuis une image)


Value:

Must be String

host[managed]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Drapeau True/False pour déterminer si un hôte est géré ou non géré. Note : Cette valeur détermine aussi si certains paramètres sont obligatoires.


Value:

Must be 'true' or 'false'

host[progress_report_id]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

UUID pour surveiller l'état des tâches d'orchestration : GET /api/orchestration/:UUID/tasks


Value:

Must be String

host[comment]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Informations additionnelles sur cet hôte


Value:

Must be String

host[capabilities]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Value:

Must be String

host[compute_profile_id]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Value:

Must be a number.

host[interfaces_attributes]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Interfaces réseau de cet hôte


Value:

Must be an Array of nested elements

host[interfaces_attributes][mac]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Adresse MAC de l'interface. Requis pour les interfaces gérées des hôtes physiques.


Value:

Must be String

host[interfaces_attributes][ip]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Adresse IP de l'interface


Value:

Must be String

host[interfaces_attributes][type]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Type d'interface , p.e. bmc. Valeur par défaut interface


Value:

Must be one of: interface, bmc, bond, bridge.

host[interfaces_attributes][name]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Nom DNS de l'interface


Value:

Must be String

host[interfaces_attributes][subnet_id]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

ID du sous réseau Foreman de cette interface


Value:

Must be Fixnum

host[interfaces_attributes][domain_id]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Domaine ID Foreman de l'interface. Requis pour les interfaces primaires des hôtes gérés.


Value:

Must be Fixnum

host[interfaces_attributes][identifier]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Identifiant du périphérique. Ex : eth0 ou eth1.1


Value:

Must be String

host[interfaces_attributes][managed]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Est ce que cette interface est gérée par les smart proxies DHCP et DNS et doit être configurée pendant le provisionnement ?


Value:

Must be 'true' or 'false'

host[interfaces_attributes][primary]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Cette interface doit-elle être utilisée pour choisir le FQDN de l'hôte ? Chaque hôte géré doit avoir une interface primaire.


Value:

Must be 'true' or 'false'

host[interfaces_attributes][provision]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Cette interface doit-elle être utilisée pour les communications TFTP et PXE (ou SSH pour les images d'hôtes) ? Chaque hôte géré doit avoir une interface de provisionnement.


Value:

Must be 'true' or 'false'

host[interfaces_attributes][username]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Seulement pour les interfaces BMC.


Value:

Must be String

host[interfaces_attributes][password]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Seulement pour les interfaces BMC.


Value:

Must be String

host[interfaces_attributes][provider]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Fournisseur de l'interface. Ex. IPMI. Seulement pour les interfaces BMC.


Value:

Must be one of: IPMI.

host[interfaces_attributes][virtual]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Périphérique Alias ou VLAN


Value:

Must be 'true' or 'false'

host[interfaces_attributes][tag]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Tag VLAN. Cet attribut a précédence sur l'ID VLAN du sous réseau. Seulement pour les interfaces virtuelles.


Value:

Must be String

host[interfaces_attributes][attached_to]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Identifiant de l'interface auquel est rattachée cette interface. Ex. eth1. Seulement pour les interfaces virtuelles.


Value:

Must be String

host[interfaces_attributes][mode]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Mode d'agrégat de l'interface. Par ex. balance-rr. Seulement pour les interfaces bond.


Value:

Must be one of: balance-rr, active-backup, balance-xor, broadcast, 802.3ad, balance-tlb, balance-alb.

host[interfaces_attributes][attached_devices]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

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

host[interfaces_attributes][bond_options]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Options séparées par des espaces. Ex : miimon=100. Seulement pour les interfaces bond.


Value:

Must be String

host[interfaces_attributes][compute_attributes]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Autres attributs pour la ressource d'ordinateur spécifiques à cet interface.


Value:

Must be Hash

host[compute_attributes]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Autres attributs spécifiques de la ressource d'ordinateur.


Value:

Must be Hash