[OPNFLWPLUG-275] of-flow: flow added to switch with different action Created: 12/Sep/14  Updated: 27/Sep/21  Resolved: 27/May/15

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

Type: Bug
Reporter: Peter Gubka Assignee: Martin Bobak
Resolution: Won't Do 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: 1847

 Description   

odl:
http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/distributions-base/0.2.0-SNAPSHOT/distributions-base-0.2.0-20140912.112728-708-osgipackage.zip

mininet 2.1.0 + ovs 2.0.0

1) start odl
2) start ovs 2.0.0 with mininet 2.1.0
3) POST on /restconf/config/opendaylight-inventory:nodes/node/openflow:${switch_idx}/table/${table_id}, data=${data}
4) chack switch, no flow is added

you can take flows from integration.git test/csit/variables/xmls
files: f30.xml; 33,41,42 (probably some more, i havent pass through the all files yet)

in config ds we have
f30: <set-dl-type-action><dl-type>8</dl-type></set-dl-type-action>
f33: <set-next-hop-action><ipv4-address>10.0.0.1/24</ipv4-address></set-next-hop-action>
41: <set-vlan-cfi-action><vlan-cfi>2</vlan-cfi></set-vlan-cfi-action>

but on the swith we have actions=drop which is then present in operational ds

based on the discussion with Michal Rehak, the controller should not add to the device anythong if such action is ignored in openflow



 Comments   
Comment by Peter Gubka [ 20/Sep/14 ]

adding f42 config details
<action><order>0</order><sw-path-action/></action>

in operational it is drop

Comment by Colin Dixon [ 23/Sep/14 ]

I think this is likely to be closely related to OVSDB-109 and OVSDB-91.

Comment by Colin Dixon [ 23/Sep/14 ]

See https://git.opendaylight.org/gerrit/#/c/11198/ for a further description of how a possible fix might look. I think it's a matter of changing the flow so that the match contains some data with respect to the VLAN.

Comment by Abhijit Kumbhare [ 06/May/15 ]

Is this still happening Peter?

Comment by Abhijit Kumbhare [ 06/May/15 ]

Also is this critical? Should we be lowering the priority to major?

Comment by Peter Gubka [ 07/May/15 ]

importance updated to "normal", will retest next week

Comment by Peter Gubka [ 27/May/15 ]

flows mentioned at the beginning are not a part of https://jenkins.opendaylight.org/releng/view/openflowplugin/job/openflowplugin-csit-1node-cds-flow-services-more-only-master/

soon ovs 2.3.x and miminet 2.2.x will be used, so closing, any future bug will be covered by a new testcase in the job above

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