GET /api/hosts
Lista wszystkich hostów

GET /api/hostgroups/:hostgroup_id/hosts
Lista wszystkich hostów dla danej grupy

GET /api/locations/:location_id/hosts
Lista hostów na lokalizację

GET /api/organizations/:organization_id/hosts
Lista hostów na organizację

GET /api/environments/:environment_id/hosts
Lista hostów na środowisko

Parametry

Nazwa parametru Opis
thin
opcjonalny

Only list ID and name of hosts

Validations:

  • Must be one of: true, false, 1, 0.

hostgroup_id
opcjonalny

ID grupy hostów

Validations:

  • String

location_id
opcjonalny

ID lokalizacji

Validations:

  • String

organization_id
opcjonalny

ID organizacji

Validations:

  • String

environment_id
opcjonalny

ID środowiska

Validations:

  • String

include
opcjonalny

Array of extra information types to include

Validations:

  • Must be one of: parameters, all_parameters.

search
opcjonalny

rezultat filtrowania

Validations:

  • String

order
opcjonalny

Sort field and order, eg. ‘id DESC’

Validations:

  • String

page
opcjonalny

rezultat paginacji

Validations:

  • String

per_page
opcjonalny

Liczba wpisów na jedno żądanie

Validations:

  • String

Search fields

Field name Typ Possible values
activation_key string
activation_key_id string
addon text
addons_status mismatched, matched, not_specified
applicable_errata string
applicable_rpms string
architecture string
autoheal boolean
available_module_stream_name string
available_module_stream_stream string
build true, false
class string
comment text
compute_resource string
compute_resource_id integer
config_group string
content_source string
content_view string
content_view_id integer
domain string
domain_id integer
environment string
errata_status security_needed, errata_needed, updated, unknown
facts string
global_status ok, warning, error
has_ip string
has_mac string
host_collection string
host_collection_id integer
hostgroup string
hostgroup_fullname string
hostgroup_id integer
hostgroup_name string
hostgroup_title string
hypervisor true, false
hypervisor_host string
image string
installable_errata string
installed_at datetime
installed_package string
installed_package_name string
ip string
last_checkin datetime
last_report datetime
lifecycle_environment string
lifecycle_environment_id integer
location string
location_id integer
mac string
managed true, false
model string
name string
organization string
organization_id integer
origin string
os string
os_description string
os_id integer
os_major string
os_minor string
os_title string
owner string
owner_id integer
owner_type string
params string
parent_hostgroup string
puppet_ca string
puppet_proxy_id integer
puppetmaster string
purpose_status mismatched, matched, not_specified
realm string
realm_id integer
registered_at datetime
registered_through string
release_version string
role text
role_status mismatched, matched, not_specified
service_level string
sla_status mismatched, matched, not_specified
smart_proxy string
status.applied integer
status.enabled true, false
status.failed integer
status.failed_restarts integer
status.interesting true, false
status.pending integer
status.restarted integer
status.skipped integer
subnet string
subnet.name text
subnet6 string
subnet6.name text
subscription_id string
subscription_name string
subscription_status valid, partial, invalid, unknown, unsubscribed_hypervisor
subscription_uuid string
trace_app string
trace_app_type string
trace_helper string
trace_status reboot_needed, process_restart_needed, updated
upgradable_rpms string
usage text
usage_status mismatched, matched, not_specified
user.firstname string
user.lastname string
user.login string
user.mail string
usergroup string
usergroup.name string
uuid string

GET /api/hosts/:id
Pokaż host

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Zakres w zależności od lokalizacji

Validations:

  • Integer

organization_id
opcjonalny

Zakres w zależności od organizacji

Validations:

  • Integer

id
wymagany

Validations:

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

show_hidden_parameters
opcjonalny

Display hidden parameter values

Validations:

  • Must be one of: true, false, 1, 0.


POST /api/hosts
Utwórz host

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Zakres w zależności od lokalizacji

Validations:

  • Integer

organization_id
opcjonalny

Zakres w zależności od organizacji

Validations:

  • Integer

host
wymagany

Validations:

  • Hash

host[name]
wymagany

Validations:

  • String

host[location_id]
wymagany

Validations:

  • Must be a number.

host[organization_id]
wymagany

Validations:

  • Must be a number.

host[environment_id]
opcjonalny , nil dopuszczalny

Wymagane, jeśli host jest zarządzany a wartość nie jest dziedziczona z grupy hostów

Validations:

  • String

host[ip]
opcjonalny , nil dopuszczalny

