LibvirtGConfig.StoragePoolSource¶
- 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.StoragePoolSource(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new()¶
- Return type:
- get_adapter()¶
- Returns:
the SCSI adapter name.
- Return type:
For pools backed by a SCSI adapter, returns the SCSI adapter name
- get_device_path()¶
- Returns:
fully qualified path to the block device node.
- Return type:
For pools backed by a physical device, returns the path to the block device node
- get_directory()¶
- Returns:
path to the directory backing directory.
- Return type:
For pools backed by a directory, returns the path to the backing directory
- get_format()¶
- Returns:
the storage pool format.
- Return type:
Provides information about the format of the pool. This format is backend-specific but is typically used to indicate filesystem type, or network filesystem type, or partition table type, or LVM metadata type.
- get_host()¶
- Returns:
hostname or IP address of the remote server.
- Return type:
For pools backed by storage from remote server, returns the hostname of the remote server.
- get_name()¶
- Returns:
name of the element used by self
- Return type:
For pools backed by storage from a named element (for example, LV groups), returns the name of the element
- get_product()¶
- Returns:
product name of the storage device.
- Return type:
Gets the product name of the storage device.
- get_vendor()¶
- Returns:
vendor name of the storage device.
- Return type:
Gets the vendor name of the storage device.