Rename DRBD8 to DRBD8Dev
Right now the DRBD8 class has multiple responsibilities: a) it reprensents a device which can be set up, grown, etc. and b) it represents the whole DRBD system on a node which has a usermode helper, which knows how to shut down _all_ devices, etc. Therefore, the DRBD8Dev class will only be responsible for a device, whereas the soon to be extraced DRBD8 class is responsible for the DRBD system. Signed-off-by:Thomas Thrainer <thomasth@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
Showing
- lib/backend.py 3 additions, 3 deletionslib/backend.py
- lib/block/bdev.py 1 addition, 1 deletionlib/block/bdev.py
- lib/block/drbd.py 5 additions, 5 deletionslib/block/drbd.py
- lib/block/drbd_info.py 1 addition, 1 deletionlib/block/drbd_info.py
- lib/bootstrap.py 1 addition, 1 deletionlib/bootstrap.py
- lib/cmdlib.py 1 addition, 1 deletionlib/cmdlib.py
- lib/watcher/nodemaint.py 2 additions, 2 deletionslib/watcher/nodemaint.py
- test/py/ganeti.block.drbd_unittest.py 7 additions, 7 deletionstest/py/ganeti.block.drbd_unittest.py
Loading
Please register or sign in to comment