Revision ad6f2bf3

b/lib/constants.py
502 502
# rbd tool command
503 503
RBD_CMD = "rbd"
504 504

  
505
# file backend driver
506 505
FD_BLKTAP = _constants.FD_BLKTAP
507 506
FD_LOOP = _constants.FD_LOOP
507
FILE_DRIVER = _constants.FILE_DRIVER
508 508

  
509 509
LDS_DRBD = _constants.LDS_DRBD
510 510

  
......
552 552
#: Give child process up to 5 seconds to exit after sending a signal
553 553
CHILD_LINGER_TIMEOUT = 5.0
554 554

  
555
FILE_DRIVER = compat.UniqueFrozenset([FD_LOOP, FD_BLKTAP])
556 555

  
557 556
# import/export config options
558 557
INISECT_EXP = "export"
b/src/Ganeti/HsConstants.hs
519 519
fdLoop :: String
520 520
fdLoop = Types.fileDriverToRaw FileLoop
521 521

  
522
fileDriver :: FrozenSet String
523
fileDriver =
524
  ConstantUtils.mkSet $
525
  map Types.fileDriverToRaw [minBound..]
526

  
522 527
-- | The set of drbd-like disk types
523 528
ldsDrbd :: FrozenSet String
524 529
ldsDrbd = ConstantUtils.mkSet [Types.diskTemplateToRaw DTDrbd8]

Also available in: Unified diff