nie wymagany, jeśli używa podsieć z DHCP proxy

Validations:

  • String

host[mac]
opcjonalny , nil dopuszczalny

Wymagane dla hosta z gołą maszyną (bez systemu), nie wymagane jeśli jest maszyną wirtualną

Validations:

  • String

host[architecture_id]
opcjonalny , nil dopuszczalny

Wymagane, jeśli host jest zarządzany a wartość nie jest dziedziczona z grupy hostów

Validations:

  • Must be a number.

host[domain_id]
opcjonalny , nil dopuszczalny

Wymagane, jeśli host jest zarządzany a wartość nie jest dziedziczona z grupy hostów

Validations:

  • Must be a number.

host[realm_id]
opcjonalny , nil dopuszczalny

Validations:

  • Must be a number.

host[puppet_proxy_id]
opcjonalny , nil dopuszczalny

Puppet Proxy ID

Validations:

  • Must be a number.

host[puppet_ca_proxy_id]
opcjonalny , nil dopuszczalny

Puppet CA proxy ID

Validations:

  • Must be a number.

host[puppetclass_ids]
opcjonalny , nil dopuszczalny

Validations:

  • Must be an array of any type

host[config_group_ids]
opcjonalny , nil dopuszczalny

IDs of associated config groups

Validations:

  • Must be an array of any type

host[operatingsystem_id]
opcjonalny , nil dopuszczalny

Wymagane, jeśli host jest zarządzany a wartość nie jest dziedziczona z grupy hostów

Validations:

  • String

host[medium_id]
opcjonalny , nil dopuszczalny

wymagane, jeśli wdrożenie nie jest oparte na obrazie, host jest zarządzany a wartość nie jest dziedziczona z grupy hostów

Validations:

  • String

host[pxe_loader]
opcjonalny , nil dopuszczalny

DHCP filename option (Grub2/PXELinux by default)

Validations:

  • Must be one of: None, PXELinux BIOS, PXELinux UEFI, Grub UEFI, Grub2 BIOS, Grub2 ELF, Grub2 UEFI, Grub2 UEFI SecureBoot, Grub2 UEFI HTTP, Grub2 UEFI HTTPS, Grub2 UEFI HTTPS SecureBoot, iPXE Embedded, iPXE UEFI HTTP, iPXE Chain BIOS, iPXE Chain UEFI.

host[ptable_id]
opcjonalny , nil dopuszczalny

Wymagane, jeśli host jest zarządzany a domyslna partycja nie została zdefiniowana

Validations:

  • Must be a number.

host[subnet_id]
opcjonalny , nil dopuszczalny

Wymagane, jeśli host jest zarządzany a wartość nie jest dziedziczona z grupy hostów

Validations:

  • Must be a number.

host[compute_resource_id]
opcjonalny , nil dopuszczalny

nil oznacza że host jest gołą maszyną

Validations:

  • Must be a number.

host[root_pass]
opcjonalny , nil dopuszczalny

wymagane jeśli host jest zarządzany a wartość nie jest dziedziczona z grupy hostów lub domyślne hasło ustawień

Validations:

  • String

host[model_id]
opcjonalny , nil dopuszczalny

Validations:

  • Must be a number.

host[hostgroup_id]
opcjonalny , nil dopuszczalny

Validations:

  • Must be a number.

host[owner_id]
opcjonalny , nil dopuszczalny

Validations:

  • Must be a number.

host[owner_type]
opcjonalny , nil dopuszczalny

Typ właściciela hostów

Validations:

  • Must be one of: User, Usergroup.

host[image_id]
opcjonalny , nil dopuszczalny

Validations:

  • Must be a number.

host[host_parameters_attributes]
opcjonalny , nil dopuszczalny

Parametry hostów (tablica lub indeks hasza)

Validations:

  • Must be an Array of nested elements

host[host_parameters_attributes][name]
wymagany

Nazwa parametru

Validations:

  • String

host[host_parameters_attributes][value]
wymagany

Wartość parametru

Validations:

  • String

host[build]
opcjonalny , nil dopuszczalny

Validations:

  • Must be one of: true, false, 1, 0.

host[enabled]
opcjonalny , nil dopuszczalny

Dołącz host bez informowania Foremana

Validations:

  • Must be one of: true, false, 1, 0.

host[provision_method]
opcjonalny , nil dopuszczalny

The method used to provision the host.

Validations:

  • Must be one of: build, image.

host[managed]
opcjonalny , nil dopuszczalny

