ganeti

Safe HaskellSafe-Infered

Ganeti.Metad.ConfigServer

Description

Configuration server for the metadata daemon.

Synopsis

Documentation

updateConfig :: MVar InstanceParams -> String -> IO ()Source

Update the configuration with the received instance parameters.

acceptConfig :: MVar InstanceParams -> Client -> IO ()Source

Reads messages from clients and update the configuration according to these messages.

acceptClients :: MVar InstanceParams -> Server -> IO ()Source

Loop that accepts clients and dispatches them to an isolated thread that will handle the client's requests.