mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-08 13:56:09 +02:00
bgp: improved debug message in neighbor creation
show neighbor's IP address instead of meaningless string Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
498611c32d
commit
b1a3201705
@ -176,7 +176,7 @@ class BaseApplication(object):
|
||||
try:
|
||||
bgp_neighbor[neighbors.IP_ADDRESS] = ip
|
||||
call('neighbor.create', **bgp_neighbor)
|
||||
LOG.debug('Added neighbor %s' % neighbors.IP_ADDRESS)
|
||||
LOG.debug('Added neighbor %s' % ip)
|
||||
except RuntimeConfigError as re:
|
||||
LOG.error(re)
|
||||
LOG.error(traceback.format_exc())
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user