bgp: fix pep8 warnings
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
5fc3113d73
commit
9bfba7fd54
@ -224,7 +224,8 @@ class BGPSpeaker(object):
|
||||
``is_next_hop_self`` specifies whether the BGP speaker announces
|
||||
its own ip address to iBGP neighbor or not as path's next_hop address.
|
||||
|
||||
``local_address`` specifies Loopback interface address for iBGP peering.
|
||||
``local_address`` specifies Loopback interface address for
|
||||
iBGP peering.
|
||||
|
||||
``local_port`` specifies source TCP port for iBGP peering.
|
||||
|
||||
|
@ -1038,11 +1038,12 @@ class Peer(Source, Sink, NeighborConfListener, Activity):
|
||||
const.STD_BGP_SERVER_PORT_NUM)
|
||||
|
||||
if bind_addr:
|
||||
LOG.debug('%s trying to connect from %s to %s'
|
||||
% (self, bind_addr, peer_address))
|
||||
LOG.debug('%s trying to connect from'
|
||||
'%s to %s' % (self, bind_addr,
|
||||
peer_address))
|
||||
else:
|
||||
LOG.debug('%s trying to connect to %s'
|
||||
% (self, peer_address))
|
||||
LOG.debug('%s trying to connect to %s' % (self,
|
||||
peer_address))
|
||||
tcp_conn_timeout = self._common_conf.tcp_conn_timeout
|
||||
try:
|
||||
password = self._neigh_conf.password
|
||||
|
Loading…
x
Reference in New Issue
Block a user