Revision 88f8f0f7 lib/constants.py
b/lib/constants.py | ||
---|---|---|
367 | 367 |
DT_BLOCK = "blockdev" |
368 | 368 |
|
369 | 369 |
# the set of network-mirrored disk templates |
370 |
DTS_NET_MIRROR = frozenset([DT_DRBD8])
|
|
370 |
DTS_INT_MIRROR = frozenset([DT_DRBD8])
|
|
371 | 371 |
|
372 | 372 |
# the set of externally-mirrored disk templates (e.g. SAN, NAS) |
373 | 373 |
DTS_EXT_MIRROR = frozenset([DT_SHARED_FILE, DT_BLOCK]) |
... | ... | |
385 | 385 |
DTS_MUST_ADOPT = frozenset([DT_BLOCK]) |
386 | 386 |
|
387 | 387 |
# the set of disk templates that allow migrations |
388 |
DTS_MIRRORED = frozenset.union(DTS_NET_MIRROR, DTS_EXT_MIRROR)
|
|
388 |
DTS_MIRRORED = frozenset.union(DTS_INT_MIRROR, DTS_EXT_MIRROR)
|
|
389 | 389 |
|
390 | 390 |
|
391 | 391 |
# logical disk types |
Also available in: Unified diff