On Mon, Apr 29, 2013 at 1:51 PM, Thomas Thrainer <[email protected]>wrote:
> As the DRBD8 class got bigger due to the previous merge of BaseDRBD, now > parts of it are ripped out into DRBD8Info. This new class parses > /proc/drbd and exposes the information in an easily accessible way. This > allowed to simplify some methods in DRBD8 and do make the tests more > concise. > > Signed-off-by: Thomas Thrainer <[email protected]> > --- > lib/backend.py | 2 +- > lib/block/drbd.py | 271 > +++++++++++++++++-------------- > lib/watcher/nodemaint.py | 2 +- > test/data/proc_drbd80-emptyline.txt | 1 + > test/hs/Test/Ganeti/Block/Drbd/Parser.hs | 2 +- > test/py/ganeti.block.bdev_unittest.py | 60 ++++--- > 6 files changed, 177 insertions(+), 161 deletions(-) > > LGTM, thanks. Michele
