GoVirt.Vm

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

Subclasses:

None

Methods

Inherited:

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

Structs:

GObject.ObjectClass (5)

class

new ()

get_cdroms ()

get_cluster ()

get_host ()

get_ticket (proxy)

get_ticket_async (proxy, cancellable, callback, *user_data)

get_ticket_finish (result)

refresh_async (proxy, cancellable, callback, *user_data)

refresh_finish (result)

start (proxy)

start_async (proxy, cancellable, callback, *user_data)

start_finish (result)

stop (proxy)

stop_async (proxy, cancellable, callback, *user_data)

stop_finish (result)

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 Virtual Machine

cluster-id

str

r/w

Cluster Id for the Virtual Machine

display

GoVirt.VmDisplay

r/w

Virtual Machine Display Information

host-href

str

r/w

Host href for the Virtual Machine

host-id

str

r/w

Host Id for the Virtual Machine

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GoVirt.Resource

r

Class Details

class GoVirt.Vm(**kwargs)
Bases:

GoVirt.Resource

Abstract:

No

Structure:

GoVirt.VmClass

classmethod new()
Return type:

GoVirt.Vm

get_cdroms()
Returns:

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

Return type:

GoVirt.Collection

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

get_cluster()
Returns:

a GoVirt.Cluster representing cluster the self belongs to.

Return type:

GoVirt.Cluster

Gets a GoVirt.Cluster representing the cluster the virtual machine 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_host()
Returns:

a GoVirt.Host representing host the self belongs to.

Return type:

GoVirt.Host

Gets a GoVirt.Host representing the host the virtual machine 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_ticket(proxy)
Parameters:

proxy (GoVirt.Proxy) –

Raises:

GLib.Error

Return type:

bool

get_ticket_async(proxy, cancellable, callback, *user_data)
Parameters:
get_ticket_finish(result)
Parameters:

result (Gio.AsyncResult) –

Raises:

GLib.Error

Return type:

bool

refresh_async(proxy, cancellable, callback, *user_data)
Parameters:
refresh_finish(result)
Parameters:

result (Gio.AsyncResult) –

Raises:

GLib.Error

Return type:

bool

start(proxy)
Parameters:

proxy (GoVirt.Proxy) –

Raises:

GLib.Error

Return type:

bool

start_async(proxy, cancellable, callback, *user_data)
Parameters:
start_finish(result)
Parameters:

result (Gio.AsyncResult) –

Raises:

GLib.Error

Return type:

bool

stop(proxy)
Parameters:

proxy (GoVirt.Proxy) –

Raises:

GLib.Error

Return type:

bool

stop_async(proxy, cancellable, callback, *user_data)
Parameters:
stop_finish(result)
Parameters:

result (Gio.AsyncResult) –

Raises:

GLib.Error

Return type:

bool

Property Details

GoVirt.Vm.props.cluster_href
Name:

cluster-href

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Cluster href for the Virtual Machine

GoVirt.Vm.props.cluster_id
Name:

cluster-id

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Cluster Id for the Virtual Machine

GoVirt.Vm.props.display
Name:

display

Type:

GoVirt.VmDisplay

Default Value:

None

Flags:

READABLE, WRITABLE

Virtual Machine Display Information

GoVirt.Vm.props.host_href
Name:

host-href

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Host href for the Virtual Machine

GoVirt.Vm.props.host_id
Name:

host-id

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Host Id for the Virtual Machine