Revision ae8e7986 src/Ganeti/HsConstants.hs

b/src/Ganeti/HsConstants.hs
1293 1293
esParametersFile :: String
1294 1294
esParametersFile = "parameters.list"
1295 1295

  
1296
-- * Reboot types
1297

  
1298
instanceRebootSoft :: String
1299
instanceRebootSoft = Types.rebootTypeToRaw RebootSoft
1300

  
1301
instanceRebootHard :: String
1302
instanceRebootHard = Types.rebootTypeToRaw RebootHard
1303

  
1304
instanceRebootFull :: String
1305
instanceRebootFull = Types.rebootTypeToRaw RebootFull
1306

  
1307
rebootTypes :: FrozenSet String
1308
rebootTypes = ConstantUtils.mkSet $ map Types.rebootTypeToRaw [minBound..]
1309

  
1296 1310
-- * Instance reboot behaviors
1297 1311

  
1298 1312
instanceRebootAllowed :: String
......
1446 1460
   (ndSpindleCount, "SpindleCount")]
1447 1461

  
1448 1462

  
1449
-- * Reboot types
1450 1463

  
1451
instanceRebootSoft :: String
1452
instanceRebootSoft = Types.rebootTypeToRaw RebootSoft
1453 1464

  
1454
instanceRebootHard :: String
1455
instanceRebootHard = Types.rebootTypeToRaw RebootHard
1456 1465

  
1457
instanceRebootFull :: String
1458
instanceRebootFull = Types.rebootTypeToRaw RebootFull
1459 1466

  
1460
rebootTypes :: FrozenSet String
1461
rebootTypes = ConstantUtils.mkSet $ map Types.rebootTypeToRaw [minBound..]
1462 1467

  
1463 1468
-- * OOB supported commands
1464 1469

  

Also available in: Unified diff