GoVirt.Cluster

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.Cluster GoVirt.Cluster GoVirt.Resource->GoVirt.Cluster

Subclasses:

None

Methods

Inherited:

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

Structs:

GObject.ObjectClass (5)

class

new ()

get_data_center ()

get_hosts ()

Virtual Methods

Inherited:

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

Properties

Inherited:

GoVirt.Resource (5)

Name

Type

Flags

Short Description

data-center-href

str

r/w

Data Center href for the Cluster

data-center-id

str

r/w

Data Center Id for the Cluster

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GoVirt.Resource

r

Class Details

class GoVirt.Cluster(**kwargs)
Bases:

GoVirt.Resource

Abstract:

No

Structure:

GoVirt.ClusterClass

classmethod new()
Return type:

GoVirt.Cluster

get_data_center()
Returns:

a GoVirt.DataCenter representing data center the host belongs to.

Return type:

GoVirt.DataCenter

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

get_hosts()
Returns:

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

Return type:

GoVirt.Collection

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

Property Details

GoVirt.Cluster.props.data_center_href
Name:

data-center-href

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Data Center href for the Cluster

GoVirt.Cluster.props.data_center_id
Name:

data-center-id

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Data Center Id for the Cluster