Flaga o wartościach Prawda (host jest zarządzany) lub fałsz (nie jest). Uwaga: wartość również określa czy kilka parametrów jest wymaganych lub nie

Validations:

  • Must be one of: true, false, 1, 0.

host[progress_report_id]
opcjonalny , nil dopuszczalny

UUID do śledzenia statusu zadań orkiestracji, GET /api/orchestration/:UUID/tasks

Validations:

  • String

host[comment]
opcjonalny , nil dopuszczalny

Dodatkowe informacje o tym hoście

Validations:

  • String

host[capabilities]
opcjonalny , nil dopuszczalny

Validations:

  • String

host[compute_profile_id]
opcjonalny , nil dopuszczalny

Validations:

  • Must be a number.

host[interfaces_attributes]
opcjonalny , nil dopuszczalny

Host interfejsu sieciowego.

Validations:

  • Must be an Array of nested elements

host[interfaces_attributes][mac]
opcjonalny , nil dopuszczalny

MAC adres interfejsu. Wymagany do zarządzania interfejsem maszyny

Validations:

  • String

host[interfaces_attributes][ip]
opcjonalny , nil dopuszczalny

IPv4 address of interface

Validations:

  • String

host[interfaces_attributes][ip6]
opcjonalny , nil dopuszczalny

IPv6 address of interface

Validations:

  • String

host[interfaces_attributes][type]
opcjonalny , nil dopuszczalny

Typ interfejsu, np. BMC. Domyślnie ma wartość interface

Validations:

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

host[interfaces_attributes][name]
opcjonalny , nil dopuszczalny

Nazwa DNS interfejsu

Validations:

  • String

host[interfaces_attributes][subnet_id]
opcjonalny , nil dopuszczalny

Foreman subnet ID of IPv4 interface

Validations:

  • Must be a number.

host[interfaces_attributes][subnet6_id]
opcjonalny , nil dopuszczalny

Foreman subnet ID of IPv6 interface

Validations:

  • Must be a number.

host[interfaces_attributes][domain_id]
opcjonalny , nil dopuszczalny

ID domeny interfejsu Foremana. Wymagany dla pierwszego interfejsu zarządzanego hostu

Validations:

  • Must be a number.

host[interfaces_attributes][identifier]
opcjonalny , nil dopuszczalny

identyfikator wejścia, np. eth0 lub eth1.1

Validations:

  • String

host[interfaces_attributes][managed]
opcjonalny , nil dopuszczalny

Czy na pewno interfejs powinien być zarządzany przez DHCP i DNS smart proxy i powinien być konfigurowany podczas dostawy?

Validations:

  • Must be one of: true, false, 1, 0.

host[interfaces_attributes][primary]
opcjonalny , nil dopuszczalny

Czy interfejs ma zostać użyty do konstrukcji FQDN hosta? Każdy zarządzany host potrzebuje jednego pierwszego interfejsu.

Validations:

  • Must be one of: true, false, 1, 0.

host[interfaces_attributes][provision]
opcjonalny , nil dopuszczalny

Czy interfejs ma zostać użyty przez TFTP dla PXELinux (lub SSH dla bazującego na obrazie hostu)? Każdy zarządzany host potrzebuje jednego interfejsu - dostawcy

Validations:

  • Must be one of: true, false, 1, 0.

host[interfaces_attributes][username]
opcjonalny , nil dopuszczalny

Tylko dla interfejsu BMC.

Validations:

  • String

host[interfaces_attributes][password]
opcjonalny , nil dopuszczalny

Tylko dla interfejsu BMC.

Validations:

  • String

host[interfaces_attributes][provider]
opcjonalny , nil dopuszczalny

Dostawca interfejsu,np. IPMI. Tylko dla interfejsu BMC.

Validations:

  • Must be one of: IPMI, SSH.

host[interfaces_attributes][virtual]
opcjonalny , nil dopuszczalny

Alias lub urządzenie VLAN

Validations:

  • Must be one of: true, false, 1, 0.

host[interfaces_attributes][tag]
opcjonalny , nil dopuszczalny

VLAN tag, ten atrybut ma pierwszeństwo przed podsiecią VLAN ID. tylko dla wirtualnych interfejsów.

Validations:

  • String

host[interfaces_attributes][mtu]
opcjonalny , nil dopuszczalny

MTU, this attribute has precedence over the subnet MTU.

Validations:

  • Integer

host[interfaces_attributes][attached_to]
opcjonalny , nil dopuszczalny

Identyfikator interfejsu do rozpoznania do kogo on należy, np. eth1. Tylko dla wirtualnych interfejsów.

