[blivet:master 0/3] Splitting MDRaidArrayDevice in sub-hierarchy
mulhern
amulhern at redhat.com
Fri Dec 12 18:35:05 UTC 2014
The first patch is much like it was last time I posted it, just a bit
rebased. I've added a few checks in the MDRaidArrayDevice constructor
that should catch misuses of the super-class constructor when it's a
subclass constructor that's actually wanted.
The second two patches try to dispatch to the appropriate constructor in
the places where that seems required.
mulhern (3):
Factor out MDRaidArrayDevice w/ type in ("mdcontainer",
"mdbiosraidarray")
Change MDRaidArrayDevice to MDBiosRaidArrayDevice.
Distinguish among desired MD*Device constructors in newMDArray().
blivet/__init__.py | 16 +-
blivet/devicelibs/mdraid.py | 2 +-
blivet/devices/__init__.py | 2 +-
blivet/devices/container.py | 18 +--
blivet/devices/md.py | 189 +++++++++++++++--------
blivet/devicetree.py | 5 +-
tests/devicelibs_test/mdraid_interrogate_test.py | 4 +-
tests/devicelibs_test/mdraid_test.py | 1 -
tests/devices_test.py | 14 +-
9 files changed, 158 insertions(+), 93 deletions(-)
--
1.9.3
More information about the anaconda-patches
mailing list