neutron_lib.services package

neutron_lib.services package

Submodules

neutron_lib.services.base module

class neutron_lib.services.base.ServicePluginBase

Bases: neutron_lib.services.base.WorkerBase

Define base interface for any Advanced Service plugin.

get_plugin_description()

Return string description of the plugin.

get_plugin_type()

Return one of predefined service types.

supported_extension_aliases = []
class neutron_lib.services.base.WorkerBase

Bases: object

add_worker(worker)

Adds NeutronWorker needed for this service

If a object needs to define workers thread/processes outside of API/RPC workers then it will call this method to register worker. Should be called on initialization stage before running services

add_workers(workers)

Adds NeutronWorker list needed for this service

The same as add_worker but adds a list of workers

get_workers()

Returns a collection NeutronWorker instances needed by this service.

Module contents

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.