Hi Fujita, Thanks for replying!
I did check with LINC and it looks like they do support queue feature, but not sure if the feature is compatible with RYU. I would also look into the OVS. Thanks! Regards Renuka ________________________________________ From: FUJITA Tomonori [[email protected]] Sent: Saturday, March 22, 2014 1:34 AM To: Arya, Renuka [BSD] - MED Cc: [email protected] Subject: Re: [Ryu-devel] Flow entries in RYU_QOS script for providing QoS to the flows On Fri, 21 Mar 2014 14:39:54 +0000 "Arya, Renuka [BSD] - MED" <[email protected]> wrote: > The RYU-QOS scrip, I am talking about is at : > https://github.com/hu6360567/ryu-qos > > I am using qosBTvms13.py script. I am not sure, if I understood, where to add > entries for providing QoS for a particular flow. I believe the following > piece of code is setting up the queue for the flow. I did added the src MAC > address of the flow I wanted to get the Queue attached. > > # install a flow to avoid packet_in next time > if out_port != ofproto.OFPP_FLOOD: > if src in self.qos_list: > match = parser.OFPMatch(in_port=in_port, eth_src=src, > eth_dst=dst) > actions.insert(0,parser.OFPActionSetQueue(2)) > else: > match = parser.OFPMatch(in_port=in_port, eth_dst=dst) > self.add_flow(datapath, 1, match, actions) > > > > > > The only changes I made to the code: > > Added the MAC address of the source: > self.qos_list = ['00:60:dd:44:96:e4'] > > Replace the action part in the above piece of code with: > actions.insert(0,parser.OFPActionSetQueue(1)) > > I am using LINC as my openflowswicth and I have defined the Queue 1 in the > switch configuration file and has attached it to the physical port Port 1 > (physical port eth5) Sounds ok from Ryu's perspective. > When I run nuttcp tests and provide it a rate of 100 mbps, I see a rate of > 100 mbps. However, in the queue I have {queue, 1, [{min_rate, 10}, {max_rate, > 30}]}. > > I am not sure if it is supposed to work this way or no?Please advice! I'm not sure how LINC queue is configured or even the feature works or not. I would recommend you to access to LINC developers. Using OVS might be another option. The original code uses OVS so I guess that probably the feature works. ________________________________ This email is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged and confidential. If the reader of this email message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is prohibited. If you have received this email in error, please notify the sender and destroy/delete all copies of the transmittal. Thank you. ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
