Use DRBD84ShowInfo based on DRBD version
authorThomas Thrainer <thomasth@google.com>
Mon, 29 Apr 2013 11:51:24 +0000 (13:51 +0200)
committerMichele Tartara <mtartara@google.com>
Mon, 29 Apr 2013 16:05:37 +0000 (16:05 +0000)
commit27c7d9c3e1a9d44b2349caa27a6f1ce7c3c48461
treef6902da122f97d6fe05d08aa14a380ee5cca95e3
parent5520d04d9c527014473f8513857c016719e37fbc
Use DRBD84ShowInfo based on DRBD version

Now the DRBD8 class actually checks which version of DRBD is running on
the system and chooses the right class to parse the `drbdsetup show`
output.

Signed-off-by: Thomas Thrainer <thomasth@google.com>
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
lib/block/drbd.py