Merge "Add the l3 agent 'host' when logging routers"
This commit is contained in:
@@ -98,7 +98,8 @@ class L3RpcCallback(object):
|
|||||||
if utils.is_extension_supported(
|
if utils.is_extension_supported(
|
||||||
self.plugin, constants.PORT_BINDING_EXT_ALIAS):
|
self.plugin, constants.PORT_BINDING_EXT_ALIAS):
|
||||||
self._ensure_host_set_on_ports(context, host, routers)
|
self._ensure_host_set_on_ports(context, host, routers)
|
||||||
LOG.debug("Routers returned to l3 agent:\n %s",
|
LOG.debug("Routers returned to l3 agent on host %s:\n%s",
|
||||||
|
host,
|
||||||
utils.DelayedStringRenderer(jsonutils.dumps,
|
utils.DelayedStringRenderer(jsonutils.dumps,
|
||||||
routers, indent=5))
|
routers, indent=5))
|
||||||
return routers
|
return routers
|
||||||
|
|||||||
Reference in New Issue
Block a user