Avoid logging MD5 password for BGP add neighbor
Change-Id: I12e9b23749e40f56e947377409ff2882adc25205
Story: 2009779
Task: 44260
(cherry picked from commit 974ccdabd2
)
This commit is contained in:
parent
83be45d96f
commit
f172a28d2b
@ -193,7 +193,10 @@ def call(symbol, **kwargs):
|
||||
"""Calls/executes BGPS public API identified by given symbol and passes
|
||||
given kwargs as param.
|
||||
"""
|
||||
LOG.info("API method %s called with args: %s", symbol, str(kwargs))
|
||||
LOG.info(
|
||||
"API method %s called with args: %s",
|
||||
symbol,
|
||||
str(dict(kwargs.items() - {'password': kwargs['password']}.items())))
|
||||
|
||||
# TODO(PH, JK) improve the way api function modules are loaded
|
||||
from . import all # noqa
|
||||
|
Loading…
Reference in New Issue
Block a user