Details
-
Bug
-
Status: Resolved
-
Resolution: Duplicate
-
None
-
None
-
None
-
Operating System: All
Platform: All
-
4591
Description
feature : odl-openflowplugin-flow-services-ui-li
openflowplugin is expected to generate an error when flowmod fail. The bug is that flowmod succeed even if switch send Error.
Steps to reproduce :
1. Compile forked branch (OVS will return an OFPERR_OFPBAC_TOO_MANY to flowmods with actions)
- git clone -b branch-2.3 https://github.com/omardyson/ovs.git
- apt-get install mininet # Install mininet to get dependencies
- cd ovs/
- ./configure --prefix=/usr --with-linux=/lib/modules/`uname -r`/build
- make && make install && make modules_install
- rmmod openvswitch && depmod -a
- /etc/init.d/openvswitch-controller stop
- update-rc.d openvswitch-controller disable
- /etc/init.d/openvswitch-switch start
2. Setup a virtual switch with some ports:
- ip tuntap add dev myeth1 mode tap
- ip link set dev myeth1 up
- ip tuntap add dev myeth2 mode tap
- ip link set dev myeth2 up
- ovs-vsctl add-br sw1 – set Bridge sw1 other_config:datapath-id=0000000000000001 – set-fail-mode sw1 secure – add-port sw1 myeth1 – set Interface myeth1 ofport_request=1 – add-port sw1 myeth2 – set Interface myeth2 ofport_request=2 – set-controller sw1 tcp:127.0.0.1:6633 ptcp:6634 – set bridge sw1 other-config:disable-in-band=true – set bridge sw1 protocols=OpenFlow13
3. Send any flowmod with actions in it.
4. In wireshark you get OFPERR_OFPBAC_TOO_MANY error, but openflowplugin Li report successful future.
Attachments
Issue Links
- duplicates
-
OPNFLWPLUG-538 Li: flowMod result ignores relevant errors from device
- Resolved