Validations:

  • String

host[interfaces_attributes][mode]
opcjonalny , nil dopuszczalny

Bond Mode interfejsu np. balance-rr. Tylko dla złączonych interfejsów

Validations:

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

host[interfaces_attributes][attached_devices]
opcjonalny , nil dopuszczalny

Identyfikatory zależnych interfejsów,np. `['eth1', 'eth2']`. Tylko dla złączonych interfejsów.

Validations:

  • Must be an array of any type

host[interfaces_attributes][bond_options]
opcjonalny , nil dopuszczalny

Oddzielone odstępem opcje, np. miiom=100. Tylko dla złączonych interfejsów.

Validations:

  • String

host[interfaces_attributes][compute_attributes]
opcjonalny , nil dopuszczalny

Dodatkowe zasoby obliczeniowe specyficznych atrybutów interfejsu.

Validations:

  • Hash

host[compute_attributes]
opcjonalny , nil dopuszczalny

Specyficzne cechy dodatkowe zasobów obliczeniowych

Validations:

  • Hash

host[content_facet_attributes]
opcjonalny , nil dopuszczalny

Parameters for host's content_facet facet

Validations:

  • Hash

host[content_facet_attributes][content_view_id]
opcjonalny , nil dopuszczalny

Validations:

  • Integer

host[content_facet_attributes][lifecycle_environment_id]
opcjonalny , nil dopuszczalny

Validations:

  • Integer

host[content_facet_attributes][content_source_id]
opcjonalny , nil dopuszczalny

Validations:

  • Integer

host[content_facet_attributes][kickstart_repository_id]
opcjonalny , nil dopuszczalny

Repository Id associated with the kickstart repo used for provisioning

Validations:

  • Integer

host[subscription_facet_attributes]
opcjonalny , nil dopuszczalny

Parameters for host's subscription_facet facet

Validations:

  • Hash

host[subscription_facet_attributes][release_version]
opcjonalny , nil dopuszczalny

Release version for this Host to use (7Server, 7.1, etc)

Validations:

  • String

host[subscription_facet_attributes][autoheal]
opcjonalny , nil dopuszczalny

Sets whether the Host will autoheal subscriptions upon checkin

Validations:

  • Must be one of: true, false, 1, 0.

host[subscription_facet_attributes][purpose_usage]
opcjonalny , nil dopuszczalny

Sets the system purpose usage

Validations:

  • String

host[subscription_facet_attributes][purpose_role]
opcjonalny , nil dopuszczalny

Sets the system purpose usage

Validations:

  • String

host[subscription_facet_attributes][purpose_addons]
opcjonalny , nil dopuszczalny

Sets the system add-ons

Validations:

  • Must be an array of any type

host[subscription_facet_attributes][service_level]
opcjonalny , nil dopuszczalny

Service level to be used for autoheal

Validations:

  • String

host[subscription_facet_attributes][hypervisor_guest_uuids]
opcjonalny , nil dopuszczalny

List of hypervisor guest uuids

Validations:

  • Must be an array of any type

host[subscription_facet_attributes][installed_products_attributes]
opcjonalny , nil dopuszczalny

List of products installed on the host

Validations:

  • Must be an Array of nested elements

host[subscription_facet_attributes][installed_products_attributes][product_id]
opcjonalny , nil dopuszczalny

Product id as listed from a host's installed products, this is not the same product id as the products api returns

Validations:

  • String

host[subscription_facet_attributes][installed_products_attributes][product_name]
opcjonalny , nil dopuszczalny

Product name as listed from a host's installed products

Validations:

  • String

host[subscription_facet_attributes][installed_products_attributes][arch]
opcjonalny , nil dopuszczalny

Product architecture

Validations:

  • String

host[subscription_facet_attributes][installed_products_attributes][version]
opcjonalny , nil dopuszczalny

Product version

Validations:

  • String


PUT /api/hosts/:id
Aktualizuj host

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Zakres w zależności od lokalizacji

Validations:

  • Integer

organization_id
opcjonalny

Zakres w zależności od organizacji

Validations:

  • Integer

id
wymagany

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..

host
wymagany

Validations:

  • Hash

host[name]
opcjonalny

Validations:

  • String

host[location_id]
opcjonalny

Validations:

  • Must be a number.

host[organization_id]
opcjonalny

Validations:

  • Must be a number.

host[environment_id]
opcjonalny , nil dopuszczalny

Wymagane, jeśli host jest zarządzany a wartość nie jest dziedziczona z grupy hostów

Validations:

  • String

