Make DRBD replication protocol configurable
authorThomas Thrainer <thomasth@google.com>
Tue, 2 Jul 2013 11:56:03 +0000 (13:56 +0200)
committerThomas Thrainer <thomasth@google.com>
Wed, 3 Jul 2013 06:52:29 +0000 (08:52 +0200)
commit65fc238843b18ddd460c8f811ab45aff4eddbd3e
tree902b3c14c78ee97d6cc4bde2391e7434364bb510
parentd352b796702a6439fdc8d2c55f42546beda43aeb
Make DRBD replication protocol configurable

Add a new disk parameter which allows to choose the DRBD replication
protocol. The protocol is fixed to "C" during dual primary mode though.

Signed-off-by: Thomas Thrainer <thomasth@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
lib/constants.py
lib/objects.py
lib/storage/drbd.py