]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Log configuration values for OFA agent
authorfumihiko kakuma <kakuma@valinux.co.jp>
Fri, 7 Mar 2014 05:03:14 +0000 (14:03 +0900)
committerMark McClain <mmcclain@yahoo-inc.com>
Fri, 4 Apr 2014 22:28:30 +0000 (18:28 -0400)
When other agents start up, they log the configuration values
to their logs. This patch adds the same feature to the
Openflow agent.

fixes bug 1289139

Change-Id: Ibab20154805a12ec265a2499cbfd6c376c376130
(cherry picked from commit 7d1e49a08a170ecf4e2546b25c67d4a8d41fd34a)

neutron/plugins/ofagent/agent/ofa_neutron_agent.py

index 7c5beee176746d97ac49879a5d112a6307d82a63..c6e65e5b6a42df8f4231eda6e299b8848618bcd2 100644 (file)
@@ -167,6 +167,7 @@ class OFANeutronAgentRyuApp(app_manager.RyuApp):
 
     def _agent_main(self, ryuapp):
         cfg.CONF.register_opts(ip_lib.OPTS)
+        n_utils.log_opt_values(LOG)
 
         try:
             agent_config = create_agent_config_map(cfg.CONF)