ganeti

Safe HaskellSafe-Infered

Ganeti.Query.Node

Description

Implementation of the Ganeti Query2 node queries.

Synopsis

Documentation

type NodeRuntime = Either RpcError RpcResultNodeInfoSource

NodeRuntime is the resulting type for NodeInfo call.

maybeCollectLiveData :: Bool -> ConfigData -> [Node] -> IO [(Node, NodeRuntime)]Source

Collect live data from RPC query if enabled.

FIXME: Check which fields we actually need and possibly send empty hvsvgs if no info from hypervisorvolume group respectively is required