Revision 9569d877 src/Ganeti/HsConstants.hs
b/src/Ganeti/HsConstants.hs | ||
---|---|---|
3877 | 3877 |
-- | Intervall at which the queue is polled during upgrades |
3878 | 3878 |
upgradeQueuePollInterval :: Int |
3879 | 3879 |
upgradeQueuePollInterval = 10 |
3880 |
|
|
3881 |
-- * Hotplug Actions |
|
3882 |
|
|
3883 |
hotplugActionAdd :: String |
|
3884 |
hotplugActionAdd = Types.hotplugActionToRaw HAAdd |
|
3885 |
|
|
3886 |
hotplugActionRemove :: String |
|
3887 |
hotplugActionRemove = Types.hotplugActionToRaw HARemove |
|
3888 |
|
|
3889 |
hotplugActionModify :: String |
|
3890 |
hotplugActionModify = Types.hotplugActionToRaw HAMod |
|
3891 |
|
|
3892 |
hotplugAllActions :: FrozenSet String |
|
3893 |
hotplugAllActions = |
|
3894 |
ConstantUtils.mkSet $ map Types.hotplugActionToRaw [minBound..] |
|
3895 |
|
|
3896 |
-- * Hotplug Device Targets |
|
3897 |
|
|
3898 |
hotplugTargetNic :: String |
|
3899 |
hotplugTargetNic = Types.hotplugTargetToRaw HTNic |
|
3900 |
|
|
3901 |
hotplugTargetDisk :: String |
|
3902 |
hotplugTargetDisk = Types.hotplugTargetToRaw HTDisk |
|
3903 |
|
|
3904 |
hotplugAllTargets :: FrozenSet String |
|
3905 |
hotplugAllTargets = |
|
3906 |
ConstantUtils.mkSet $ map Types.hotplugTargetToRaw [minBound..] |
Also available in: Unified diff