Parámetros

Nombre del parámetro Descripción
id
requerido

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

host
requerido

Validations:

  • Must be a Hash

host[name]
opcional

Validations:

  • Must be String

host[environment_id]
opcional , nil permitido

obligatorio si los hosts están gestionados y el valor no se ha hereado de un grupo de hosts

Validations:

  • Must be String

host[ip]
opcional , nil permitido

no es necesario si estás usando una subred con un proxy DHCP

Validations:

  • Must be String

host[mac]
opcional , nil permitido

obligatorio para hosts bare metal gestionados, opcional para máquinas virtuales

Validations:

  • Must be String

host[architecture_id]
opcional , nil permitido

obligatorio si los hosts están gestionados y el valor no se ha hereado de un grupo de hosts

Validations:

  • Must be a number.

host[domain_id]
opcional , nil permitido

obligatorio si los hosts están gestionados y el valor no se ha hereado de un grupo de hosts

Validations:

  • Must be a number.

host[realm_id]
opcional , nil permitido

Validations:

  • Must be a number.

host[puppet_proxy_id]
opcional , nil permitido

Validations:

  • Must be a number.

host[puppetclass_ids]
opcional , nil permitido

Validations:

  • Must be an array of any type

host[operatingsystem_id]
opcional , nil permitido

obligatorio si los hosts están gestionados y el valor no se ha hereado de un grupo de hosts

Validations:

  • Must be String

host[medium_id]
opcional , nil permitido

obligatorio si la provisión no está basada en imágenes y el host está gestionado y el valor no se hereda de un grupo de hosts

Validations:

  • Must be String

host[ptable_id]
opcional , nil permitido

obligatorio si el host está gestionado y no se han definido particiones personalizadas

Validations:

  • Must be a number.

host[subnet_id]
opcional , nil permitido

obligatorio si los hosts están gestionados y el valor no se ha hereado de un grupo de hosts

Validations:

  • Must be a number.

host[compute_resource_id]
opcional , nil permitido

nil implica que el host es bare metal

Validations:

  • Must be a number.

host[root_pass]
opcional , nil permitido

obligatorio si el host está gestionado y el valor no se hereda de un grupo de hosts o passwords por defecto en la configuración

Validations:

  • Must be String

host[model_id]
opcional , nil permitido

Validations:

  • Must be a number.

host[hostgroup_id]
opcional , nil permitido

Validations:

  • Must be a number.

host[owner_id]
opcional , nil permitido

Validations:

  • Must be a number.

host[owner_type]
opcional , nil permitido

Tipo de dueño del host

Validations:

  • Must be one of: User, Usergroup.

host[puppet_ca_proxy_id]
opcional , nil permitido

Validations:

  • Must be a number.

host[image_id]
opcional , nil permitido

Validations:

  • Must be a number.

host[host_parameters_attributes]
opcional , nil permitido

Host's parameters (array or indexed hash)

Validations:

  • Must be an Array of nested elements

host[host_parameters_attributes][name]
opcional

Name of the parameter

Validations:

  • Must be String

host[host_parameters_attributes][value]
opcional

Parameter value

Validations:

  • Must be String

host[build]
opcional , nil permitido

Validations:

  • Must be ‘true’ or ‘false’ or ‘1’ or ‘0’

host[enabled]
opcional , nil permitido

Validations:

  • Must be ‘true’ or ‘false’ or ‘1’ or ‘0’

host[provision_method]
opcional , nil permitido

The method used to provision the host. Possible provision_methods may be build (Basado en Red), image (Basado en Imagen)

Validations:

  • Must be String

host[managed]
opcional , nil permitido

Bandera Verdadero/Falso indicando si el host está gestionado o no. Nota: este valor también determina si ciertos parámetros son obligatorios.

Validations:

  • Must be ‘true’ or ‘false’ or ‘1’ or ‘0’

host[progress_report_id]
opcional , nil permitido

UUID para seguir el estado de la tarea de orquestación, GET /api/orchestration/:UUID/tasks

Validations:

  • Must be String

host[comment]
opcional , nil permitido

Información adicional sobre este equipo

Validations:

  • Must be String

host[capabilities]
opcional , nil permitido

Validations:

  • Must be String

