Merge "Add the l3 agent 'host' when logging routers"

This commit is contained in:
Jenkins
2016-09-02 00:09:33 +00:00
committed by Gerrit Code Review

View File

@@ -98,7 +98,8 @@ class L3RpcCallback(object):
if utils.is_extension_supported(
self.plugin, constants.PORT_BINDING_EXT_ALIAS):
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,
routers, indent=5))
return routers