Thanks Iwase.
After weighing the pros and cons I think the solution pointed out by you
below seems to be the Most appropriate.
https://github.com/osrg/ryu/blob/7f6d8730ab321412e410f0eb65b
8fba6947cd380/ryu/services/protocols/bgp/speaker.py#L353
I will get back to you incase of any further doubt(s)
Hi Hadem,
> *I guess your suggestion about using the socket method may be the best
option. *Have you ever tried
> the socket approach?.
I haven't tried it yet because with this approach, it is required to handle the
manners of the BGP
protocol (e.g., sending the OPEN message when established,
Hi Iwase,
Regarding the *EventBestPathChanged *question i asked in the previous mail,
i think i may hove got the wrong idea.
I guess I'm a little confused about the *EventBestPathChanged.*
*I guess your suggestion about using the socket method may be the best
option. *Have you ever tried the sock
Hi Iwase,
Thanks for the response. Changing the source code may not be the best
option as there are disadvantages involved.
What about using the *"EventBestPathChanged(best_path_change_handler)*"
event handler?. Do you think we can catch the BGP Update messages using
this event?.
Regards
Hadem
Hi Hadem,
Please let me know what "process" exactly means.
You mean receiving all BGP UPDATE messages in your application, right?
Currently, Ryu BGP service does not provide the APIs to pass the received BGP
Update messages to
other applications, so you need to manually open socket, parse the r
Hi Iwase,
Actually, i want to process the BGP Update messages in my application.
Pls suggest how this can be done.
Thanks
Hadem
On Mon, Nov 27, 2017 at 12:54 PM, Iwase Yusuke
wrote:
> Hi Hadem,
>
> You don't need to handle (receive, extract attributes and so on) the BGP
> UPDATE messages direc
Hi Hadem,
You don't need to handle (receive, extract attributes and so on) the BGP UPDATE
messages directly.
Ryu BGP service does handle the BGP messages, then notify the updates of the
best path or connect/
disconnect of neighbors as the "events".
For example, Ryu will call the given "best_pat
Hi,
I have two Autonomous Systems AS1 and AS2. I am able to send BGP update
message from AS1 to AS2 and vice versa. I want to process the BGP update
messages in my RYU application. I'm a little confused how to achieve that.
Pls help.
Thanks
Hadem
-