host[compute_profile_id]
opcional , nil permitido

Validations:

  • Must be a number.

host[interfaces_attributes]
opcional , nil permitido

Interfaces de red del host.

Validations:

  • Must be an Array of nested elements

host[interfaces_attributes][mac]
opcional , nil permitido

Dirección MAC del interfaz. Requisito para interfaces gestionados en bare-metal.

Validations:

  • Must be String

host[interfaces_attributes][ip]
opcional , nil permitido

Dirección IP del interfaz

Validations:

  • Must be String

host[interfaces_attributes][type]
opcional , nil permitido

Tipo de interfaz, p. ej. bmc. Por defecto interface

Validations:

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

host[interfaces_attributes][name]
opcional , nil permitido

Nombre DNS del interfaz

Validations:

  • Must be String

host[interfaces_attributes][subnet_id]
opcional , nil permitido

ID de la subred de la interfaz

Validations:

  • Must be Fixnum

host[interfaces_attributes][domain_id]
opcional , nil permitido

ID de Foreman de dominio del interfaz. Obligatorio para interfaces primarios en los hosts gestionados.

Validations:

  • Must be Fixnum

host[interfaces_attributes][identifier]
opcional , nil permitido

Identificador de dispositivo, p.ej. eth0 o eth1.1

Validations:

  • Must be String

host[interfaces_attributes][managed]
opcional , nil permitido

¿Debería gestionarse este interfaz por proxy inteligente DHCP y DNS y debería configurarse en la provisión?

Validations:

  • Must be ‘true’ or ‘false’ or ‘1’ or ‘0’

host[interfaces_attributes][primary]
opcional , nil permitido

¿Debería usarse este interfaz para construir el FQDN del host? Cada host gestionado necesita tener un interfaz primario.

Validations:

  • Must be ‘true’ or ‘false’ or ‘1’ or ‘0’

host[interfaces_attributes][provision]
opcional , nil permitido

¿Debería usarse este interfaz para TFTP o PXELinux (o SSH para hosts definidos por imagen)? Cada host gestionado necesita tener un interfaz de provisión.

Validations:

  • Must be ‘true’ or ‘false’ or ‘1’ or ‘0’

host[interfaces_attributes][username]
opcional , nil permitido

Sólo para interfaces BMC.

Validations:

  • Must be String

host[interfaces_attributes][password]
opcional , nil permitido

Sólo para interfaces BMC.

Validations:

  • Must be String

host[interfaces_attributes][provider]
opcional , nil permitido

Proveedor del interfaz, p.ej. IPMI. Sólo para interfaces BMC.

Validations:

  • Must be one of: IPMI.

host[interfaces_attributes][virtual]
opcional , nil permitido

Dispositivo VLAN o alias

Validations:

  • Must be ‘true’ or ‘false’ or ‘1’ or ‘0’

host[interfaces_attributes][tag]
opcional , nil permitido

Etiqueta VLAN, este atributo tiene precedencia sobre la ID de subred VLAN. Sólo para interfaces virtuales.

Validations:

  • Must be String

host[interfaces_attributes][attached_to]
opcional , nil permitido

Identificador del interfaz al que pertenece este interfaz, p.ej. eth1. Sólo para interfaces virtuales.

Validations:

  • Must be String

host[interfaces_attributes][mode]
opcional , nil permitido

Modo de bonding tdel interfaz, p.ej. balance-rr. Solo para interfaces bond.

Validations:

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

host[interfaces_attributes][attached_devices]
opcional , nil permitido

Identifiers of attached interfaces, e.g. `['eth1', 'eth2']`. For bond interfaces those are the slaves. Only for bond and bridges interfaces.

Validations:

  • Must be an array of any type

host[interfaces_attributes][bond_options]
opcional , nil permitido

Opciones separadas por espacios, p.ej miimon=100. Solo para interfaces bond.

Validations:

  • Must be String

host[interfaces_attributes][compute_attributes]
opcional , nil permitido

Atributos específicos suplementarios de recursos de cómputo para el interfaz.

Validations:

  • Must be Hash

host[compute_attributes]
opcional , nil permitido

Atributos adicionales específicos de recursos de cómputo.

Validations:

  • Must be Hash