Hi, If on Python 2.7, BGPSpeaker.rib_get() works well, I guess.
But on Python 3, BGPSpeaker.rib_get() has some problems and does not works well. I have posted the patch for this problem, but it has not been merged into v4.5. https://www.mail-archive.com/[email protected]/msg12232.html I think this patch will be included in the next lease in early next month. Thanks, Iwase On 2016年09月28日 05:18, Paulo Sérgio wrote: > Is it working on version 4.5? > > > Thanks. > > > ________________________________ > De: Iwase Yusuke <[email protected]> > Enviado: terça-feira, 27 de setembro de 2016 02:51 > Para: [email protected] > Cc: [email protected] > Assunto: Re: [Ryu-devel] [BGP] How to get the neighbor's network? > > Hi, > > You can get the BGP routing information by BGPSpeaker.rib_get(). > > http://ryu.readthedocs.io/en/latest/library_bgp_speaker_ref.html#ryu.services.protocols.bgp.bgpspeaker.BGPSpeaker.rib_get > > Thanks, > Iwase > > > On 2016?09?27? 04:15, Paulo Sérgio wrote: >> Hi, I'm building a BGP application and I'm having a problem to get the >> networks from a neighbor. >> >> >> I can get it from a best_path_change_handler because it's contained in a >> EventPrefix object which contains this data, but I can't get it if this >> method is not called, for example after connecting a second peer. >> >> >> So, does anyone know how do I do that? >> >> >> >> ------------------------------------------------------------------------------ >> >> >> >> _______________________________________________ >> Ryu-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/ryu-devel > Ryu-devel Info Page - > SourceForge<https://lists.sourceforge.net/lists/listinfo/ryu-devel> > lists.sourceforge.net > To see the collection of prior postings to the list, visit the Ryu-devel > Archives. Using Ryu-devel: To post a message to all the list members, send ... > > > >> > > > > ------------------------------------------------------------------------------ > > > > _______________________________________________ > Ryu-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ryu-devel > ------------------------------------------------------------------------------ _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
