Hi Jordi,

Thank you for testing my patch!


On 2017年02月14日 21:03, Jordi Bisbal wrote:
> Hi Iwase,
> 
> First of all thank you for your information and the patch. I have tried to 
> implement it and the code is initializing well The problem is when they want 
> to start to communicate with the other addr, I get this error: error: [Errno 
> 111] ECONNREFUSED
> 
> More detailed information about the error: 
> 
> Connect TCP called for 10.254.103.121:179 <http://10.254.103.121:179>
> Peer 10.254.103.121 BGP FSM went from Connect to Active
> Socket could not be created in time (30 secs), reason Traceback (most recent 
> call last):
>   File 
> "/usr/local/lib/python2.7/dist-packages/ryu/services/protocols/bgp/peer.py", 
> line 1291, in _connect_loop
>     password=password)
>   File 
> "/usr/local/lib/python2.7/dist-packages/ryu/services/protocols/bgp/base.py", 
> line 410, in _connect_tcp
>     sock.connect(peer_addr)
>   File "/usr/lib/python2.7/dist-packages/eventlet/greenio/base.py", line 242, 
> in connect
>     socket_checkerr(fd)
>   File "/usr/lib/python2.7/dist-packages/eventlet/greenio/base.py", line 46, 
> in socket_checkerr
>     raise socket.error(err, errno.errorcode[err])
> error: [Errno 111] ECONNREFUSED

Which BGP router are you using?
The above message seems to show that the peer "10.254.103.121" is not listening 
on the port 179.

And I update my patch and post v2:
  https://www.mail-archive.com/[email protected]/msg13083.html

Could you try this?
With v2 patch, Ryu BGPSpeaker could reflect iBGP routes to GoBGP and Cisco 
C7200.


Thanks,
Iwase


> 
> I hope you know what can be.
> 
> Thank you in advance,
> 
> Jordi Bisbal
> 
> 2017-02-07 9:23 GMT+01:00 Iwase Yusuke <[email protected] 
> <mailto:[email protected]>>:
> 
>     Hi Jordi,
> 
>     Here is a patch to implements Route Reflector features into Ryu 
> BGPSpeaker.
>     Could you test my patch?
> 
>     Thanks,
>     Iwase
> 
>     On 2017年02月07日 13:52, Iwase Yusuke wrote:
>     > Hi Jordi,
>     >
>     > Currently, Ryu BGPSpeaker seems not to provide the features for Route 
> Reflector.
>     >
>     > I found "is_route_server_client" option for connecting to neighbors 
> with Route Server mode, though...
>     >   
> http://ryu.readthedocs.io/en/latest/library_bgp_speaker_ref.html#ryu.services.protocols.bgp.bgpspeaker.BGPSpeaker.neighbor_add
>  
> <http://ryu.readthedocs.io/en/latest/library_bgp_speaker_ref.html#ryu.services.protocols.bgp.bgpspeaker.BGPSpeaker.neighbor_add>
>     >
>     > Thanks,
>     > Iwase
>     >
>     > On 2017年02月04日 21:52, Jordi Bisbal wrote:
>     >> Hey,
>     >>
>     >> Is there any example of how to implement a Route Reflector (RR) using 
> the BGP speaker library in Ryu? Or do you have any idea on how to configure 
> it? I have already deployed a full mesh IBGP architecture, but I would like 
> to implement it also with a RR.
>     >>
>     >> Thank you very much,
>     >>
>     >> Jordi Bisbal
>     >>
>     >>
>     >> 
> ------------------------------------------------------------------------------
>     >> Check out the vibrant tech community on one of the world's most
>     >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>     >>
>     >>
>     >>
>     >> _______________________________________________
>     >> Ryu-devel mailing list
>     >> [email protected] 
> <mailto:[email protected]>
>     >> https://lists.sourceforge.net/lists/listinfo/ryu-devel 
> <https://lists.sourceforge.net/lists/listinfo/ryu-devel>
>     >>
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> 
> 
> 
> _______________________________________________
> Ryu-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
> 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to