Generic Node base class for all workers that run on hosts.
Bases: oslo_service.service.Service
Service object for binaries running on hosts.
A service takes a manager and enables rpc by listening to queues based on topic. It also periodically runs tasks on the manager and reports its state to the database services table.
Perform basic config checks before starting processing.
Instantiates class and passes back application object.
Parameters: |
|
---|
Destroy the service object in the datastore.
NOTE: Although this method is not used anywhere else than tests, it is convenient to have it here, so the tests might easily and in clean way stop and remove the service_ref.
Tasks to be run at a periodic interval.
Bases: oslo_service.service.Service
Provides ability to launch API from a ‘paste’ configuration.
Reset server greenpool size to default.
Returns: | None |
---|
Start serving this service using loaded configuration.
Also, retrieve updated port number in case ‘0’ was passed in, which indicates a random port should be used.
Returns: | None |
---|
Stop serving this API.
Returns: | None |
---|
Wait for the service to stop serving this API.
Returns: | None |
---|