]> 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)
committerfumihiko kakuma <kakuma@valinux.co.jp>
Fri, 7 Mar 2014 05:51:05 +0000 (14:51 +0900)
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

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)