Registers a new OpenShift agent.
Path parameters
The infra-env that the agent is associated with.
Headers
The software version of the discovery agent that is registering the agent.
Request body
Response
Success.
Indicates the type of this object. Will be 'Host' if this is a complete object or 'HostLink' if it is just a link, or 'AddToExistingClusterHost' for host being added to existing OCP cluster, or
Unique identifier of the object.
Self link.
The cluster that this host is associated with.
The infra-env that this host is associated with.
JSON-formatted string containing the validation results for each validation id grouped by category (network, hardware, etc.)
The last time that the host status was updated.
Time at which the current progress stage started.
Time at which the current progress stage was last updated.
Contains a serialized api_vip_connectivity_response
The configured NTP sources on the host.
Additional information about disks, formatted as JSON.
Installer version.
Contains the inventory disk path, This field is replaced by installation_disk_id field and used for backward compatability with the old UI.
Contains the inventory disk id to install on.
The last time the host's agent communicated with the service.
Indicate that connection to assisted service was timed out when soft timeout is enabled.
The last time the host's agent tried to register in the service.
Json formatted string containing the user overrides for the host's pointer ignition
The time on the host as seconds since the Unix epoch.
Array of image statuses.
The domain name resolution result.
True if the token to fetch the ignition from ignition_endpoint_url is set.
Json containing node's labels.
A comma-separated list of disks that will be formatted once installation begins, unless otherwise set to be skipped by skip_formatting_disks. This means that this list also includes disks that appear in skip_formatting_disks. This property is managed by the service and cannot be modified by the user.
A comma-seperated list of host disks that the service will avoid formatting.
The host's BMC credentials that will be used in TNF.
Example response
{
"installation_disk_path": "/dev/sda",
"ignition_config_overrides": "{\"ignition\": {\"version\": \"3.1.0\"}, \"storage\": {\"files\": [{\"path\": \"/tmp/example\", \"contents\": {\"source\": \"data:text/plain;base64,aGVscGltdHJhcHBlZGluYXN3YWdnZXJzcGVj\"}}]}}"
}