GoVirt.VmPool¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
The number of VMs a user can allocate from the pool |
||
r/w |
The number of VMs prestarted in the pool |
||
r/w |
The number of VMs in the pool |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class GoVirt.VmPool(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new()¶
- Return type:
- allocate_vm(proxy)¶
- Parameters:
proxy (
GoVirt.Proxy
) –- Raises:
- Return type:
- allocate_vm_async(proxy, cancellable, callback, *user_data)¶
- Parameters:
proxy (
GoVirt.Proxy
) –cancellable (
Gio.Cancellable
orNone
) –callback (
Gio.AsyncReadyCallback
orNone
) –
- allocate_vm_finish(result)¶
- Parameters:
result (
Gio.AsyncResult
) –- Raises:
- Return type:
Property Details¶
- GoVirt.VmPool.props.max_user_vms¶
-
The number of VMs a user can allocate from the pool
- GoVirt.VmPool.props.prestarted_vms¶
-
The number of VMs prestarted in the pool