Home | Trees | Indices | Help |
|
---|
|
Host instance entity representation. An instance is associated to a host when it is provisioned. It has properties describing the VM or physical machine associated to the host (e.g. its IP address, public DNS name, etc.) and features operations related to VM handling: start, pause, resume, power-off and shutdown.
Instance Methods | |||
|
|||
string |
|
||
string |
|
||
MonitoringAlertCollection |
|
||
file-like object |
|
||
string |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
string |
|
||
string |
|
||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from |
Properties | |
string |
name Name of this entity. |
string |
organization The name of the organization owning the host this instance is attached to. |
string |
environment The name of the environment owning the host this instance is attached to. |
string |
host The name of this instance's host. |
string |
state Instance's state. |
string |
hostname Instance's hostname. |
Vnc |
vnc Fetches instance's VNC connection data from server. |
string |
agent_state Agent's state. |
list of Property |
properties Instance's properties. |
Inherited from Inherited from |
Method Details |
Creates a remote host instance using this object's state for initialization. If there are properties associated to this object, a "fake" provisioning is executed: host is set in provisioning state and properties are associated to the instance, but no VM creation is actually triggered. This allows to re-import an instance linked to a VM or machine that was already provisioned.
|
Retrieves the IP address associated to given interface from instance properties.
|
Retrieves the value of a property.
|
Instantiates MonitorinAlert collection.
|
Retrieves the content of a file on a host's instance.
|
Retrieves the value of a monitoring sensor on a host's instance.
|
Prints instance's properties to standard output in a user-friendly way.
|
Waits until a property with given key appears (or a time-out occurs) in remote instance's state and returns its value. If a time-out occurred, the method returns None.
|
Waits until remote instance's IP address or DNS name is known. If a time-out occurred, the method may return None. The returned value is one of the following (in a decreasing priority order i.e. first available is returned):
|
Waits until instance has requested state.
|
Creates an image based on provided template.
|
Property Details |
nameName of this entity.
|
organizationThe name of the organization owning the host this instance is attached to.
|
environmentThe name of the environment owning the host this instance is attached to.
|
hostThe name of this instance's host.
|
stateInstance's state. Possible values are: UNDEFINED, PENDING, RUNNING, PAUSED, STOPPED.
|
hostnameInstance's hostname.
|
vncFetches instance's VNC connection data from server.
|
agent_stateAgent's state. Possible values are 'Up' and 'Down'.
|
propertiesInstance's properties.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Dec 5 14:16:50 2017 | http://epydoc.sourceforge.net |