mdadm done

This commit is contained in:
brent s
2019-11-06 07:33:15 -05:00
parent 7e6736f6a2
commit f424938913
5 changed files with 177 additions and 26 deletions

View File

@@ -8,17 +8,23 @@ _BlockDev = _common.BlockDev
class PV(object):
def __init__(self, partobj):
def __init__(self, pv_xml, partobj):
self.xml = pv_xml
_common.addBDPlugin('lvm')
self.devpath = None
pass
class VG(object):
def __init__(self, vg_xml, lv_objs):
self.xml = vg_xml
_common.addBDPlugin('lvm')
self.devpath = None
pass
class LV(object):
def __init__(self, lv_xml, pv_objs):
self.xml = lv_xml
_common.addBDPlugin('lvm')
pass