Hello,
we identified a potential bug on Open vSwitch. The problem occurred during
OpenFlow testing for add, update and delete flows. We also used Opendayligt
controller.
Description:
We have 2 different scenarious:
1) add, update, delete flow for flow ,which priority=31 Expected results
(ER): OK
After add:
OFPST_FLOW reply (OF1.3) (xid=0x2):
cookie=0xa, duration=10.166s, table=2, n_packets=0, n_bytes=0,
idle_timeout=300, hard_timeout=600, priority=31,ip,nw_dst=10.0.0.0/24
actions=drop --> OK
After update
OFPST_FLOW reply (OF1.3) (xid=0x2):
cookie=0xa, duration=12.810s, table=2, n_packets=0, n_bytes=0,
idle_timeout=300, hard_timeout=600, priority=31,ip,nw_dst=10.0.0.0/24
actions=TABLE --> OK
2) add, update, delete for 2 different flows: priority=31 and priority=38
Expected results: NOK
After add:
OFPST_FLOW reply (OF1.3) (xid=0x2):
cookie=0xa, duration=10.023s, table=2, n_packets=0, n_bytes=0,
idle_timeout=300, hard_timeout=600, priority=38,ip,nw_dst=10.0.0.0/24
actions=set_queue:1 --> OK
cookie=0xa, duration=10.166s, table=2, n_packets=0, n_bytes=0,
idle_timeout=300, hard_timeout=600, priority=31,ip,nw_dst=10.0.0.0/24
actions=drop --> OK
After update flow with p=31 We expected a change on 31 and no change in 38.
Actions in 38 should be == set_queue:1
OFPST_FLOW reply (OF1.3) (xid=0x2):
cookie=0xa, duration=12.667s, table=2, n_packets=0, n_bytes=0,
idle_timeout=300, hard_timeout=600, priority=38,ip,nw_dst=10.0.0.0/24
actions=TABLE --> NOK
cookie=0xa, duration=12.810s, table=2, n_packets=0, n_bytes=0,
idle_timeout=300, hard_timeout=600, priority=31,ip,nw_dst=10.0.0.0/24
actions=TABLE -->OK
After update flow with p=38 We expected a change in 38 and no change in 31.
Actions in 31 should be ==TABLE.
OFPST_FLOW reply (OF1.3) (xid=0x2):
cookie=0xa, duration=14.769s, table=2, n_packets=0, n_bytes=0,
idle_timeout=300, hard_timeout=600, priority=38,ip,nw_dst=10.0.0.0/24
actions=drop --> OK
cookie=0xa, duration=14.912s, table=2, n_packets=0, n_bytes=0,
idle_timeout=300, hard_timeout=600, priority=31,ip,nw_dst=10.0.0.0/24
actions=drop --> NOK
Please see the attached files with tcp dump for both scenarious, html.log from
robot framework and contents of the vswitchd configuration database:
/etc/openvswitch/conf.db
The Open vSwitch version number:
ovs-vswitchd (Open vSwitch) 2.3.0
Compiled Oct 29 2014 14:19:02
OpenFlow versions 0x1:0x1
OpenFlow Version: 1.3 (from tcp dump)
The distribution + version of OS and the kernel version:
Linux version 3.11.10-100.fc18.x86_64 (mockbuild@bkernel02) (gcc version 4.7.2
20121109 (Red Hat 4.7.2-8) (GCC) ) #1 SMP Mon Dec 2 20:28:38 UTC 2013
ovs-dpctl show:
system@ovs-system:
lookups: hit:67 missed:1002 lost:0
flows: 0
port 0: ovs-system (internal)
Regards,
Julia Pavlicova
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss