ironic.common.rpc_service module

ironic.common.rpc_service module

class ironic.common.rpc_service.RPCService(host, manager_module, manager_class)[source]

Bases: Service

handle_signal()[source]

Add a signal handler for SIGUSR1.

The handler ensures that the manager is not deregistered when it is shutdown.

start()[source]

Start a service.

stop()[source]

Stop a service.

Parameters:

graceful – indicates whether to wait for all threads to finish or terminate them instantly

wait_for_start()[source]
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.