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.

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

Reply via email to