LibvirtGConfig.StoragePool¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class LibvirtGConfig.StoragePool(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new()¶
- Return type:
- get_allocation()¶
- Returns:
total storage allocation in bytes.
- Return type:
Gets the total storage allocation for the pool.
- get_available()¶
- Returns:
free space available in bytes.
- Return type:
Gets the free space available for allocating new volumes in the pool.
- get_capacity()¶
- Returns:
total storage capacity in bytes.
- Return type:
Gets the total storage capacity for the pool.
- get_pool_type()¶
- Returns:
#Gname of self.
- Return type:
Gets the type of the pool.
- get_source()¶
- Returns:
a new
LibvirtGConfig.StoragePoolSource
instance.- Return type:
Gets the source for self
- get_target()¶
- Returns:
a new
LibvirtGConfig.StoragePoolTarget
instance.- Return type:
Gets the target for self
- get_uuid()¶
- Returns:
unique identifier for self.
- Return type:
Gets the unique identifier for self.
- set_pool_type(type)¶
- Parameters:
type (
LibvirtGConfig.StoragePoolType
) –
- set_source(source)¶
- Parameters:
source (
LibvirtGConfig.StoragePoolSource
orNone
) –
- set_target(target)¶
- Parameters:
target (
LibvirtGConfig.StoragePoolTarget
orNone
) –