To reach consistency by how we manage different
categorizations of disk templates, this patch
introduces the set of disk templates which are lvm-based:
'DTS_LVM'.
Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
DRBD_B_DISK_DRAIN = _constants.DRBD_B_DISK_DRAIN
DRBD_B_DISK_FLUSH = _constants.DRBD_B_DISK_FLUSH
+# the set of lvm-based disk templates
+DTS_LVM = DISK_TEMPLATES - DTS_NOT_LVM
+
# Valid barrier combinations: "n" or any non-null subset of "bfd"
DRBD_VALID_BARRIER_OPT = compat.UniqueFrozenset([
frozenset([DRBD_B_NONE]),