Module polod

marcopolo.polo.polod.graceful_shutdown(*args, **kwargs)[source]

Stops the reactor gracefully

marcopolo.polo.polod.main(args=None)[source]

Starts the daemon.

Parameters:args (list) – List of the console parameters
marcopolo.polo.polod.reload_services(sig, frame)[source]

Captures the SIGUSR1 signal and reloads the services in each Polo object. The signal is ignored during processing.

Parameters:
  • sig (signal) – The signal identifier
  • frame (object) – The current stack frame
marcopolo.polo.polod.start_binding()[source]

Starts the PoloBinding

marcopolo.polo.polod.start_multicast()[source]

Starts a Polo instance for each multicast group configured in conf.MULTICAST_ADDRS, initializing all the data structures