Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Ganeti.HTools.Cluster.AllocatePrimitives
Description
Implementation of the primitives of instance allocation
Synopsis
- allocateOnSingle :: AlgorithmOptions -> List -> Instance -> Ndx -> OpResult AllocElement
- allocateOnPair :: AlgorithmOptions -> [Statistics] -> List -> Instance -> Ndx -> Ndx -> OpResult AllocElement
Documentation
allocateOnSingle :: AlgorithmOptions -> List -> Instance -> Ndx -> OpResult AllocElement #
Tries to allocate an instance on one given node.
allocateOnPair :: AlgorithmOptions -> [Statistics] -> List -> Instance -> Ndx -> Ndx -> OpResult AllocElement #
Tries to allocate an instance on a given pair of nodes.