host[ip]
opcjonalny , nil dopuszczalny

nie wymagany, jeśli używa podsieć z DHCP proxy

Validations:

  • String

host[mac]
opcjonalny , nil dopuszczalny

Wymagane dla hosta z gołą maszyną (bez systemu), nie wymagane jeśli jest maszyną wirtualną

Validations:

  • String

host[architecture_id]
opcjonalny , nil dopuszczalny

Wymagane, jeśli host jest zarządzany a wartość nie jest dziedziczona z grupy hostów

Validations:

  • Must be a number.

host[domain_id]
opcjonalny , nil dopuszczalny

Wymagane, jeśli host jest zarządzany a wartość nie jest dziedziczona z grupy hostów

Validations:

  • Must be a number.

host[realm_id]
opcjonalny , nil dopuszczalny

Validations:

  • Must be a number.

host[puppet_proxy_id]
opcjonalny , nil dopuszczalny

Puppet Proxy ID

Validations:

  • Must be a number.

host[puppet_ca_proxy_id]
opcjonalny , nil dopuszczalny

Puppet CA proxy ID

Validations:

  • Must be a number.

host[puppetclass_ids]
opcjonalny , nil dopuszczalny

Validations:

  • Must be an array of any type

host[config_group_ids]
opcjonalny , nil dopuszczalny

IDs of associated config groups

Validations:

  • Must be an array of any type

host[operatingsystem_id]
opcjonalny , nil dopuszczalny

Wymagane, jeśli host jest zarządzany a wartość nie jest dziedziczona z grupy hostów

Validations:

  • String

host[medium_id]
opcjonalny , nil dopuszczalny

wymagane, jeśli wdrożenie nie jest oparte na obrazie, host jest zarządzany a wartość nie jest dziedziczona z grupy hostów

Validations:

  • String

host[pxe_loader]
opcjonalny , nil dopuszczalny

DHCP filename option (Grub2/PXELinux by default)

Validations:

  • Must be one of: None, PXELinux BIOS, PXELinux UEFI, Grub UEFI, Grub2 BIOS, Grub2 ELF, Grub2 UEFI, Grub2 UEFI SecureBoot, Grub2 UEFI HTTP, Grub2 UEFI HTTPS, Grub2 UEFI HTTPS SecureBoot, iPXE Embedded, iPXE UEFI HTTP, iPXE Chain BIOS, iPXE Chain UEFI.

host[ptable_id]
opcjonalny , nil dopuszczalny

Wymagane, jeśli host jest zarządzany a domyslna partycja nie została zdefiniowana

Validations:

  • Must be a number.

host[subnet_id]
opcjonalny , nil dopuszczalny

Wymagane, jeśli host jest zarządzany a wartość nie jest dziedziczona z grupy hostów

Validations:

  • Must be a number.

host[compute_resource_id]
opcjonalny , nil dopuszczalny

nil oznacza że host jest gołą maszyną

Validations:

  • Must be a number.

host[root_pass]
opcjonalny , nil dopuszczalny

wymagane jeśli host jest zarządzany a wartość nie jest dziedziczona z grupy hostów lub domyślne hasło ustawień

Validations:

  • String

host[model_id]
opcjonalny , nil dopuszczalny

Validations:

  • Must be a number.

host[hostgroup_id]
opcjonalny , nil dopuszczalny

Validations:

  • Must be a number.

host[owner_id]
opcjonalny , nil dopuszczalny

Validations:

  • Must be a number.

host[owner_type]
opcjonalny , nil dopuszczalny

Typ właściciela hostów

Validations:

  • Must be one of: User, Usergroup.

host[image_id]
opcjonalny , nil dopuszczalny

Validations:

  • Must be a number.

host[host_parameters_attributes]
opcjonalny , nil dopuszczalny

Parametry hostów (tablica lub indeks hasza)

Validations:

  • Must be an Array of nested elements

host[host_parameters_attributes][name]
opcjonalny

Nazwa parametru

Validations:

  • String

host[host_parameters_attributes][value]
opcjonalny

Wartość parametru

Validations:

  • String

host[build]
opcjonalny , nil dopuszczalny

Validations:

  • Must be one of: true, false, 1, 0.

host[enabled]
opcjonalny , nil dopuszczalny

Dołącz host bez informowania Foremana

Validations:

  • Must be one of: true, false, 1, 0.

host[provision_method]
opcjonalny , nil dopuszczalny

The method used to provision the host.

Validations:

  • Must be one of: build, image.

host[managed]
opcjonalny , nil dopuszczalny

