distrax.osds.ceph_osd
class#
This holds the CephOSD Class, with the associated methods for creating and removing OSDs from the system.
- class distrax.osds.ceph_osd.CephOSD(folder='ceph', system_timeout=60, ceph_timeout=5)[source]#
Class for the creation and removal of Ceph OSDs.
To read more about the Ceph OSD please see: https://docs.ceph.com/en/latest/glossary/#term-Ceph-OSD
Examples
>>> osd = CephOSD()
>>> osd = CephOSD(folder="distrax")
- create_osds(devices)[source]#
Create the OSDs devices.
Examples
>>> osd.create_osds(["/dev/ram0", "/dev/ram1"])