Hi,
I think it is depending on your flow entries whether Ryu gets tons of Packet-In
or not. You can write rules to filter packets by "match" and "priority" on your
flow entries.
> Q1. How can I get the packet that I have sent through a host?
For example, to compute the shortest path, how about getting only ARP packets by
Packet-In?
> Q2. Is there any way to stop system generated control traffic?
Writing rules for forwarding to other switch or dropping waste packets reduces
the number of Packet-In for example.
> Q3. Is there any way to get topology without waiting for switch enter event?
You can call API of "ryu.topology" whenever you need the topology info, but you
need (or confirm) your all switches to be connected in order to get whole
topology. The switch enter events can be used to wait for your switches to be
connected.
https://github.com/osrg/ryu/blob/master/ryu/topology/api.py
> Q4. How can I feed real traffic to my network?
I don't know what "real traffic" does exactly mean though, if you have got
captured packets (".pcap" or so), "tcpreplay" can be used to send those packets
into your network.
Thanks,
Iwase
On 2018年03月08日 00:35, MA Moyeen wrote:
Dear Friends
I'm trying to achieve topology initially when the Ryu program runs. I can
collect the information when switch enter event occurs with get _ switch and get
_ links. I want to compute shortest path when I'll send my first packet to the
destination only. But Ryu packet in generates lots of packet.
Q1. How can I get the packet that I have sent through a host?
Q2. Is there any way to stop system generated control traffic?
Q3. Is there any way to get topology without waiting for switch enter event?
Q4. How can I feed real traffic to my network?
I'm using openflow 1.3 and mininet along with Ryu. I'm very new to Ryu and SDN
stuff. Please help me in this regard.
Thank you all in advance for your help.
With Best Regards
M A MOYEEN
MCS student at Dalhousie University Canada
Get Outlook for Android <https://aka.ms/ghei36>
------------------------------------------------------------------------------
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