The openstack_dashboard.openstack.common.service ModuleΒΆ

Generic Node base class for all workers that run on hosts.

class openstack_dashboard.openstack.common.service.Launcher[source]

Bases: object

Launch one or more services and wait for them to complete.

Launcher.launch_service(service)[source]

Load and start the given service.

Parameters:service – The service you would like to start.
Returns:None
static Launcher.run_service(service)[source]

Start and wait for a service to finish.

Parameters:service – service to run and wait for.
Returns:None
Launcher.stop()[source]

Stop all services which are currently running.

Returns:None
Launcher.wait()[source]

Waits until all services have been stopped, and then returns.

Returns:None
class openstack_dashboard.openstack.common.service.ProcessLauncher[source]

Bases: object

ProcessLauncher.launch_service(service, workers=1)[source]
ProcessLauncher.wait()[source]

Loop waiting on children to die and respawning as necessary.

class openstack_dashboard.openstack.common.service.Service(threads=1000)[source]

Bases: object

Service object for binaries running on hosts.

Service.start()[source]
Service.stop()[source]
Service.wait()[source]
class openstack_dashboard.openstack.common.service.ServiceLauncher[source]

Bases: openstack_dashboard.openstack.common.service.Launcher

ServiceLauncher.wait()[source]
class openstack_dashboard.openstack.common.service.ServiceWrapper(service, workers)[source]

Bases: object

exception openstack_dashboard.openstack.common.service.SignalExit(signo, exccode=1)[source]

Bases: exceptions.SystemExit

openstack_dashboard.openstack.common.service.launch(service, workers=None)[source]

Previous topic

The openstack_dashboard.openstack.common.eventlet_backdoor Module

Next topic

The openstack_dashboard.openstack.common.log Module

This Page