[ovs-discuss] ovs-ofctl queue-get-config issue

Ben Pfaff blp at ovn.org
Tue May 3 17:12:54 UTC 2016


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.



More information about the discuss mailing list