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
This commit is contained in:
parent
000feab26b
commit
2fe2efc55d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue