diff options
-rw-r--r-- | ryu/services/protocols/bgp/bgpspeaker.py | 3 | ||||
-rw-r--r-- | ryu/services/protocols/bgp/peer.py | 9 |
2 files changed, 7 insertions, 5 deletions
diff --git a/ryu/services/protocols/bgp/bgpspeaker.py b/ryu/services/protocols/bgp/bgpspeaker.py index 70a5bc40..d727c728 100644 --- a/ryu/services/protocols/bgp/bgpspeaker.py +++ b/ryu/services/protocols/bgp/bgpspeaker.py @@ -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. diff --git a/ryu/services/protocols/bgp/peer.py b/ryu/services/protocols/bgp/peer.py index 8c17a58b..5f78b3a8 100644 --- a/ryu/services/protocols/bgp/peer.py +++ b/ryu/services/protocols/bgp/peer.py @@ -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 |