ganeti

Safe HaskellSafe-Infered

Ganeti.HTools.Program.Hcheck

Description

Cluster checker.

Synopsis

Documentation

options :: IO [OptType]Source

Options list and functions.

arguments :: [ArgCompletion]Source

The list of arguments supported by the program.

data Phase Source

Constructors

Initial 
Rebalanced 

data Level Source

Constructors

GroupLvl String 
ClusterLvl 

type GroupStats = ((Group, Double, Int), [Int])Source

htcPrefix :: StringSource

commonData :: Options -> [(String, String)]Source

groupData :: Options -> [(String, String)]Source

clusterData :: Options -> [(String, String)]Source

keysData :: Options -> Level -> [String]Source

phaseDescr :: Phase -> StringSource

descrData :: Options -> Level -> [String]Source

printKeysHTC :: [(String, String)] -> IO ()Source

printBool :: Bool -> Bool -> StringSource

prepareKey :: Level -> Phase -> String -> StringSource

printStats :: Options -> Bool -> Level -> Phase -> [String] -> IO ()Source

extractGroupData :: Bool -> Group -> StringSource

prepareGroupValues :: [Int] -> Double -> Int -> [String]Source

prepareClusterValues :: Bool -> [Int] -> [Bool] -> [String]Source

printGroupStats :: Options -> Bool -> Phase -> GroupStats -> IO ()Source

printClusterStats :: Options -> Bool -> Phase -> [Int] -> Bool -> Int -> IO ()Source

executeSimulation :: Options -> Table -> Double -> Gdx -> List -> List -> IO GroupInfoSource

printFinalHTC :: Bool -> IO ()Source

main :: Options -> [String] -> IO ()Source

Main function.