Esempio 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()
Esempio 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()
Esempio 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()
Esempio 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()
Esempio 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()
Esempio 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()
Esempio 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()