Revision 54e8f65d src/Ganeti/HsConstants.hs
b/src/Ganeti/HsConstants.hs | ||
---|---|---|
3427 | 3427 |
ndcGlobals :: FrozenSet String |
3428 | 3428 |
ndcGlobals = ConstantUtils.mkSet [ndExclusiveStorage] |
3429 | 3429 |
|
3430 |
-- | All of the following values are quite arbitrary - there are no |
|
3431 |
-- "good" defaults, these must be customised per-site |
|
3432 |
ispecsMinmaxDefaults :: Map String (Map String Int) |
|
3433 |
ispecsMinmaxDefaults = |
|
3434 |
Map.fromList |
|
3435 |
[(ispecsMin, |
|
3436 |
Map.fromList |
|
3437 |
[(ConstantUtils.ispecMemSize, Types.iSpecMemorySize Types.defMinISpec), |
|
3438 |
(ConstantUtils.ispecCpuCount, Types.iSpecCpuCount Types.defMinISpec), |
|
3439 |
(ConstantUtils.ispecDiskCount, Types.iSpecDiskCount Types.defMinISpec), |
|
3440 |
(ConstantUtils.ispecDiskSize, Types.iSpecDiskSize Types.defMinISpec), |
|
3441 |
(ConstantUtils.ispecNicCount, Types.iSpecNicCount Types.defMinISpec), |
|
3442 |
(ConstantUtils.ispecSpindleUse, Types.iSpecSpindleUse Types.defMinISpec)]), |
|
3443 |
(ispecsMax, |
|
3444 |
Map.fromList |
|
3445 |
[(ConstantUtils.ispecMemSize, Types.iSpecMemorySize Types.defMaxISpec), |
|
3446 |
(ConstantUtils.ispecCpuCount, Types.iSpecCpuCount Types.defMaxISpec), |
|
3447 |
(ConstantUtils.ispecDiskCount, Types.iSpecDiskCount Types.defMaxISpec), |
|
3448 |
(ConstantUtils.ispecDiskSize, Types.iSpecDiskSize Types.defMaxISpec), |
|
3449 |
(ConstantUtils.ispecNicCount, Types.iSpecNicCount Types.defMaxISpec), |
|
3450 |
(ConstantUtils.ispecSpindleUse, Types.iSpecSpindleUse Types.defMaxISpec)])] |
|
3451 |
|
|
3430 | 3452 |
-- * Confd |
3431 | 3453 |
|
3432 | 3454 |
confdProtocolVersion :: Int |
Also available in: Unified diff