Package org.ovirt.engine.sdk4.types
Enum HostStatus
- java.lang.Object
-
- java.lang.Enum<HostStatus>
-
- org.ovirt.engine.sdk4.types.HostStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<HostStatus>
public enum HostStatus extends Enum<HostStatus>
Type representing a host status.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONNECTING
The engine cannot communicate with the host for a specific threshold so it is now trying to connect before going through fencing.DOWN
The host is down.ERROR
The host is in error status.INITIALIZING
The host is initializing.INSTALL_FAILED
The host installation failed.INSTALLING
The host is being installed.INSTALLING_OS
The host operating system is now installing.KDUMPING
The host kernel has crashed and it is now going through memory dumping.MAINTENANCE
The host is in maintenance status.NON_OPERATIONAL
The host is non operational.NON_RESPONSIVE
The host is not responsive.PENDING_APPROVAL
The host is pending administrator approval.PREPARING_FOR_MAINTENANCE
The host is preparing for maintenance.REBOOT
The host is being rebooted.UNASSIGNED
The host is in activation process.UP
The host is up.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HostStatus
fromValue(String value)
String
value()
static HostStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static HostStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONNECTING
public static final HostStatus CONNECTING
The engine cannot communicate with the host for a specific threshold so it is now trying to connect before going through fencing.
-
DOWN
public static final HostStatus DOWN
The host is down.
-
ERROR
public static final HostStatus ERROR
The host is in error status. This will happen if we will try to run a virtual machine several times and it will fail.
-
INITIALIZING
public static final HostStatus INITIALIZING
The host is initializing. This is an intermediate step before moving the host to 'up' status.
-
INSTALL_FAILED
public static final HostStatus INSTALL_FAILED
The host installation failed. In such cases look at the event log to understand what failed the installation, and issue a re-install.
-
INSTALLING
public static final HostStatus INSTALLING
The host is being installed.
-
INSTALLING_OS
public static final HostStatus INSTALLING_OS
The host operating system is now installing. This status is relevant when using a Satellite/Foreman provider, and issuing a bare-metal provisioning (discovered host provisioning).
-
KDUMPING
public static final HostStatus KDUMPING
The host kernel has crashed and it is now going through memory dumping.
-
MAINTENANCE
public static final HostStatus MAINTENANCE
The host is in maintenance status. When a host is in maintenance it cannot run virtual machines.
-
NON_OPERATIONAL
public static final HostStatus NON_OPERATIONAL
The host is non operational. This can happen due to various reasons, such as not having a connection with the storage, not supporting a mandatory network, not supporting the cluster level, and more.
-
NON_RESPONSIVE
public static final HostStatus NON_RESPONSIVE
The host is not responsive. This means that the engine is not able to communicate with the host.
-
PENDING_APPROVAL
public static final HostStatus PENDING_APPROVAL
The host is pending administrator approval. This is relevant only for vintage ovirt-node / RHV-H. This property is no longer relevant since Vintage Node is no longer supported, and has been deprecated.
-
PREPARING_FOR_MAINTENANCE
public static final HostStatus PREPARING_FOR_MAINTENANCE
The host is preparing for maintenance. During this time the engine makes sure to live migrate all the virtual machines from this host to other hosts. Once all migrations have been completed the host will move to 'maintenance' status.
-
REBOOT
public static final HostStatus REBOOT
The host is being rebooted.
-
UNASSIGNED
public static final HostStatus UNASSIGNED
The host is in activation process.
-
UP
public static final HostStatus UP
The host is up.
-
-
Method Detail
-
values
public static HostStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (HostStatus c : HostStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HostStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
value
public String value()
-
fromValue
public static HostStatus fromValue(String value)
-
-