ganeti-3.1: Cluster-based virtualization management software
Safe HaskellSafe-Inferred
LanguageHaskell2010

Ganeti.Hypervisor.Xen

Description

Module to access the information provided by the Xen hypervisor.

Synopsis

Documentation

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

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)) #

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) #

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

data Domain #

Data type representing a Xen Domain.

Constructors

Domain 

Fields

Instances

Instances details
Show Domain # 
Instance details

Defined in Ganeti.Hypervisor.Xen.Types

Methods

showsPrec :: Int -> Domain -> ShowS

show :: Domain -> String

showList :: [Domain] -> ShowS

Eq Domain # 
Instance details

Defined in Ganeti.Hypervisor.Xen.Types

Methods

(==) :: Domain -> Domain -> Bool

(/=) :: Domain -> Domain -> Bool

data UptimeInfo #

Constructors

UptimeInfo 

Fields

Instances

Instances details
Show UptimeInfo # 
Instance details

Defined in Ganeti.Hypervisor.Xen.Types

Methods

showsPrec :: Int -> UptimeInfo -> ShowS

show :: UptimeInfo -> String

showList :: [UptimeInfo] -> ShowS

Eq UptimeInfo # 
Instance details

Defined in Ganeti.Hypervisor.Xen.Types

Methods

(==) :: UptimeInfo -> UptimeInfo -> Bool

(/=) :: UptimeInfo -> UptimeInfo -> Bool