I don't think that HTB works on a virtual interface anyhow; I believe
that it needs a fixed link speed.

I think that mininet can do what you want, so you might want to ask on a
mininet mailing list.

On Tue, May 03, 2016 at 07:29:58PM +0000, fatt 3issam wrote:
> Thank you.If I understood, No version of OpenFlow can tell me max and min 
> rates of a queue on an OVS and I totally can't force a link-rate  nor a port 
> speed by any means in OVS because they are virtual interfaces. What should I 
> do then to limit the bandwidth in a simulated network of Open VSwitches?!
> > Date: Tue, 3 May 2016 10:12:54 -0700
> > From: b...@ovn.org
> > To: fat...@hotmail.com
> > CC: discuss@openvswitch.org
> > Subject: Re: [ovs-discuss] ovs-ofctl queue-get-config issue
> > 
> > On Tue, May 03, 2016 at 11:38:49AM +0000, fatt 3issam wrote:
> > > When executing the command: # ovs-ofctl queue-get-config swicth 
> > > switch-port, i only get the queue id!! 
> > > OFPT_QUEUE_GET_CONFIG_REPLY (OF1.3) (xid=0x4): port=2queue 0:
> > > I want to get the queue properties also!
> > > my queue configuration is: # ovs-vsctl set port switch-port qos=@newqos 
> > > -- --id=@newqos create qos type=linux-htb other-config:max-rate=20000000 
> > > queues:0=@newqueue -- --id=@newqueue create queue 
> > > other-config:min-rate=1000000 other-config:max-rate=1000000
> > > Does anyone know what's the problem here? I also checked wireshark for 
> > > OFPT_QUEUE_GET_CONFIG_REPLY packets and it doesn't give any properties 
> > > too (only the queue id, the port, length and pad) although it should give 
> > > them based on OpenFlow specifications.
> > > I'm I doing something wrong?
> > 
> > OpenFlow doesn't define min-rate and max-rate in a way compatible with
> > Open vSwitch: it wants them as a percentage of the line rate, whereas
> > Linux specifies them in absolute terms.  No one has written code to do
> > the conversion yet.
>                                         
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to