Flaga o wartościach Prawda (host jest zarządzany) lub fałsz (nie jest). Uwaga: wartość również określa czy kilka parametrów jest wymaganych lub nie

Validations:

  • Must be one of: true, false, 1, 0.

host[progress_report_id]
opcjonalny , nil dopuszczalny

UUID do śledzenia statusu zadań orkiestracji, GET /api/orchestration/:UUID/tasks

Validations:

  • String

host[comment]
opcjonalny , nil dopuszczalny

Dodatkowe informacje o tym hoście

Validations:

  • String

host[capabilities]
opcjonalny , nil dopuszczalny

Validations:

  • String

host[compute_profile_id]
opcjonalny , nil dopuszczalny

Validations:

  • Must be a number.

host[interfaces_attributes]
opcjonalny , nil dopuszczalny

Host interfejsu sieciowego.

Validations:

  • Must be an Array of nested elements

host[interfaces_attributes][mac]
opcjonalny , nil dopuszczalny

MAC adres interfejsu. Wymagany do zarządzania interfejsem maszyny

Validations:

  • String

host[interfaces_attributes][ip]
opcjonalny , nil dopuszczalny

IPv4 address of interface

Validations:

  • String

host[interfaces_attributes][ip6]
opcjonalny , nil dopuszczalny

IPv6 address of interface

Validations:

  • String

host[interfaces_attributes][type]
opcjonalny , nil dopuszczalny

Typ interfejsu, np. BMC. Domyślnie ma wartość interface

Validations:

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

host[interfaces_attributes][name]
opcjonalny , nil dopuszczalny

Nazwa DNS interfejsu

Validations:

  • String

host[interfaces_attributes][subnet_id]
opcjonalny , nil dopuszczalny

Foreman subnet ID of IPv4 interface

Validations:

  • Must be a number.

host[interfaces_attributes][subnet6_id]
opcjonalny , nil dopuszczalny

Foreman subnet ID of IPv6 interface

Validations:

  • Must be a number.

host[interfaces_attributes][domain_id]
opcjonalny , nil dopuszczalny

ID domeny interfejsu Foremana. Wymagany dla pierwszego interfejsu zarządzanego hostu

Validations:

  • Must be a number.

host[interfaces_attributes][identifier]
opcjonalny , nil dopuszczalny

identyfikator wejścia, np. eth0 lub eth1.1

Validations:

  • String

host[interfaces_attributes][managed]
opcjonalny , nil dopuszczalny

Czy na pewno interfejs powinien być zarządzany przez DHCP i DNS smart proxy i powinien być konfigurowany podczas dostawy?

Validations:

  • Must be one of: true, false, 1, 0.

host[interfaces_attributes][primary]
opcjonalny , nil dopuszczalny

Czy interfejs ma zostać użyty do konstrukcji FQDN hosta? Każdy zarządzany host potrzebuje jednego pierwszego interfejsu.

Validations:

  • Must be one of: true, false, 1, 0.

host[interfaces_attributes][provision]
opcjonalny , nil dopuszczalny

Czy interfejs ma zostać użyty przez TFTP dla PXELinux (lub SSH dla bazującego na obrazie hostu)? Każdy zarządzany host potrzebuje jednego interfejsu - dostawcy

Validations:

  • Must be one of: true, false, 1, 0.

host[interfaces_attributes][username]
opcjonalny , nil dopuszczalny

Tylko dla interfejsu BMC.

Validations:

  • String

host[interfaces_attributes][password]
opcjonalny , nil dopuszczalny

Tylko dla interfejsu BMC.

Validations:

  • String

host[interfaces_attributes][provider]
opcjonalny , nil dopuszczalny

Dostawca interfejsu,np. IPMI. Tylko dla interfejsu BMC.

Validations:

  • Must be one of: IPMI, SSH.

host[interfaces_attributes][virtual]
opcjonalny , nil dopuszczalny

Alias lub urządzenie VLAN

Validations:

  • Must be one of: true, false, 1, 0.

host[interfaces_attributes][tag]
opcjonalny , nil dopuszczalny

VLAN tag, ten atrybut ma pierwszeństwo przed podsiecią VLAN ID. tylko dla wirtualnych interfejsów.

Validations:

  • String

host[interfaces_attributes][mtu]
opcjonalny , nil dopuszczalny

MTU, this attribute has precedence over the subnet MTU.

Validations:

  • Integer

host[interfaces_attributes][attached_to]
opcjonalny , nil dopuszczalny

