From: fumihiko kakuma Date: Fri, 7 Mar 2014 05:03:14 +0000 (+0900) Subject: Log configuration values for OFA agent X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=db0bffd199e959432f719dc919d410b21bd02589;p=openstack-build%2Fneutron-build.git Log configuration values for OFA agent 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) --- diff --git a/neutron/plugins/ofagent/agent/ofa_neutron_agent.py b/neutron/plugins/ofagent/agent/ofa_neutron_agent.py index 7c5beee17..c6e65e5b6 100644 --- a/neutron/plugins/ofagent/agent/ofa_neutron_agent.py +++ b/neutron/plugins/ofagent/agent/ofa_neutron_agent.py @@ -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)