Generic Node base class for all workers that run on hosts.
-
class heat.openstack.common.service.Launcher[source]
Bases: object
Launch one or more services and wait for them to complete.
-
launch_service(service)[source]
Load and start the given service.
Parameters: | service – The service you would like to start. |
Returns: | None |
-
static run_service(service)[source]
Start and wait for a service to finish.
Parameters: | service – service to run and wait for. |
Returns: | None |
-
stop()[source]
Stop all services which are currently running.
-
wait()[source]
Waits until all services have been stopped, and then returns.
-
class heat.openstack.common.service.ProcessLauncher[source]
Bases: object
-
launch_service(service, workers=1)[source]
-
wait()[source]
Loop waiting on children to die and respawning as necessary
-
class heat.openstack.common.service.Service(threads=1000)[source]
Bases: object
Service object for binaries running on hosts.
-
start()[source]
-
stop()[source]
-
wait()[source]
-
class heat.openstack.common.service.ServiceLauncher[source]
Bases: heat.openstack.common.service.Launcher
-
wait()[source]
-
class heat.openstack.common.service.ServiceWrapper(service, workers)[source]
Bases: object
-
exception heat.openstack.common.service.SignalExit(signo, exccode=1)[source]
Bases: exceptions.SystemExit
-
heat.openstack.common.service.launch(service, workers=None)[source]