Exemple #1
0
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()
Exemple #3
0
def main():
    service.prepare_service()
    rpc.init()
    server = app.build_server()
    try:
        server.serve_forever()
    except KeyboardInterrupt:
        pass
Exemple #4
0
def main():
    service.prepare_service()
    rpc.init()
    processor = orchestrator.Orchestrator()
    try:
        processor.process()
    except KeyboardInterrupt:
        processor.terminate()
Exemple #5
0
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()
Exemple #6
0
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()
Exemple #7
0
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()
Exemple #8
0
def main():
    service.prepare_service()
    CONF.command.func()
Exemple #9
0
def main():
    service.prepare_service()
    CONF.command.func()
Exemple #10
0
def main():
    service.prepare_service()
    init_storage_backend()
Exemple #11
0
def build_wsgi_app(argv=None):
    service.prepare_service()
    return load_app()
Exemple #12
0
def main():
    service.prepare_service()
    init_storage_backend()
Exemple #13
0
def main():
    service.prepare_service()
    command_object = DBCommand()
    CONF.command.func(command_object)
Exemple #14
0
def build_wsgi_app(argv=None):
    service.prepare_service()
    return load_app()
Exemple #15
0
def main():
    service.prepare_service()
    command_object = DBCommand()
    CONF.command.func(command_object)