Package ganeti :: Package server :: Module confd
[hide private]
[frames] | no frames]

Module confd

source code

Ganeti configuration daemon

Ganeti-confd is a daemon to query master candidates for configuration values. It uses UDP+HMAC for authentication with a global cluster key.

Classes [hide private]
  ConfdAsyncUDPServer
The confd udp server, suitable for use with asyncore.
  ConfdConfigurationReloader
Logic to control when to reload the ganeti configuration
Functions [hide private]
 
CheckConfd(_, args)
Initial checks whether to run exit with a failure.
source code
 
PrepConfd(options, _)
Prep confd function, executed with PID file held
source code
 
ExecConfd(options, args, prep_data)
Main confd function, executed with PID file held
source code
 
Main()
Main function for the confd daemon.
source code

Imports: os, sys, logging, time, pyinotify, OptionParser, asyncnotifier, confd, confd_server, constants, errors, daemon, netutils