ironic.common.rpc_service module

ironic.common.rpc_service module

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

Bases: oslo_service.service.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
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.