Uploaded image for project: 'OpenFlowPlugin'
  1. OpenFlowPlugin
  2. OPNFLWPLUG-266

flow mod action ANY not accepted (tableID seen as different in payload vs URI)

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • General
    • None
    • Operating System: Windows
      Platform: PC

    • 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>

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jluhrsen Jamo Luhrsen
            jluhrsen Jamo Luhrsen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: