IWAMOTO,

Thanks for the answer. You appears to be right. I investigate my peers and
in the exactly moment that Ryu announce the prefix i followed the peers
logs. It showed me something strange. Follow the log collected in the
momento of the announcement. Do you have any idea about this issue? It is
really an issue or a normal behavior?

2018-08-13 19:42:32.481 <TRACE> SDNRTR: Got UPDATE
2018-08-13 19:42:32.481 <TRACE> SDNRTR > added [best] 10.3.1.0/24 unicast
2018-08-13 19:42:32.481 <TRACE> kernel1 < added 10.3.1.0/24 unicast
2018-08-13 19:42:32.481 <TRACE> SDNRTR < rejected by protocol 10.3.1.0/24
unicast
2018-08-13 19:42:33.048 <TRACE> SDNRTR: Got UPDATE
2018-08-13 19:42:33.048 <TRACE> SDNRTR > added [best] 10.3.0.0/24 unicast
2018-08-13 19:42:33.048 <TRACE> kernel1 < added 10.3.0.0/24 unicast
2018-08-13 19:42:33.048 <TRACE> SDNRTR < rejected by protocol 10.3.0.0/24
unicast
2018-08-13 19:42:33.049 <TRACE> SDNRTR: Got UPDATE
2018-08-13 19:42:33.049 <TRACE> SDNRTR > added [best] 10.3.1.0/24 unicast
2018-08-13 19:42:33.049 <TRACE> kernel1 < replaced 10.3.1.0/24 unicast
2018-08-13 19:42:33.049 <TRACE> SDNRTR < rejected by protocol 10.3.1.0/24
unicast
2018-08-13 19:42:33.049 <TRACE> SDNRTR: Got UPDATE
2018-08-13 19:42:33.049 <TRACE> SDNRTR > removed [sole] 10.3.1.0/24 unicast
2018-08-13 19:42:33.049 <TRACE> kernel1 < removed 10.3.1.0/24 unicast




2018-08-13 21:25 GMT-03:00 IWAMOTO Toshihiro <iwam...@valinux.co.jp>:

> On Tue, 14 Aug 2018 04:03:59 +0900,
> Marcio wrote:
> >
> > [1  <multipart/alternative (7bit)>]
> > [1.1  <text/plain; UTF-8 (quoted-printable)>]
> > Dear,
> >
> > Please. Someone have any idea what could be happening? I have a
> monitoring
> > routine that when a specific evenc occur i pass some prefixes to my
> RyuApp
> > to execute an announcement. When i use self.bgpspeaker.prefix_add(
> prefix)
> > the output is ok but when i see, only the first neighbor receives the
> > announcement. If i put in init method in my Ryu App it works nicely but
> if
> > i put in other method the prefix is announced only to the first neighbor.
> >
> > What could be the cause of this problem? I can´t put the method execution
> > in my init method because i need only announce if something that i´m
> > monitoring occur.
>
> So advertisements are correctly delivered if a prefix_add call is in
> __init__ but not so otherwise?
>
> I guess your BGP peers are somehow not correctly set up.
> Make sure you have enabled debug level logging. Do the log messages
> give any clue?
>
> > 2018-08-12 11:52 GMT-03:00 Marcio <marciovinicius.san...@uniriotec.br>:
> >
> > > Dear,
> > >
> > > I have a ryu bgpspeaker instance running but when a specific condition
> > > occurs i need to announce a prefix previously defined to all my
> neighbors
> > > using prefix_add method. How could i do that? When i call prefix_add
> method
> > > it is announcing only to the first neighbor(the first interface) but i
> want
> > > to announce throught all bgpspeaker interfaces to all my neighbors.
> > >
> > > How could i achieve that?
> > >
> > > Since now, thanks for help.
> > >
>
> --
> IWAMOTO Toshihiro
>
------------------------------------------------------------------------------
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
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to