Trees | Indices | Help |
|
---|
|
A RADOS Block Device (rbd).
This class implements the RADOS Block Device for the backend. You need the rbd kernel driver, the RADOS Tools and a working RADOS cluster for this to be functional.
|
|||
|
|||
|
|||
|
|||
|
|||
string |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
list of strings |
|
||
list of strings |
|
||
string |
|
||
Inherited from Inherited from |
|
|||
BlockDev |
|
||
string or None |
|
|
|||
string or None |
|
||
string or None |
|
|
|||
Inherited from |
|
Attaches to an rbd device.
|
Create a new rbd device. Provision a new rbd volume inside a RADOS pool.
|
Remove the rbd device.
|
Rename this device.
|
Attach to an existing rbd device. This method maps the rbd volume that matches our name with an rbd device and then attaches to this device.
|
Maps existing rbd volumes to block devices. This method should be idempotent if the mapping already exists.
|
Do the 'volume name'-to-'rbd block device' resolving.
|
Parse the json output of `rbd showmapped'. This method parses the json output of `rbd showmapped' and returns the rbd block device path (e.g. /dev/rbd0) that matches the given rbd volume.
|
Parse the (plain / text) output of `rbd showmapped'. This method parses the output of `rbd showmapped' and returns the rbd block device path (e.g. /dev/rbd0) that matches the given rbd volume.
|
Assemble the device.
|
Shutdown the device.
|
Unmaps the rbd device from the Volume it is mapped. Unmaps the rbd device from the Volume it was previously mapped to. This method should be idempotent if the Volume isn't mapped. |
Make the device ready for I/O.
|
Notifies that the device will no longer be used for I/O.
|
Grow the Volume.
|
Builds the shell command for importing data to device.
See Also: BlockDev.Import for details |
Builds the shell command for exporting data from device.
See Also: BlockDev.Export for details |
Generate KVM userspace URIs to be used as `-drive file` settings.
See Also: BlockDev.GetUserspaceAccessUri |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Aug 22 11:13:34 2016 | http://epydoc.sourceforge.net |