def main(): service.prepare_service() server = app.build_server() try: server.serve_forever() except KeyboardInterrupt: pass
def main(): service.prepare_service() processor = orchestrator.Orchestrator() try: processor.process() except KeyboardInterrupt: processor.terminate()
def main(): service.prepare_service() rpc.init() server = app.build_server() try: server.serve_forever() except KeyboardInterrupt: pass
def main(): service.prepare_service() rpc.init() processor = orchestrator.Orchestrator() try: processor.process() except KeyboardInterrupt: processor.terminate()
def main(): service.prepare_service() # NOTE(mc): This import is done here to ensure that the prepare_service() # function is called before any cfg option. By importing the orchestrator # file, the utils one is imported too, and then some cfg options are read # before the prepare_service(), making cfg.CONF returning default values # systematically. from cloudkitty import orchestrator orchestrator.CloudKittyServiceManager().run()
def main(): service.prepare_service() # NOTE(mc): This import is done here to ensure that the prepare_service() # function is called before any cfg option. By importing the orchestrator # file, the utils one is imported too, and then some cfg options are read # before the prepare_service(), making cfg.CONF returning default values # systematically. from cloudkitty import orchestrator orchestrator.OrchestratorServiceManager().run()
def main(): service.prepare_service() # NOTE(mc): This import is done here to ensure that the prepare_service() # fonction is called before any cfg option. By importing the orchestrator # file, the utils one is imported too, and then some cfg option are read # before the prepare_service(), making cfg.CONF returning default values # systematically. from cloudkitty import orchestrator processor = orchestrator.Orchestrator() try: processor.process() except KeyboardInterrupt: processor.terminate()
def main(): service.prepare_service() CONF.command.func()
def main(): service.prepare_service() init_storage_backend()
def build_wsgi_app(argv=None): service.prepare_service() return load_app()
def main(): service.prepare_service() command_object = DBCommand() CONF.command.func(command_object)