Exemplo n.º 1
0
def main():
    # Pase config file and command line options, then start logging
    ironic_service.prepare_service(sys.argv)

    mgr = manager.ConductorManager(CONF.host, manager.MANAGER_TOPIC)
    launcher = service.launch(mgr)
    launcher.wait()
Exemplo n.º 2
0
def main():
    # Pase config file and command line options, then start logging
    ironic_service.prepare_service(sys.argv)

    mgr = ironic_service.RPCService(CONF.host, "ironic.conductor.manager", "ConductorManager")
    launcher = service.launch(mgr)
    launcher.wait()
Exemplo n.º 3
0
def main():
    # Pase config file and command line options, then start logging
    ironic_service.prepare_service(sys.argv)

    mgr = manager.ConductorManager(CONF.host, manager.MANAGER_TOPIC)
    launcher = service.launch(mgr)
    launcher.wait()
Exemplo n.º 4
0
def main():
    # Pase config file and command line options, then start logging
    ironic_service.prepare_service(sys.argv)

    mgr = ironic_service.RPCService(CONF.host, 'ironic.conductor.manager',
                                    'ConductorManager')
    launcher = service.launch(mgr)
    launcher.wait()
Exemplo n.º 5
0
def main():
    # Pase config file and command line options, then start logging
    prepare_service(sys.argv)

    topic = 'ironic.manager'
    mgr = manager.ManagerService(CONF.host, topic)
    launcher = service.launch(mgr)
    launcher.wait()
Exemplo n.º 6
0
def main():
    # Pase config file and command line options, then start logging
    ironic_service.prepare_service(sys.argv)

    topic = 'ironic.manager'
    mgr = manager.ManagerService(CONF.host, topic)
    launcher = service.launch(mgr)
    launcher.wait()
Exemplo n.º 7
0
def main():
    # Pase config file and command line options, then start logging
    ironic_service.prepare_service(sys.argv)

    mgr = ironic_service.load_manager('ironic.conductor.manager',
                                      'ConductorManager',
                                       CONF.host)
    launcher = service.launch(mgr)
    launcher.wait()