ganeti-htoolsSource codeContentsIndex
Ganeti.HTools.Simu
Description

Parsing data from a simulated description of the cluster

This module holds the code for parsing a cluster description.

Synopsis
parseDesc :: String -> Result (Int, Int, Int, Int)
loadData :: String -> IO (Result (AssocList, AssocList, [String]))
Documentation
parseDesc :: String -> Result (Int, Int, Int, Int)Source
Parse the string description into nodes
loadDataSource
:: StringCluster description in text format
-> IO (Result (AssocList, AssocList, [String]))
Builds the cluster data from node/instance files.
Produced by Haddock version 2.4.2