Safe Haskell | None |
---|
- data Connection
- data Domain
- data Network
- type DomainID = CInt
- data DomainInfo = DomainInfo {
- diState :: DomainState
- diMaxMem :: Integer
- diMemory :: Integer
- diNrVirtCPU :: Int
- diCPUTime :: Integer
- data DomainState
- data Stream
- data DomainCreateFlags
- data DomainXMLFlags
- data SecurityLabel = SecurityLabel {
- slLabel :: String
- slEnforcing :: Int
- data SecurityModel = SecurityModel {}
- data NodeInfo = NodeInfo {}
- data SchedParameterType
- data ConnectCredential = ConnectCredential {
- ccType :: Int
- ccPrompt :: String
- ccChallenge :: String
- ccDefresult :: String
- ccResult :: String
- ccResultLen :: Integer
- initialize :: IO Int
- openConnection :: String -> IO Connection
- closeConnection :: Connection -> IO Int
- runningDomainsCount :: Connection -> IO Int
- definedDomainsCount :: Connection -> IO Int
- runningDomainsIDs :: Connection -> IO [DomainID]
- definedDomainsNames :: Connection -> IO [String]
- lookupDomainID :: Connection -> DomainID -> IO Domain
- lookupDomainName :: Connection -> String -> IO Domain
- getDomainInfo :: Domain -> IO DomainInfo
- getDomainXML :: Domain -> [DomainXMLFlags] -> IO String
- defineDomainXML :: Connection -> String -> IO Domain
- undefineDomain :: Domain -> IO Int
- getDomainID :: Domain -> IO DomainID
- getDomainName :: Domain -> IO String
- createDomain :: Domain -> IO Int
- createDomainXML :: Connection -> String -> [DomainCreateFlags] -> IO Domain
- destroyDomain :: Domain -> IO Int
- shutdownDomain :: Domain -> IO Int
- rebootDomain :: Domain -> CUInt -> IO Int
- suspendDomain :: Domain -> IO Int
- resumeDomain :: Domain -> IO Int
- saveDomain :: Domain -> String -> IO Int
- restoreDomain :: Connection -> String -> IO Int
- refDomain :: Domain -> IO Int
- freeDomain :: Domain -> IO Int
- getNetworkConnection :: Network -> IO Connection
- runningNetworksCount :: Connection -> IO Int
- definedNetworksCount :: Connection -> IO Int
- runningNetworksNames :: Connection -> IO [String]
- definedNetworksNames :: Connection -> IO [String]
- lookupNetworkName :: Connection -> String -> IO Network
- lookupNetworkUUID :: Connection -> String -> IO Network
- createNetworkXML :: Connection -> String -> IO Network
- defineNetworkXML :: Connection -> String -> IO Network
- undefineNetwork :: Network -> IO Int
- destroyNetwork :: Network -> IO Int
- createNetwork :: Network -> IO Int
- refNetwork :: Network -> IO Int
- freeNetwork :: Network -> IO Int
- getNetworkName :: Network -> IO String
- getNetworkXML :: Network -> [NetworkXMLFlags] -> IO String
Types
data DomainInfo Source
DomainInfo | |
|
data DomainState Source
data DomainCreateFlags Source
data DomainXMLFlags Source
data SecurityLabel Source
SecurityLabel | |
|
data SchedParameterType Source
data ConnectCredential Source
ConnectCredential | |
|
Connection management functions
closeConnection :: Connection -> IO IntSource
Domains management functions
runningDomainsIDs :: Connection -> IO [DomainID]Source
definedDomainsNames :: Connection -> IO [String]Source
lookupDomainID :: Connection -> DomainID -> IO DomainSource
lookupDomainName :: Connection -> String -> IO DomainSource
getDomainXML :: Domain -> [DomainXMLFlags] -> IO StringSource
defineDomainXML :: Connection -> String -> IO DomainSource
undefineDomain :: Domain -> IO IntSource
getDomainID :: Domain -> IO DomainIDSource
getDomainName :: Domain -> IO StringSource
Domains control
createDomain :: Domain -> IO IntSource
createDomainXML :: Connection -> String -> [DomainCreateFlags] -> IO DomainSource
destroyDomain :: Domain -> IO IntSource
shutdownDomain :: Domain -> IO IntSource
suspendDomain :: Domain -> IO IntSource
resumeDomain :: Domain -> IO IntSource
restoreDomain :: Connection -> String -> IO IntSource
freeDomain :: Domain -> IO IntSource
Networks management
runningNetworksNames :: Connection -> IO [String]Source
definedNetworksNames :: Connection -> IO [String]Source
lookupNetworkName :: Connection -> String -> IO NetworkSource
lookupNetworkUUID :: Connection -> String -> IO NetworkSource
createNetworkXML :: Connection -> String -> IO NetworkSource
defineNetworkXML :: Connection -> String -> IO NetworkSource
undefineNetwork :: Network -> IO IntSource
destroyNetwork :: Network -> IO IntSource
createNetwork :: Network -> IO IntSource
refNetwork :: Network -> IO IntSource
freeNetwork :: Network -> IO IntSource
getNetworkName :: Network -> IO StringSource
getNetworkXML :: Network -> [NetworkXMLFlags] -> IO StringSource