Revision 47ea2344 src/Ganeti/HsConstants.hs
b/src/Ganeti/HsConstants.hs | ||
---|---|---|
53 | 53 |
import qualified Ganeti.Runtime as Runtime |
54 | 54 |
import Ganeti.Runtime (GanetiDaemon(..), MiscGroup(..), GanetiGroup(..), |
55 | 55 |
ExtraLogReason(..)) |
56 |
import Ganeti.THH (PyValueEx(..)) |
|
56 | 57 |
import Ganeti.Types |
57 | 58 |
import qualified Ganeti.Types as Types |
58 | 59 |
import Ganeti.Confd.Types (ConfdRequestType(..), ConfdReqField(..), |
... | ... | |
3456 | 3457 |
hvMigrationPort, |
3457 | 3458 |
hvXenCmd] |
3458 | 3459 |
|
3460 |
becDefaults :: Map String PyValueEx |
|
3461 |
becDefaults = |
|
3462 |
Map.fromList |
|
3463 |
[ (beMinmem, PyValueEx (128 :: Int)) |
|
3464 |
, (beMaxmem, PyValueEx (128 :: Int)) |
|
3465 |
, (beVcpus, PyValueEx (1 :: Int)) |
|
3466 |
, (beAutoBalance, PyValueEx True) |
|
3467 |
, (beAlwaysFailover, PyValueEx False) |
|
3468 |
, (beSpindleUse, PyValueEx (1 :: Int)) |
|
3469 |
] |
|
3470 |
|
|
3459 | 3471 |
ndcGlobals :: FrozenSet String |
3460 | 3472 |
ndcGlobals = ConstantUtils.mkSet [ndExclusiveStorage] |
3461 | 3473 |
|
Also available in: Unified diff