Generic Node base class for all workers that run on hosts.
Bases: object
Launch one or more services and wait for them to complete.
Load and start the given server.
Parameters: | server – The server you would like to start. |
---|---|
Returns: | None |
Start and wait for a server to finish.
Parameters: | service – Server to run and wait for. |
---|---|
Returns: | None |
Stop all services which are currently running.
Returns: | None |
---|
Waits until all services have been stopped, and then returns.
Returns: | None |
---|
Bases: object
Loop waiting on children to die and respawning as necessary.
Bases: object
Bases: object
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 it 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.
Tasks to be run at a periodic interval.
Bases: nova.service.Launcher
Bases: exceptions.SystemExit
Bases: object
Provides ability to launch API from a ‘paste’ configuration.
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 |
---|