def main(): eventlet.monkey_patch() register_options() cfg.CONF(project='quantum') config.setup_logging(cfg.CONF) server = quantum_service.Service.create( binary='quantum-dhcp-agent', topic=topics.DHCP_AGENT, report_interval=cfg.CONF.AGENT.report_interval, manager='quantum.agent.dhcp_agent.DhcpAgentWithStateReport') service.launch(server).wait()
def main(): eventlet.monkey_patch() conf = cfg.CONF conf.register_opts(L3NATAgent.OPTS) conf.register_opts(interface.OPTS) conf.register_opts(external_process.OPTS) conf(sys.argv) config.setup_logging(conf) server = quantum_service.Service.create(binary='quantum-l3-agent', topic=topics.L3_AGENT) service.launch(server).wait()
def main(): eventlet.monkey_patch() conf = cfg.CONF config.register_root_helper(conf) conf.register_opts(ServiceAgent.OPTS) conf() config.setup_logging(conf) manager = 'quantum.agent.services.service_agent.ServiceAgent' server = quantum_service.Service.create(binary='quantum-svc-agent', topic=topics.SVC_AGENT, manager=manager) service.launch(server).wait()
def main(): eventlet.monkey_patch() conf = cfg.CONF conf.register_opts(L3NATAgent.OPTS) config.register_agent_state_opts_helper(conf) config.register_root_helper(conf) conf.register_opts(interface.OPTS) conf.register_opts(external_process.OPTS) conf() config.setup_logging(conf) server = quantum_service.Service.create( binary='quantum-l3-agent', topic=topics.L3_AGENT, report_interval=cfg.CONF.AGENT.report_interval) service.launch(server).wait()
def main(): eventlet.monkey_patch() cfg.CONF.register_opts(DhcpAgent.OPTS) config.register_agent_state_opts_helper(cfg.CONF) config.register_root_helper(cfg.CONF) cfg.CONF.register_opts(DeviceManager.OPTS) cfg.CONF.register_opts(DhcpLeaseRelay.OPTS) cfg.CONF.register_opts(dhcp.OPTS) cfg.CONF.register_opts(interface.OPTS) cfg.CONF(project='quantum') config.setup_logging(cfg.CONF) server = quantum_service.Service.create( binary='quantum-dhcp-agent', topic=topics.DHCP_AGENT, report_interval=cfg.CONF.AGENT.report_interval) service.launch(server).wait()
def main(): eventlet.monkey_patch() conf = cfg.CONF conf.register_opts(L3NATAgent.OPTS) config.register_agent_state_opts_helper(conf) config.register_root_helper(conf) conf.register_opts(interface.OPTS) conf.register_opts(external_process.OPTS) conf(project='quantum') config.setup_logging(conf) server = quantum_service.Service.create( binary='quantum-l3-agent', topic=topics.L3_AGENT, report_interval=cfg.CONF.AGENT.report_interval, manager='quantum.agent.l3_agent.L3NATAgentWithStateReport') service.launch(server).wait()
def main(): eventlet.monkey_patch() cfg.CONF.register_opts(OPTS) cfg.CONF.register_opts(manager.OPTS) # import interface options just in case the driver uses namespaces cfg.CONF.register_opts(interface.OPTS) config.register_root_helper(cfg.CONF) cfg.CONF(project='quantum') config.setup_logging(cfg.CONF) mgr = manager.LbaasAgentManager(cfg.CONF) svc = LbaasAgentService(host=cfg.CONF.host, topic=plugin_driver.TOPIC_LOADBALANCER_AGENT, manager=mgr) service.launch(svc).wait()
def main(): eventlet.monkey_patch() cfg.CONF.register_opts(OPTS) cfg.CONF.register_opts(manager.OPTS) # import interface options just in case the driver uses namespaces cfg.CONF.register_opts(interface.OPTS) config.register_root_helper(cfg.CONF) cfg.CONF(project='quantum') config.setup_logging(cfg.CONF) mgr = manager.LbaasAgentManager(cfg.CONF) svc = LbaasAgentService( host=cfg.CONF.host, topic=topics.LOADBALANCER_AGENT, manager=mgr ) service.launch(svc).wait()