ConsumerService
(worker_id, conf)[source]¶Bases: cotyledon._service.Service
run
()[source]¶Method representing the service activity
If not implemented the process will just wait to receive an ending signal.
This method is ran into the thread and can block or return as needed
Any exceptions raised by this method will be logged and the worker will exit with status 1.
terminate
(graceful=False)[source]¶Gracefully shutdown the service
This method will be executed when the Service has to shutdown cleanly.
If not implemented the process will just end with status 0.
To customize the exit code, the SystemExit
exception can be
used.
Any exceptions raised by this method will be logged and the worker will exit with status 1.
EventStreamerBase
[source]¶Bases: object
Base class for EventStreamer
A stand in abstract class that defines what methods are stevedore loaded implementations of event streamer is expected to provide.
EventStreamerNeutron
[source]¶Bases: octavia.controller.queue.event_queue.EventStreamerBase
Neutron LBaaS
When you’re using Octavia alongside neutron LBaaS this class provides a mechanism to send updates to neutron LBaaS database via oslo_messaging queues.
EventStreamerNoop
[source]¶Bases: octavia.controller.queue.event_queue.EventStreamerBase
Nop class implementation of EventStreamer
Useful if you’re running in standalone mode and don’t need to send updates to Neutron LBaaS
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.