Commit 7f6d0b05 authored by Helga Velroyen's avatar Helga Velroyen
Browse files

Replace GetLvmDiskTemplates by 'DTS_LVM'



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: default avatarHelga Velroyen <helgav@google.com>
Reviewed-by: default avatarKlaus Aehlig <aehlig@google.com>
parent 645bba3a
......@@ -328,6 +328,9 @@ DRBD_B_DISK_BARRIERS = _constants.DRBD_B_DISK_BARRIERS
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]),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment