From db0bffd199e959432f719dc919d410b21bd02589 Mon Sep 17 00:00:00 2001 From: fumihiko kakuma Date: Fri, 7 Mar 2014 14:03:14 +0900 Subject: [PATCH] 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) --- neutron/plugins/ofagent/agent/ofa_neutron_agent.py | 1 + 1 file changed, 1 insertion(+) 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) -- 2.45.2