Merge "Update some l3-agent log messages"

This commit is contained in:
Zuul 2017-12-15 12:46:03 +00:00 committed by Gerrit Code Review
commit 3249bd193e
1 changed files with 3 additions and 3 deletions

View File

@ -1112,14 +1112,14 @@ class RouterInfo(object):
:param agent: Passes the agent in order to send RPC messages.
"""
LOG.debug("process router delete")
LOG.debug("Process delete, router %s", self.router['id'])
if self.router_namespace.exists():
self._process_internal_ports()
self.agent.pd.sync_router(self.router['id'])
self._process_external_on_delete()
else:
LOG.warning("Can't gracefully delete the router %s: "
"no router namespace found.", self.router['id'])
"no router namespace found", self.router['id'])
@common_utils.exception_logger()
def process(self):
@ -1130,7 +1130,7 @@ class RouterInfo(object):
:param agent: Passes the agent in order to send RPC messages.
"""
LOG.debug("process router updates")
LOG.debug("Process updates, router %s", self.router['id'])
self._process_internal_ports()
self.agent.pd.sync_router(self.router['id'])
self.process_external()