[OPNFLWPLUG-266] flow mod action ANY not accepted (tableID seen as different in payload vs URI) Created: 08/Sep/14  Updated: 27/Sep/21  Resolved: 24/Sep/14

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

Type: Bug
Reporter: Jamo Luhrsen Assignee: Jamo Luhrsen
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Windows
Platform: PC


External issue ID: 1756

 Description   

Using a nexus distro from 8/25 (distributions-base-0.2.0-20140825.175909-538-osgipackage.zip) this issue
was not there. It was introduced at some point before 9/3
(distributions-base-0.2.0-20140903.190507-644-osgipackage.zip if that helps.

PUTting a flow mod via restconf with action ANY no longer works. The OSGI console
gives this log ERROR:

2014-09-08 15:34:40.845 PDT [DOM-CFG-DCL-194] ERROR o.o.c.frm.impl.FlowForwarder - TableID in URI tableId=222 and in palyload tableId=222 is not same.

Other actions (TABLE, NORMAL, CONTROLLER) do not see this problem.

I see another bug that may have some relation, but since this is isolated to only a
single action I wasn't sure (https://bugs.opendaylight.org/show_bug.cgi?id=1553)

PUT /restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/222/flow/111

Flow XML is:

<?xml version="1.0" encoding="UTF-8"?>
<flow xmlns="urn:opendaylight:flow:inventory">
<instructions>
<instruction>
<order>0</order>
<apply-actions>
<action>
<order>0</order>
<output-action>
<output-node-connector>ANY</output-node-connector>
</output-action>
</action>
</apply-actions>
</instruction>
</instructions>
<match>
<ethernet-match>
<ethernet-type>
<type>0x800</type>
</ethernet-type>
<ethernet-source>
<address>00:ab:cd:ef:01:23</address>
</ethernet-source>
<ethernet-destination>
<address>ff:ff:ff:ff:ff:ff</address>
</ethernet-destination>
</ethernet-match>
<ipv4-source>11.3.0.0/16</ipv4-source>
<ipv4-destination>99.0.0.0/8</ipv4-destination>
</match>
<strict>false</strict>
<hard-timeout>60</hard-timeout>
<idle-timeout>30</idle-timeout>
<flow-name>No Name</flow-name>
<priority>0</priority>
<barrier>false</barrier>
<cookie>0</cookie>
<cookie_mask>0</cookie_mask>
<table_id>222</table_id>
<id>111</id>
</flow>



 Comments   
Comment by Abhijit Kumbhare [ 09/Sep/14 ]

Related to https://bugs.opendaylight.org/show_bug.cgi?id=1553

Comment by Timotej Kubas [ 17/Sep/14 ]

Problem fixed.
You can find patch here: https://git.opendaylight.org/gerrit/#/c/11288/

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