Hi everyone,

Could you please tell me what I did wrong in this situation?

I wanna set up a rate limiting policy at port of openvswitch. I did as
follow:

+ Create a queue and qos:

ovs-vsctl -- set Port ap5-wlan0 qos=@newqos -- --id=@newqos create QoS
type=linux-htb other-config:max-rate=2000000 queues=0=@q0 -- --id=@q0
create Queue other-config:min-rate=2000000

(My port : ap5-wlan0)

+ Add flow at switch (ap5):

ovs-ofctl add-flow -O OpenFlow13 ap5
priority=800,dl_type=0x0800,nw_dst=10.0.0.8,

*actions=enqueue:2:0    *(output 2, queue 0)

(Because I want to set host 10.0.0.8 as server for iperf test)

But after that, I checked the flow entry of switch ap5, I got this:

cookie=0x0, duration-2.150s, table=0, n_packets=0, n_bytes=0,
priority=800,ip,nw_dst=10.0.0.8

*actions=drop*
I don't understand why it is "drop"??? And of course the rate limiting
policy was not set up too (iperf always shows max rate, not limitted rate)

Do you have any advice? Thank you.
-- 
Le Tran Duc
The Bonch-Bruevich Saint - Petersburg State University of Telecommunications
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to