Identyfikator interfejsu do rozpoznania do kogo on należy, np. eth1. Tylko dla wirtualnych interfejsów.

Validations:

  • String

host[interfaces_attributes][mode]
opcjonalny , nil dopuszczalny

Bond Mode interfejsu np. balance-rr. Tylko dla złączonych interfejsów

Validations:

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

host[interfaces_attributes][attached_devices]
opcjonalny , nil dopuszczalny

Identyfikatory zależnych interfejsów,np. `['eth1', 'eth2']`. Tylko dla złączonych interfejsów.

Validations:

  • Must be an array of any type

host[interfaces_attributes][bond_options]
opcjonalny , nil dopuszczalny

Oddzielone odstępem opcje, np. miiom=100. Tylko dla złączonych interfejsów.

Validations:

  • String

host[interfaces_attributes][compute_attributes]
opcjonalny , nil dopuszczalny

Dodatkowe zasoby obliczeniowe specyficznych atrybutów interfejsu.

Validations:

  • Hash

host[compute_attributes]
opcjonalny , nil dopuszczalny

Specyficzne cechy dodatkowe zasobów obliczeniowych

Validations:

  • Hash

host[content_facet_attributes]
opcjonalny , nil dopuszczalny

Parameters for host's content_facet facet

Validations:

  • Hash

host[content_facet_attributes][content_view_id]
opcjonalny , nil dopuszczalny

Validations:

  • Integer

host[content_facet_attributes][lifecycle_environment_id]
opcjonalny , nil dopuszczalny

Validations:

  • Integer

host[content_facet_attributes][content_source_id]
opcjonalny , nil dopuszczalny

Validations:

  • Integer

host[content_facet_attributes][kickstart_repository_id]
opcjonalny , nil dopuszczalny

Repository Id associated with the kickstart repo used for provisioning

Validations:

  • Integer

host[subscription_facet_attributes]
opcjonalny , nil dopuszczalny

Parameters for host's subscription_facet facet

Validations:

  • Hash

host[subscription_facet_attributes][release_version]
opcjonalny , nil dopuszczalny

Release version for this Host to use (7Server, 7.1, etc)

Validations:

  • String

host[subscription_facet_attributes][autoheal]
opcjonalny , nil dopuszczalny

Sets whether the Host will autoheal subscriptions upon checkin

Validations:

  • Must be one of: true, false, 1, 0.

host[subscription_facet_attributes][purpose_usage]
opcjonalny , nil dopuszczalny

Sets the system purpose usage

Validations:

  • String

host[subscription_facet_attributes][purpose_role]
opcjonalny , nil dopuszczalny

Sets the system purpose usage

Validations:

  • String

host[subscription_facet_attributes][purpose_addons]
opcjonalny , nil dopuszczalny

Sets the system add-ons

Validations:

  • Must be an array of any type

host[subscription_facet_attributes][service_level]
opcjonalny , nil dopuszczalny

Service level to be used for autoheal

Validations:

  • String

host[subscription_facet_attributes][hypervisor_guest_uuids]
opcjonalny , nil dopuszczalny

List of hypervisor guest uuids

Validations:

  • Must be an array of any type

host[subscription_facet_attributes][installed_products_attributes]
opcjonalny , nil dopuszczalny

List of products installed on the host

Validations:

  • Must be an Array of nested elements

host[subscription_facet_attributes][installed_products_attributes][product_id]
opcjonalny , nil dopuszczalny

Product id as listed from a host's installed products, this is not the same product id as the products api returns

Validations:

  • String

host[subscription_facet_attributes][installed_products_attributes][product_name]
opcjonalny , nil dopuszczalny

Product name as listed from a host's installed products

Validations:

  • String

host[subscription_facet_attributes][installed_products_attributes][arch]
opcjonalny , nil dopuszczalny

Product architecture

Validations:

  • String

host[subscription_facet_attributes][installed_products_attributes][version]
opcjonalny , nil dopuszczalny

Product version

Validations:

  • String


DELETE /api/hosts/:id
Usuń host

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Zakres w zależności od lokalizacji

Validations:

  • Integer

organization_id
opcjonalny

Zakres w zależności od organizacji

Validations:

  • Integer

id
wymagany

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..


GET /api/hosts/:id/enc
Get ENC values of host

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Zakres w zależności od lokalizacji

Validations:

  • Integer

organization_id
opcjonalny

Zakres w zależności od organizacji

Validations:

  • Integer

id
wymagany

Validations:

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


GET /api/hosts/:id/status
Pokaż status konfiguracji hosta

