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_path_change_handler" if you uses the 
APIs of BGPSpeaker,

http://ryu.readthedocs.io/en/latest/library_bgp_speaker_ref.html#ryu.services.protocols.bgp.bgpspeaker.BGPSpeaker
and application.py will generate the event instance if your application 
observes them.

https://github.com/osrg/ryu/blob/ed2c6eca2227c9efb3c7e51cdd6db6bf578ec609/ryu/services/protocols/bgp/application.py#L141-L171

Thanks,
Iwase

On 2017年11月24日 21:32, Pynbiang Hadem wrote:
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


------------------------------------------------------------------------------
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


------------------------------------------------------------------------------
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