GoVirt.Host

g GObject.GInterface GObject.GInterface Gio.Initable Gio.Initable GObject.GInterface->Gio.Initable GObject.Object GObject.Object GoVirt.Resource GoVirt.Resource GObject.Object->GoVirt.Resource Gio.Initable->GoVirt.Resource GoVirt.Host GoVirt.Host GoVirt.Resource->GoVirt.Host

Subclasses:

None

Methods

Inherited:

GoVirt.Resource (10), GObject.Object (37), Gio.Initable (2)

Structs:

GObject.ObjectClass (5)

class

new ()

get_cluster ()

get_vms ()

Virtual Methods

Inherited:

GoVirt.Resource (2), GObject.Object (7), Gio.Initable (1)

Properties

Inherited:

GoVirt.Resource (5)

Name

Type

Flags

Short Description

cluster-href

str

r/w

Cluster href for the Host

cluster-id

str

r/w

Cluster Id for the Host

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GoVirt.Resource

r

Class Details

class GoVirt.Host(**kwargs)
Bases:

GoVirt.Resource

Abstract:

No

Structure:

GoVirt.HostClass

classmethod new()
Return type:

GoVirt.Host

get_cluster()
Returns:

a GoVirt.Cluster representing cluster the self belongs to.

Return type:

GoVirt.Cluster

Gets a GoVirt.Cluster representing the cluster the host belongs to. This method does not initiate any network activity, the remote host must be then be fetched using GoVirt.Resource.refresh() or GoVirt.Resource.refresh_async().

get_vms()
Returns:

a GoVirt.Collection representing the list of vms associated with self.

Return type:

GoVirt.Collection

Gets a GoVirt.Collection representing the list of remote vms from a host object. This method does not initiate any network activity, the remote vm list must be then be fetched using GoVirt.Collection.fetch() or GoVirt.Collection.fetch_async().

Property Details

GoVirt.Host.props.cluster_href
Name:

cluster-href

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Cluster href for the Host

GoVirt.Host.props.cluster_id
Name:

cluster-id

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Cluster Id for the Host