Return value may either be one of the following:

  • Alerts disabled

  • No reports

  • Error

  • Out of sync

  • Active

  • Pending

  • No changes

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Zakres w zależności od lokalizacji

Validations:

  • Integer

organization_id
opcjonalny

Zakres w zależności od organizacji

Validations:

  • Integer

id
wymagany

Validations:

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


GET /api/hosts/:id/status/:type
Pokaż status hosta

Returns string representing a host status of a given type

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Zakres w zależności od lokalizacji

Validations:

  • Integer

organization_id
opcjonalny

Zakres w zależności od organizacji

Validations:

  • Integer

id
wymagany

Validations:

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

type
wymagany

Typem statusu może być:

  • globalny

  • konfigurowany

  • zbudowany

Validations:

  • Must be one of: HostStatus::Global, configuration, build.


GET /api/hosts/:id/vm_compute_attributes
Podaj atrybuty vm hosta

Return the host's compute attributes that can be used to create a clone of this VM

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Zakres w zależności od lokalizacji

Validations:

  • Integer

organization_id
opcjonalny

Zakres w zależności od organizacji

Validations:

  • Integer

id
wymagany

Validations:

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


PUT /api/hosts/:id/disassociate
Oddzielony host od VM

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Zakres w zależności od lokalizacji

Validations:

  • Integer

organization_id
opcjonalny

Zakres w zależności od organizacji

Validations:

  • Integer

id
wymagany

Validations:

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


PUT /api/hosts/:id/power
Uruchom operację zasilania hosta

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Zakres w zależności od lokalizacji

Validations:

  • Integer

organization_id
opcjonalny

Zakres w zależności od organizacji

Validations:

  • Integer

id
wymagany

Validations:

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

power_action
wymagany

zasilanie działa, poprawne operacje to (on/start), (off/stop), (soft/reboot), (cycle/reset), (state/status)

Validations:

  • String


GET /api/hosts/:id/power
Fetch the status of whether the host is powered on or not. Supported hosts are VMs and physical hosts with BMCs.

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Zakres w zależności od lokalizacji

Validations:

  • Integer

organization_id
opcjonalny

Zakres w zależności od organizacji

Validations:

  • Integer

id
wymagany

Validations:

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


PUT /api/hosts/:id/boot
Uruchamianie hosta z określonego urządzenia

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Zakres w zależności od lokalizacji

Validations:

  • Integer

organization_id
opcjonalny

Zakres w zależności od organizacji

Validations:

  • Integer

id
wymagany

Validations:

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

device
wymagany

Urządzenie rozruchowe, dostępne urządzenia to dysk, CD-Rom, PXE, BIOS

Validations:

  • String


POST /api/hosts/facts
Wyślij informacje dla hosta, tworząc go w razie potrzeby

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Zakres w zależności od lokalizacji

Validations:

  • Integer

organization_id
opcjonalny

Zakres w zależności od organizacji

Validations:

  • Integer

name
wymagany

Nazwa danego hostu

Validations:

  • String

facts
wymagany

Hash zawierający dane dla hosta

Validations:

  • Hash

certname
opcjonalny

opcjonalnie: Nazwa używana podczas obsługi certyfikatów hosta

Validations:

  • String

type
opcjonalny

opcjonalnie: typ STI hostu do stworzenia

Validations:

  • String


PUT /api/hosts/:id/rebuild_config
Odbuduj configurację orkiestracji

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Zakres w zależności od lokalizacji

Validations:

  • Integer

organization_id
opcjonalny

Zakres w zależności od organizacji

Validations:

  • Integer

id
wymagany

Validations:

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

only
opcjonalny

Limit rebuild steps, valid steps are DHCP, DNS, TFTP

Validations:

  • Must be an array of any type


GET /api/hosts/:id/template/:kind
Podgląd zawartości renderowanego szablonu dostawy

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Zakres w zależności od lokalizacji

Validations:

  • Integer

organization_id
opcjonalny

Zakres w zależności od organizacji

Validations:

  • Integer

id
wymagany

Validations:

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

kind
wymagany

Rodzaje szablonów, dostępne wartości:

Validations:

  • String


PUT /api/hosts/:host_id/host_collections
Alter a hosts host collections

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Zakres w zależności od lokalizacji

Validations:

  • Integer

organization_id
opcjonalny

Zakres w zależności od organizacji

Validations:

  • Integer

host_id
wymagany

The id of the host to alter

Validations:

  • Must be a number.

host_collection_ids
wymagany

List of host collection ids to update

Validations:

  • Must be an array of any type