Hi, I am new to OVS and I have a question on traffic shaping . Setup: --------- I have a bridge br1 with two interfaces br1(LOCAL) and tn1 tunnel interface. Bridge br1 doesn't have any physical interfaces. Traffic coming on tn1 goes out of br1 Local interface. It uses iptables and egresses out of eth0 to the internet.
I want to apply traffic shaping on some flows from tn1 going out of eth0. Can someone please tell me how to do this? I tried the following and it did not work. Traffic was always going to default queue. // Creating QoS config on br1 # ovs-vsctl set port br1 qos=@newqos1 -- --id=@newqos1 create qos type=linux-htb other-config:max-rate=1000000 queues:4=@vn4queue -- --id=@vn4queue create queue other-config:max-rate=20000 // Adding a flow with matching conditions and action as "actions=set_queue:4,LOCAL" I verified that the 1) flow has set_queue:4 in it 2) 'sudo ovs-ofctl queue-stats br1' shows all the queues but traffic goes only on default queue 0. 3) 'sudo tc -s -d class show dev br1' show all the class configuration properly but again traffic goes out of only default queue. Can I create qdisc and classes using tc commands on eth0 and steer traffic from OVS flows to these traffic classes or any other way? Thanks, -Jagan.
_______________________________________________ discuss mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
