| Constructor and Description |
|---|
Host(HttpProxyBroker proxy) |
| Modifier and Type | Method and Description |
|---|---|
Action |
activate(Action action)
Performs activate action.
|
Action |
activate(Action action,
String correlationId)
Performs activate action.
|
Action |
approve(Action action)
Performs approve action.
|
Action |
approve(Action action,
String correlationId)
Performs approve action.
|
Action |
commitnetconfig(Action action)
Performs commitnetconfig action.
|
Action |
commitnetconfig(Action action,
String correlationId)
Performs commitnetconfig action.
|
Action |
deactivate(Action action)
Performs deactivate action.
|
Action |
deactivate(Action action,
String correlationId)
Performs deactivate action.
|
Response |
delete()
Deletes object.
|
Response |
delete(Action action,
Boolean async)
Deletes object.
|
Response |
delete(Action action,
Boolean async,
String correlationId)
Deletes object.
|
Response |
delete(Boolean async)
Deletes object.
|
Response |
delete(Boolean async,
String correlationId)
Deletes object.
|
Action |
fence(Action action)
Performs fence action.
|
Action |
fence(Action action,
String correlationId)
Performs fence action.
|
Action |
forceselectspm(Action action)
Performs forceselectspm action.
|
Action |
forceselectspm(Action action,
String correlationId)
Performs forceselectspm action.
|
HostHooks |
getHooks()
Gets the value of the HostHooks property.
|
HostNICs |
getHostNics()
Gets the value of the HostNICs property.
|
HostNumaNodes |
getNumaNodes()
Gets the value of the HostNumaNodes property.
|
HostPermissions |
getPermissions()
Gets the value of the HostPermissions property.
|
HostStatistics |
getStatistics()
Gets the value of the HostStatistics property.
|
HostTags |
getTags()
Gets the value of the HostTags property.
|
Action |
install(Action action)
Performs install action.
|
Action |
install(Action action,
String correlationId)
Performs install action.
|
Action |
iscsidiscover(Action action)
Performs iscsidiscover action.
|
Action |
iscsidiscover(Action action,
String correlationId)
Performs iscsidiscover action.
|
Action |
iscsilogin(Action action)
Performs iscsilogin action.
|
Action |
iscsilogin(Action action,
String correlationId)
Performs iscsilogin action.
|
Action |
unregisteredstoragedomainsdiscover(Action action)
Performs unregisteredstoragedomainsdiscover action.
|
Action |
unregisteredstoragedomainsdiscover(Action action,
String correlationId)
Performs unregisteredstoragedomainsdiscover action.
|
Host |
update()
Updates Host object.
|
Host |
update(Boolean async)
Updates Host object.
|
Host |
update(Boolean async,
String correlationId)
Updates Host object.
|
getAddress, getAutoNumaStatus, getCertificate, getCluster, getCpu, getDisplay, getHardwareInformation, getHostedEngine, getIscsi, getKdumpStatus, getKsm, getLibvirtVersion, getLiveSnapshotSupport, getMaxSchedulingMemory, getMemory, getNumaSupported, getOs, getOverrideIptables, getPort, getPowerManagement, getProtocol, getRebootAfterInstallation, getRootPassword, getSelinux, getSpm, getSsh, getStatus, getStorageManager, getSummary, getTransparentHugepages, getType, getVersion, isSetAddress, isSetAutoNumaStatus, isSetCertificate, isSetCluster, isSetCpu, isSetDisplay, isSetHardwareInformation, isSetHooks, isSetHostedEngine, isSetIscsi, isSetKdumpStatus, isSetKsm, isSetLibvirtVersion, isSetLiveSnapshotSupport, isSetMaxSchedulingMemory, isSetMemory, isSetNumaSupported, isSetOs, isSetOverrideIptables, isSetPort, isSetPowerManagement, isSetProtocol, isSetRebootAfterInstallation, isSetRootPassword, isSetSelinux, isSetSpm, isSetSsh, isSetStatistics, isSetStatus, isSetStorageManager, isSetSummary, isSetTransparentHugepages, isSetType, isSetVersion, setAddress, setAutoNumaStatus, setCertificate, setCluster, setCpu, setDisplay, setHardwareInformation, setHooks, setHostedEngine, setIscsi, setKdumpStatus, setKsm, setLibvirtVersion, setLiveSnapshotSupport, setMaxSchedulingMemory, setMemory, setNumaSupported, setOs, setOverrideIptables, setPort, setPowerManagement, setProtocol, setRebootAfterInstallation, setRootPassword, setSelinux, setSpm, setSsh, setStatistics, setStatus, setStorageManager, setSummary, setTransparentHugepages, setType, setVersiongetComment, getCreationStatus, getDescription, getHref, getId, getLinks, getName, isSetComment, isSetCreationStatus, isSetDescription, isSetHref, isSetId, isSetLinks, isSetName, setComment, setCreationStatus, setDescription, setHref, setId, setName, unsetLinksgetActions, isSetActions, setActionspublic Host(HttpProxyBroker proxy)
proxy - HttpProxyBrokerpublic HostHooks getHooks()
public HostNICs getHostNics()
HostNICspublic HostPermissions getPermissions()
HostPermissionspublic HostStatistics getStatistics()
getStatistics in class HostHostStatisticspublic HostNumaNodes getNumaNodes()
HostNumaNodespublic Action install(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
Overload 1:
install vdsm and other
packages required to get the
host ready to be used in the
engine providing the root
password. This has been
deprecated
[action.root_password]
[action.image]
[action.host.override_iptables]
Overload 2:
install vdsm and other
packages required to get the
host ready to be used in the
engine providing thre ssh
password
[action.ssh.port]
[action.ssh.fingerprint]
[action.ssh.authentication_method]
[action.ssh.user.user_name]
[action.ssh.user.password]
[action.image]
[action.async]
[action.grace_period.expiry]
[action.host.override_iptables]
Actionorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public Action install(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
Overload 1:
install vdsm and other
packages required to get the
host ready to be used in the
engine providing the root
password. This has been
deprecated
[action.root_password]
[action.image]
[action.host.override_iptables]
Overload 2:
install vdsm and other
packages required to get the
host ready to be used in the
engine providing thre ssh
password
[action.ssh.port]
[action.ssh.fingerprint]
[action.ssh.authentication_method]
[action.ssh.user.user_name]
[action.ssh.user.password]
[action.image]
[action.async]
[action.grace_period.expiry]
[action.host.override_iptables]
correlationId -
[any string]
Actionorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public Action activate(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
[action.async]
[action.grace_period.expiry]
Actionorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public Action activate(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
[action.async]
[action.grace_period.expiry]
correlationId -
[any string]
Actionorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public Host update() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
host - Host
Overload 1:
update the specified host in
the system. This is deprecated
and is provided only for
backwards compatibility
[host.name]
[host.comment]
[host.address]
[host.root_password]
[host.display.address]
[host.cluster.id|name]
[host.port]
[host.spm.priority]
[host.power_management.type]
[host.power_management.enabled]
[host.power_management.address]
[host.power_management.username]
[host.power_management.password]
[host.power_management.automatic_pm_enabled]
[host.power_management.options.option]
[host.power_management.pm_proxy]
[host.power_management.agents.agent]
[host.power_management.kdump_detection]
Overload 2:
update the specified host in the system
[host.name]
[host.comment]
[host.address]
[host.ssh.port]
[host.ssh.user.user_name]
[host.ssh.fingerprint]
[host.display.address]
[host.cluster.id|name]
[host.port]
[host.spm.priority]
[host.power_management.type]
[host.power_management.automatic_pm_enabled]
[host.power_management.enabled]
[host.power_management.address]
[host.power_management.username]
[host.power_management.password]
[host.power_management.options.option]
[host.power_management.pm_proxy]
[host.power_management.agents.agent]
[host.power_management.kdump_detection]
Hostorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public Host update(Boolean async) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
host - Host
Overload 1:
update the specified host in
the system. This is deprecated
and is provided only for
backwards compatibility
[host.name]
[host.comment]
[host.address]
[host.root_password]
[host.display.address]
[host.cluster.id|name]
[host.port]
[host.spm.priority]
[host.power_management.type]
[host.power_management.enabled]
[host.power_management.address]
[host.power_management.username]
[host.power_management.password]
[host.power_management.automatic_pm_enabled]
[host.power_management.options.option]
[host.power_management.pm_proxy]
[host.power_management.agents.agent]
[host.power_management.kdump_detection]
Overload 2:
update the specified host in the system
[host.name]
[host.comment]
[host.address]
[host.ssh.port]
[host.ssh.user.user_name]
[host.ssh.fingerprint]
[host.display.address]
[host.cluster.id|name]
[host.port]
[host.spm.priority]
[host.power_management.type]
[host.power_management.automatic_pm_enabled]
[host.power_management.enabled]
[host.power_management.address]
[host.power_management.username]
[host.power_management.password]
[host.power_management.options.option]
[host.power_management.pm_proxy]
[host.power_management.agents.agent]
[host.power_management.kdump_detection]
async -
[true|false]
Hostorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public Host update(Boolean async, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
host - Host
Overload 1:
update the specified host in
the system. This is deprecated
and is provided only for
backwards compatibility
[host.name]
[host.comment]
[host.address]
[host.root_password]
[host.display.address]
[host.cluster.id|name]
[host.port]
[host.spm.priority]
[host.power_management.type]
[host.power_management.enabled]
[host.power_management.address]
[host.power_management.username]
[host.power_management.password]
[host.power_management.automatic_pm_enabled]
[host.power_management.options.option]
[host.power_management.pm_proxy]
[host.power_management.agents.agent]
[host.power_management.kdump_detection]
Overload 2:
update the specified host in the system
[host.name]
[host.comment]
[host.address]
[host.ssh.port]
[host.ssh.user.user_name]
[host.ssh.fingerprint]
[host.display.address]
[host.cluster.id|name]
[host.port]
[host.spm.priority]
[host.power_management.type]
[host.power_management.automatic_pm_enabled]
[host.power_management.enabled]
[host.power_management.address]
[host.power_management.username]
[host.power_management.password]
[host.power_management.options.option]
[host.power_management.pm_proxy]
[host.power_management.agents.agent]
[host.power_management.kdump_detection]
correlationId -
[any string]
async -
[true|false]
Hostorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public Action fence(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
action.fence_type
[action.async]
[action.grace_period.expiry]
Actionorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public Action fence(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
action.fence_type
[action.async]
[action.grace_period.expiry]
correlationId -
[any string]
Actionorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public Action iscsidiscover(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
action.iscsi.address
[action.async]
[action.grace_period.expiry]
Actionorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public Action iscsidiscover(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
action.iscsi.address
[action.async]
[action.grace_period.expiry]
correlationId -
[any string]
Actionorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public Action approve(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
Overload 1:
approve specified host to be
added to the engine by using
root password (deprecated
verb). this occurs when the
host registers itself with the
engine
[action.cluster.id|name]
[action.async]
[action.grace_period.expiry]
[host.root_password]
Overload 2:
approve specified host to be
added to the engine by using
ssh authentication. this
occurs when the host registers
itself with the engine
[action.cluster.id|name]
[action.async]
[action.grace_period.expiry]
[host.ssh.authentication_method]
[host.ssh.user.user_name]
[host.ssh.user.password]
Actionorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public Action approve(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
Overload 1:
approve specified host to be
added to the engine by using
root password (deprecated
verb). this occurs when the
host registers itself with the
engine
[action.cluster.id|name]
[action.async]
[action.grace_period.expiry]
[host.root_password]
Overload 2:
approve specified host to be
added to the engine by using
ssh authentication. this
occurs when the host registers
itself with the engine
[action.cluster.id|name]
[action.async]
[action.grace_period.expiry]
[host.ssh.authentication_method]
[host.ssh.user.user_name]
[host.ssh.user.password]
correlationId -
[any string]
Actionorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public Action iscsilogin(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
action.iscsi.address
action.iscsi.target
[action.async]
[action.grace_period.expiry]
Actionorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public Action iscsilogin(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
action.iscsi.address
action.iscsi.target
[action.async]
[action.grace_period.expiry]
correlationId -
[any string]
Actionorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public Action forceselectspm(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
[action.async]
[action.grace_period.expiry]
Actionorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public Action forceselectspm(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
[action.async]
[action.grace_period.expiry]
correlationId -
[any string]
Actionorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public Action unregisteredstoragedomainsdiscover(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
action.iscsi.address
action.target
Actionorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public Action unregisteredstoragedomainsdiscover(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
action.iscsi.address
action.target
correlationId -
[any string]
Actionorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public Response delete() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
Responseorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public Response delete(Boolean async) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
async -
[true|false]
Responseorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public Response delete(Boolean async, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
correlationId -
[any string]
async -
[true|false]
Responseorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public Response delete(Action action, Boolean async) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
[action.force]
[action.async]
[action.grace_period.expiry]
async -
[true|false]
Responseorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public Response delete(Action action, Boolean async, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
[action.force]
[action.async]
[action.grace_period.expiry]
correlationId -
[any string]
async -
[true|false]
Responseorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public Action deactivate(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
[action.async]
[action.grace_period.expiry]
Actionorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public Action deactivate(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
[action.async]
[action.grace_period.expiry]
correlationId -
[any string]
Actionorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public Action commitnetconfig(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
[action.async]
[action.grace_period.expiry]
Actionorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public Action commitnetconfig(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
[action.async]
[action.grace_period.expiry]
correlationId -
[any string]
Actionorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0