Variable for agent instance should be named as 'agent'
instead of plugin.
Change-Id: I9bb2245049c6d6084284c2311a4c6aa2ad880bc1
Closes-Bug: #
1259431
polling_interval = cfg.CONF.AGENT.polling_interval
root_helper = cfg.CONF.AGENT.root_helper
- plugin = LinuxBridgeNeutronAgentRPC(interface_mappings,
- polling_interval,
- root_helper)
+ agent = LinuxBridgeNeutronAgentRPC(interface_mappings,
+ polling_interval,
+ root_helper)
LOG.info(_("Agent initialized successfully, now running... "))
- plugin.daemon_loop()
+ agent.daemon_loop()
sys.exit(0)
# commands target xen dom0 rather than domU.
cfg.CONF.set_default('ip_lib_force_root', True)
- plugin = OVSNeutronAgent(**agent_config)
+ agent = OVSNeutronAgent(**agent_config)
# Start everything.
LOG.info(_("Agent initialized successfully, now running... "))
- plugin.daemon_loop()
+ agent.daemon_loop()
sys.exit(0)