From 2fe2efc55db4cffe90dd284cb074de81e0efbd4e Mon Sep 17 00:00:00 2001 From: Kevin Benton Date: Fri, 9 Sep 2016 07:52:57 -0700 Subject: [PATCH] LinuxBridge: Pass host into get_devices_details_list Pass the host into get_devices_details_list on the linux bridge agent so the debug logs on the server side don't show "host None". This is mainly just for cosmetics and consistency with the OVS agent since the only thing the host is really used for on the server side is special treatment of DVR ports, which does not currently apply to linux bridge. Change-Id: I700fa26982bdb087cf7ea4b3eb69aec2f2e099c8 Closes-Bug: #1622566 --- neutron/plugins/ml2/drivers/agent/_common_agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neutron/plugins/ml2/drivers/agent/_common_agent.py b/neutron/plugins/ml2/drivers/agent/_common_agent.py index d68c4f957c2..105f9cd10a4 100644 --- a/neutron/plugins/ml2/drivers/agent/_common_agent.py +++ b/neutron/plugins/ml2/drivers/agent/_common_agent.py @@ -214,7 +214,7 @@ class CommonAgentLoop(service.Service): def treat_devices_added_updated(self, devices): try: devices_details_list = self.plugin_rpc.get_devices_details_list( - self.context, devices, self.agent_id) + self.context, devices, self.agent_id, host=cfg.CONF.host) except Exception: LOG.exception(_LE("Unable to get port details for %s"), devices) # resync is needed