hai guys,,
i'm trying to implement QoS egress policing using this topology
http://openvswitch.org/support/config-cookbooks/qos-rate-limiting/
this is configuration :

on Host1,
br0 = 192.168.1.102
tap0 = 192.168.1.200
tap1 = 192.168.1.201

on Measurement Host,
eth0 = 192.168.1.254

i used this egress policing:
ovs-vsctl -- set port tap0 qos=@newqos \
-- --id=@newqos create qos type=linux-htb \
other-config:max-rate=100000 queues:0=@newqueue \
-- --id=@newqueue create queue \
other-config:min-rate=1000000 \
other-config:max-rate=1000000 \

n my port number :
root@ubuntu:~/ovs# ovs-ofctl show br0
OFPT_FEATURES_REPLY (xid=0x1): ver:0x1, dpid:0000001cc063dc2e
n_tables:255, n_buffers:256
features: capabilities:0xc7, actions:0xfff
 2(eth0): addr:00:1c:c0:63:dc:2e
     config:     0
     state:      0
     current:    100MB-FD AUTO_NEG
     advertised: 10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-HD 1GB-FD COPPER
AUTO_NEG AUTO_PAUSE AUTO_PAUSE_ASYM
     supported:  10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-HD 1GB-FD COPPER
AUTO_NEG
 5(tap0): addr:4a:fe:ea:f3:b7:13
     config:     0
     state:      0
     current:    10MB-FD COPPER
 7(tap1): addr:aa:26:d7:8e:79:af
     config:     0
     state:      LINK_DOWN
     current:    10MB-FD COPPER
LOCAL(br0): addr:00:1c:c0:63:dc:2e
     config:     0
     state:      0
OFPT_GET_CONFIG_REPLY (xid=0x3): frags=normal miss_send_len=0
root@ubuntu:~/ovs#

my ofctl rule :
ovs-ofctl add-flow br0 actions=NORMAL
ovs-ofctl add-flow br0 "in_port=7 ip nw_dst=192.168.1.254 \
idle_timeout=0 actions=enqueue:7:0" \

n i've already dump it using #ovs-ofctl dump-flows br0

based on my egress, i only used tap0 with limiting rate 1Mbps as QoS for
example,
when i'm trying to measure it using iperf,  it didn't show any different
from my past configuration (without egress).
it show 15Mbps,
within the #ovs-ofctl#, do i have to add a controller as i look in this
site : http://tritm.wikispaces.com/openvswitch..?

anyone can help?
thanx .. :)
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to