Re: [Ryu-devel] openflow table capacity

2017-02-20 Thread Moh'd Reza Abbasi
you desire as it is part of my master thesis. > > > > > > Best Regards, > > > > > > Túlio Pascoal > > > > Em 15 de fev de 2017 10:01, "Moh'd Reza Abbasi" <mr.mrabb...@gmail.com > <mailto:mr.mrabb...@gmail.com>> escre

[Ryu-devel] openflow table capacity

2017-02-14 Thread Moh'd Reza Abbasi
Hello, I would like to know how can I get information regarding the openflow table capacity such as maximum entries, no. of entries installed etc. The max_entries field mentioned here ( https://ryu.readthedocs.io/en/latest/app/ofctl_rest.html#get-table-stats) is for one particular table in the

Re: [Ryu-devel] openflow table capacity

2017-02-15 Thread Moh'd Reza Abbasi
Thank you Tulio and Iwase, I appreciate your responses Yes Tulio, you are right. I like to know about the total flow-table capacity, the maximum entries that can be inserted into the switch. I came to an understanding that openflow "ofp_switch_features" returns the number of tables (n_tables),

[Ryu-devel] Question about switch memory and finding out about flow size

2016-11-28 Thread Moh'd Reza Abbasi
Hello all, I am new to SDN and Ryu controller world, so I have couple of questions: 1. How can I find out about switch TCAM capacity and available memory? 2. How can I find out about a flow size before installing the flow-rules in the switches and establishing the path between the source

[Ryu-devel] question about port stats' duration_sec and duration_nsec

2017-08-15 Thread Moh'd Reza Abbasi
Hi, I was experimenting with ryu, openflow stats request/reply, and mininet. I noticed that duration_sec and duration_nsec are always the same for each reply and they have same values i.e duration_sec = duration_nsec. Is it the right behavior? shouldn't the values be different? Because openflow

Re: [Ryu-devel] question about port stats' duration_sec and duration_nsec

2017-08-17 Thread Moh'd Reza Abbasi
rs=0,rx_frame_err=0,rx_ > over_err=0,rx_crc_err=0,collisions=0, > *duration_sec=739,duration_nsec=14000*) > > What switch do you use? > I guess the problem is in your switch, not in Ryu. > Please ask the development team of your switch. > > Thanks, > Fujimoto >

Re: [Ryu-devel] Ryu appears unaware of status change of powered-off switch

2017-08-09 Thread Moh'd Reza Abbasi
Hello Mathew, I was wondering do you still have the same problem while using topology discovery module? Regards, Reza On Wed, Aug 9, 2017 at 3:41 PM, Matthew Hayes < matthew_john_ha...@hotmail.com> wrote: > Hi all, > > I've found that Ryu does not detect the disconnection of a switch when TCP

[Ryu-devel] How to make sure that flow-mods are processed by some switches?

2017-10-09 Thread Moh'd Reza Abbasi
Hi all, I would like to know how can I ensure that flow_mods sent to the switches are processed by the switches before sending another batch of flow_mods. For e.g I want to insert rules on the switches 1, 2, 3, 4 in two steps. - First, the controller should insert the rules on the switches

[Ryu-devel] How to detect congestion in a network

2018-02-09 Thread Moh'd Reza Abbasi
I would like to know how can I infer if link or links are congested in a network using Ryu controller? Thank you Reza -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org!

Re: [Ryu-devel] How to detect congestion in a network

2018-02-23 Thread Moh'd Reza Abbasi
rx_dropped", "rx_errors" and so on. > http://ryu.readthedocs.io/en/latest/ofproto_v1_3_ref.html#ry > u.ofproto.ofproto_v1_3_parser.OFPPortStatsReply > > Thanks, > Iwase > > > > On 2018年02月09日 18:42, Moh'd Reza Abbasi wrote: > >> I would like to kno

Re: [Ryu-devel] How to know the number of flows

2018-02-28 Thread Moh'd Reza Abbasi
I don't think OpenFlow v.1.3 has such a feature, but how about adding a counter in your Ryu app to keep track of added/removed rules... On Wed, Feb 28, 2018 at 11:53 AM, ‏Eman ‏ Bany salameh via Ryu-devel < ryu-devel@lists.sourceforge.net> wrote: > Hi, > > I need to know the number of flows

Re: [Ryu-devel] extract IPV4 info

2018-10-26 Thread Moh'd Reza Abbasi
Yes, you can. You can do something like this. from ryu.lib.packet import packet from ryu.lib.packet import ipv4 pkt = packet.Packet(msg.data) ip_pkt = pkt.get_protocol(ipv4.ipv4) src, dst = ip_pkt.src, ip_pkt.dst On Fri, Oct 26, 2018 at 5:52 PM Munim Shabir wrote: > Hi Guys, > > Can I extract

Re: [Ryu-devel] extract IPV4 info

2018-10-29 Thread Moh'd Reza Abbasi
You should check if the incoming packet_in is a ipv4 packet or not. If it is not then you will get the above error. On Sat, Oct 27, 2018 at 7:18 PM Moh'd Reza Abbasi wrote: On Fri, Oct 26, 2018 at 7:12 PM Munim Shabir wrote: > okay. So can i print in in event_packet_handler like be

[Ryu-devel] The flow entries are not being installed on the switches

2018-10-31 Thread Moh'd Reza Abbasi
Hey there everyone, I am working on this simple routing application where it proactively finds the shortest and the longest paths from a source to a destination, and installs the flow entries on the switches in a path. It uses networkx.shortest_simple_paths() to calculate the paths (this function

Re: [Ryu-devel] How to Call RyuApp directly in Python Application

2018-11-18 Thread Moh'd Reza Abbasi
I found the following script on the net. I use it to run and debug my ryu apps. You can modify the script according to your need. You need to change the "main_app" to your application name. You should also place this script in the same path as your ryu app (or you might as well specify its path

Re: [Ryu-devel] a problem about queue status

2019-06-10 Thread Moh'd Reza Abbasi
Check the Ryu book. In the QoS chapter, there are some examples of how to use queues. On Mon, Jun 10, 2019 at 11:04 AM paperkid wrote: > > Dear technicians, > > > now,I use ryu to develope an app that SDN controller get port queue status of > switches periodically with OFPQUEUESTATUSREPLY

Re: [Ryu-devel] Dynamic Multipath in Group table

2020-01-28 Thread Moh'd Reza Abbasi
For the bandwidth you can get the stats of the ports at each end of a link and select the port with minimum cap/bandwidth. Of course you have to also calculate the bandwidth usage through flow stats. if you search in google/github you will be able to find some code samples in projects that have