ganeti

Safe HaskellSafe-Infered

Ganeti.Hypervisor.Xen

Description

Module to access the information provided by the Xen hypervisor.

Synopsis

Documentation

getDomainsInfo :: IO (Result (Map String Domain))Source

Get information about the current Xen domains as a map where the domain name is the key. This only includes the information made available by Xen itself.

getInferredDomInfo :: IO (Result (Map String Domain))Source

Get information about the current Xen domains as a map where the domain name is the key. This includes information made available by Xen itself as well as further information that can be inferred by querying Xen multiple times and comparing the results.

getUptimeInfo :: IO (Map Int UptimeInfo)Source

Get information about the uptime of domains, as a map where the domain ID is the key.