ganeti

Safe HaskellSafe-Infered

Ganeti.Query.Node

Description

Implementation of the Ganeti Query2 node queries.

Synopsis

Documentation

type Runtime = Either RpcError RpcResultNodeInfoSource

Runtime is the resulting type for NodeInfo call.

fieldsMap :: FieldMap Node RuntimeSource

The node fields map.

collectLiveData :: Bool -> ConfigData -> [Node] -> IO [(Node, Runtime)]Source

Collect live data from RPC query if enabled.

FIXME: Check which fields we actually need and possibly send empty hvs/vgs if no info from hypervisor/volume group respectively is required