2019-11-01 02:54:51 -04:00
|
|
|
from . import _common
|
2019-11-06 03:47:08 -05:00
|
|
|
import aif.disk.block as block
|
|
|
|
import aif.disk.luks as luks
|
|
|
|
import aif.disk.mdadm as mdadm
|
2019-10-31 18:32:56 -04:00
|
|
|
|
2019-11-06 03:47:08 -05:00
|
|
|
|
|
|
|
_BlockDev = _common.BlockDev
|
|
|
|
|
|
|
|
|
|
|
|
class PV(object):
|
2019-11-06 07:33:15 -05:00
|
|
|
def __init__(self, pv_xml, partobj):
|
|
|
|
self.xml = pv_xml
|
|
|
|
_common.addBDPlugin('lvm')
|
2019-11-06 03:47:08 -05:00
|
|
|
self.devpath = None
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
class VG(object):
|
|
|
|
def __init__(self, vg_xml, lv_objs):
|
2019-11-06 07:33:15 -05:00
|
|
|
self.xml = vg_xml
|
|
|
|
_common.addBDPlugin('lvm')
|
2019-11-06 03:47:08 -05:00
|
|
|
self.devpath = None
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
class LV(object):
|
|
|
|
def __init__(self, lv_xml, pv_objs):
|
2019-11-06 07:33:15 -05:00
|
|
|
self.xml = lv_xml
|
|
|
|
_common.addBDPlugin('lvm')
|
2019-11-06 03:47:08 -05:00
|
|
|
pass
|