Hi,
To setup a BGP speaker instance and send UPDATE messages in Ryu, you can use BGPSpeaker
and its methods.
For example, you can advertise IPv4/IPv6 unicast routes by BGPSpeaker.prefix_add().
http://ryu.readthedocs.io/en/latest/library_bgp_speaker_ref.html#ryu.services.protocols.bgp.bgpspeaker.BGPSpeaker.prefix_add
And to create your own BGP application, inheriting "RyuBGPSpeaker" is the easiest way,
I guess.
https://github.com/osrg/ryu/blob/master/ryu/services/protocols/bgp/application.py
This application can be run with basic configuration file;
https://github.com/osrg/ryu/blob/master/ryu/services/protocols/bgp/bgp_sample_conf.py
e.g.)
# ryu-manager --bgp-app-config-file ryu/services/protocols/bgp/bgp_sample_conf.py
ryu/services/protocols/bgp/application.py
Please not that for running BGP speaker, you need the root privilege in order to
listen on 179 port (well-known port).
Thanks,
Iwase
Hi,
I have set up two Autonomous Systems in mininet AS1 & AS2. I want to create an inter-AS
communication between the two AS using BGP Update Messages. Pls guide me how to achieve this.
a) How to create the BGP Update Message.
b) How to send it from AS1 to AS2 and vice-versa.
c) Any available documentation on this?.
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
https://lists.sourceforge.net/lists/listinfo/ryu-devel