Add `drbdsetup show` parser for DRBD 8.4
Common functionality between the DRBD 8.3 and DRBD 8.4 parser has been extracted into BaseShowInfo. A test which verifies the behaviour is included, but the DRBD84ShowInfo class is not yet used within the DRBD8 class. Signed-off-by:Thomas Thrainer <thomasth@google.com> Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
Showing
- Makefile.am 1 addition, 0 deletionsMakefile.am
- lib/block/drbd.py 11 additions, 8 deletionslib/block/drbd.py
- lib/block/drbd_info.py 131 additions, 63 deletionslib/block/drbd_info.py
- test/data/bdev-drbd-8.4.txt 19 additions, 0 deletionstest/data/bdev-drbd-8.4.txt
- test/py/ganeti.block.bdev_unittest.py 23 additions, 8 deletionstest/py/ganeti.block.bdev_unittest.py
Loading
Please register or sign in to comment