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 service.
Parameters: |
|
---|---|
Returns: | None |
Reload config files and restart service.
Returns: | The return value from reload_config_files or |
---|
mutate_config_files, according to the restart_method.
Stop all services which are currently running.
Returns: | None |
---|
Wait until all services have been stopped, and then return.
Returns: | None |
---|
Bases: object
Launch a service with a given number of workers.
Add instance’s signal handlers to class handlers.
Launch a service with a given number of workers.
Parameters: |
|
---|
Terminate child processes and wait on each.
Loop waiting on children to die and respawning as necessary.
Bases: oslo_service.service.ServiceBase
Service object for binaries running on hosts.
Reset a service in case it received a SIGHUP.
Start a service.
Stop a service.
Parameters: | graceful – indicates whether to wait for all threads to finish or terminate them instantly |
---|
Wait for a service to shut down.
Bases: object
Base class for all services.
Reset service.
Called in case service running in daemon mode receives SIGHUP.
Start service.
Stop service.
Wait for service to complete.
Bases: oslo_service.service.Launcher
Runs one or more service in a parent process.
Set self._handle_signal as a signal handler.
Wait for a service to terminate and restart it on SIGHUP.
Returns: | termination status |
---|
Launch a service with a given number of workers.
Parameters: |
|
---|---|
Returns: | instance of a launcher that was used to launch the service |
Entry point for oslo-config-generator.