[OPNFLWPLUG-35] Actions do not work in OVS, but work in CPqd Created: 17/Jan/14  Updated: 27/Sep/21  Resolved: 20/Jan/14

Status: Resolved
Project: OpenFlowPlugin
Component/s: General
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Krishnan Iyer Assignee: Gaurav Bhagwani
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Linux
Platform: PC


External issue ID: 320

 Description   

addMDFlow command does not work from the OSGi console.
The action for test case 'f11' is always 'drop' when it should be push_vlan
Command: osgi> addMDFlow openflow:1 f11

Had a discussion with Prasanna Huddar regarding this.
Problem is consistently reproducible on ovs.

Setup is Ubuntu-32bit in VirtualBox on Windows 7.

My version of code:
$ git log | head
commit f50c504201e44b41b11af81e3a7cabc66143acf6
Author: etusgoy <goyaltushar7@gmail.com>
Date: Wed Jan 15 17:17:09 2014 +0530

Group Test-cases

Signed-off-by: etusgoy <goyaltushar7@gmail.com>
Change-Id: I8dc6c00fc4b1c96903b68db32b1e9babcd8459cb

commit 1be34f46df86edec8f79c06b66e0c9ca1397dbf0



 Comments   
Comment by Gaurav Bhagwani [ 20/Jan/14 ]

I have tested the senario with the latest controller code and ovs switch and it's working fine

Input from controller

osgi > addMDFlow openflow:1 f11

f11 in test provider is the action - Push Vlan

Ovs output :

mininet@mininet-vm:~$ sudo ovs-ofctl -O OpenFlow13 dump-flows s1
OFPST_FLOW reply (OF1.3) (xid=0x2):
cookie=0xa, duration=4s, table=2, n_packets=0, n_bytes=0, send_flow_rem priority=2,ip,nw_dst=10.0.0.0/24 actions=push_vlan:0x8100

The only problem i see when we test the testProvider setting setOutputPort() with some values and not setting the actions with the OutputAction with same port values

Hence, while testing the cases through test provider on ovs , we need to comment the setOutputPort() or setaction as OutputAction with same port values of setOutputPort() or else all cases will give error notification

Once the setOutputPort is not set , all cases passes through including f11

Generated at Wed Feb 07 20:31:24 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.