Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Ganeti.HTools.AlgorithmParams
Description
Algorithm Options for HTools
This module describes the parameters that influence the balancing algorithm in htools.
Synopsis
- data AlgorithmOptions = AlgorithmOptions {
- algDiskMoves :: Bool
- algInstanceMoves :: Bool
- algRestrictedMigration :: Bool
- algIgnoreSoftErrors :: Bool
- algEvacMode :: Bool
- algMinGain :: Double
- algMinGainLimit :: Double
- algCapacity :: Bool
- algCapacityIgnoreGroups :: [Gdx]
- algRestrictToNodes :: Maybe [String]
- algAcceptExisting :: Bool
- defaultOptions :: AlgorithmOptions
- fromCLIOptions :: Options -> AlgorithmOptions
Documentation
data AlgorithmOptions #
Constructors
AlgorithmOptions | |
Fields
|
defaultOptions :: AlgorithmOptions #
Default options for the balancing algorithm
fromCLIOptions :: Options -> AlgorithmOptions #
Obtain the relevant algorithmic option from the commandline options