<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:32:00 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[OPNFLWPLUG-263] IN_PORT Action flow mod not working</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-263</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;When I try to create a flow via restconf with IN_PORT as the action I see that no flow mod is sent to the corresponding switch (via pkt capture on mininet vm running OVS).  Also in the OSGI console, the following errors are seen:&lt;/p&gt;

&lt;p&gt;2014-09-05 14:58:33.456 PDT &lt;span class=&quot;error&quot;&gt;&amp;#91;OFRpc-2&amp;#93;&lt;/span&gt; ERROR o.o.o.o.m.c.s.c.ActionConvertor  - Invalid Port specified null for Output Action for OF version:OF13&lt;br/&gt;
2014-09-05 14:58:33.456 PDT &lt;span class=&quot;error&quot;&gt;&amp;#91;OFRpc-2&amp;#93;&lt;/span&gt; ERROR o.o.o.o.m.c.s.c.ActionConvertor  - Invalid Port specified null for Output Action for OF version:OF13&lt;br/&gt;
2014-09-05 14:58:33.456 PDT &lt;span class=&quot;error&quot;&gt;&amp;#91;nioEventLoopGroup-12-6&amp;#93;&lt;/span&gt; WARN  o.o.o.protocol.impl.core.OFEncoder  - Message serialization failed: null&lt;/p&gt;


&lt;p&gt;Here is the flow_mod XML:&lt;/p&gt;

&lt;p&gt;&amp;lt;flow xmlns=&quot;urn:opendaylight:flow:inventory&quot;&amp;gt;&amp;lt;instructions&amp;gt;&amp;lt;instruction&amp;gt;&amp;lt;order&amp;gt;0&amp;lt;/order&amp;gt;&amp;lt;apply-actions&amp;gt;&amp;lt;action&amp;gt;&amp;lt;order&amp;gt;0&amp;lt;/order&amp;gt;&amp;lt;output-action&amp;gt;&amp;lt;output-node-connector&amp;gt;IN_PORT&amp;lt;/output-node-connector&amp;gt;&amp;lt;/output-action&amp;gt;&amp;lt;/action&amp;gt;&amp;lt;/apply-actions&amp;gt;&amp;lt;/instruction&amp;gt;&amp;lt;/instructions&amp;gt;&amp;lt;match&amp;gt;&amp;lt;ethernet-match&amp;gt;&amp;lt;ethernet-type&amp;gt;&amp;lt;type&amp;gt;0x800&amp;lt;/type&amp;gt;&amp;lt;/ethernet-type&amp;gt;&amp;lt;ethernet-source&amp;gt;&amp;lt;address&amp;gt;00:ab:cd:ef:01:23&amp;lt;/address&amp;gt;&amp;lt;/ethernet-source&amp;gt;&amp;lt;ethernet-destination&amp;gt;&amp;lt;address&amp;gt;ff:ff:ff:ff:ff:ff&amp;lt;/address&amp;gt;&amp;lt;/ethernet-destination&amp;gt;&amp;lt;/ethernet-match&amp;gt;&amp;lt;ipv4-source&amp;gt;11.3.0.0/16&amp;lt;/ipv4-source&amp;gt;&amp;lt;ipv4-destination&amp;gt;99.0.0.0/8&amp;lt;/ipv4-destination&amp;gt;&amp;lt;/match&amp;gt;&amp;lt;strict&amp;gt;false&amp;lt;/strict&amp;gt;&amp;lt;hard-timeout&amp;gt;60&amp;lt;/hard-timeout&amp;gt;&amp;lt;idle-timeout&amp;gt;30&amp;lt;/idle-timeout&amp;gt;&amp;lt;flow-name&amp;gt;No Name&amp;lt;/flow-name&amp;gt;&amp;lt;priority&amp;gt;0&amp;lt;/priority&amp;gt;&amp;lt;barrier&amp;gt;false&amp;lt;/barrier&amp;gt;&amp;lt;cookie&amp;gt;0&amp;lt;/cookie&amp;gt;&amp;lt;cookie_mask&amp;gt;0&amp;lt;/cookie_mask&amp;gt;&amp;lt;table_id&amp;gt;22&amp;lt;/table_id&amp;gt;&amp;lt;id&amp;gt;161&amp;lt;/id&amp;gt;&amp;lt;/flow&amp;gt;&lt;/p&gt;

&lt;p&gt;If it matters, the REST details are a PUT @ /restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/22/flow/161&lt;/p&gt;

&lt;p&gt;Attached are some robot test logs if it helps.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Linux&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="27531">OPNFLWPLUG-263</key>
            <summary>IN_PORT Action flow mod not working</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10001">Won&apos;t Do</resolution>
                                        <assignee username="jluhrsen">Jamo Luhrsen</assignee>
                                    <reporter username="jluhrsen">Jamo Luhrsen</reporter>
                        <labels>
                    </labels>
                <created>Fri, 5 Sep 2014 23:09:46 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:18 +0000</updated>
                            <resolved>Thu, 25 Sep 2014 21:20:32 +0000</resolved>
                                                                    <component>General</component>
                        <due>Mon, 15 Sep 2014 00:00:00 +0000</due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="56079" author="jluhrsen" created="Fri, 5 Sep 2014 23:09:46 +0000"  >&lt;p&gt;Attachment log.html has been added with description: robot log.html file&lt;/p&gt;</comment>
                            <comment id="56080" author="jluhrsen" created="Fri, 5 Sep 2014 23:10:10 +0000"  >&lt;p&gt;Attachment output.xml has been added with description: robot output.xml&lt;/p&gt;</comment>
                            <comment id="56081" author="jluhrsen" created="Fri, 5 Sep 2014 23:10:29 +0000"  >&lt;p&gt;Attachment report.html has been added with description: robot report.html file&lt;/p&gt;</comment>
                            <comment id="56073" author="jluhrsen" created="Fri, 5 Sep 2014 23:11:13 +0000"  >&lt;p&gt;distro used was distributions-base-0.2.0-20140825.175909-538-osgipackage.zip&lt;/p&gt;</comment>
                            <comment id="56074" author="tkubas@cisco.com" created="Thu, 11 Sep 2014 12:11:45 +0000"  >&lt;p&gt;For creation of flow with IN_PORT action via RESTCONF you should set in your XML &quot;output - action&quot; to:&lt;/p&gt;

&lt;p&gt;&amp;lt;output-action&amp;gt;&lt;br/&gt;
  &amp;lt;output-node-connector&amp;gt;INPORT&amp;lt;/output-node-connector&amp;gt;&lt;br/&gt;
&amp;lt;/output-action&amp;gt;&lt;/p&gt;

&lt;p&gt;instead of:&lt;/p&gt;

&lt;p&gt;&amp;lt;output-action&amp;gt;&lt;br/&gt;
  &amp;lt;output-node-connector&amp;gt;IN_PORT&amp;lt;/output-node-connector&amp;gt;&lt;br/&gt;
&amp;lt;/output-action&amp;gt;&lt;/p&gt;

&lt;p&gt;This change will fix the problem.&lt;/p&gt;</comment>
                            <comment id="56075" author="jluhrsen" created="Thu, 11 Sep 2014 17:29:24 +0000"  >&lt;p&gt;I can confirm that INPORT works for the action when passing it to the controller, however I think we should stay consistent with the spec, which&lt;br/&gt;
says:&lt;/p&gt;

&lt;p&gt;OFPP_IN_PORT = 0xfffffff8, /* Send the packet out the input port. This&lt;br/&gt;
                              reserved port must be explicitly used&lt;br/&gt;
                              in order to send back out of the input&lt;br/&gt;
                              port. */&lt;/p&gt;


&lt;p&gt;Also, OVS uses the same format:&lt;/p&gt;


&lt;p&gt; cookie=0x0, duration=1.021s, table=22, n_packets=0, n_bytes=0, idle_timeout=30, hard_timeout=60, send_flow_rem priority=0,ip,dl_src=00:ab:cd:ef:01:23,dl_dst=ff:ff:ff:ff:ff:ff,nw_src=11.3.0.0/16,nw_dst=99.0.0.0/8 actions=IN_PORT&lt;/p&gt;


&lt;p&gt;Is it possible/worthwhile to change?&lt;/p&gt;

&lt;p&gt;Thanks.&lt;/p&gt;</comment>
                            <comment id="56076" author="abhijit2511" created="Tue, 16 Sep 2014 14:41:33 +0000"  >&lt;p&gt;Moving to Lithium as we have only a week and half for Helium.&lt;/p&gt;</comment>
                            <comment id="56077" author="tkubas@cisco.com" created="Wed, 17 Sep 2014 14:35:36 +0000"  >&lt;p&gt;For Helium we do not plan to implement unified action values for flows because of lack of time.&lt;br/&gt;
However, it is not bad idea to change.&lt;br/&gt;
It would be best if you create a new enhancement bug for this issue which would be solved in next releases.&lt;/p&gt;</comment>
                            <comment id="56078" author="jluhrsen" created="Thu, 25 Sep 2014 21:20:32 +0000"  >&lt;p&gt;filed enhancement for Lithium as requested:&lt;br/&gt;
&lt;a href=&quot;https://bugs.opendaylight.org/show_bug.cgi?id=2095&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://bugs.opendaylight.org/show_bug.cgi?id=2095&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="13908" name="log.html" size="228536" author="jluhrsen" created="Fri, 5 Sep 2014 23:09:46 +0000"/>
                            <attachment id="13909" name="output.xml" size="143597" author="jluhrsen" created="Fri, 5 Sep 2014 23:10:10 +0000"/>
                            <attachment id="13910" name="report.html" size="210913" author="jluhrsen" created="Fri, 5 Sep 2014 23:10:29 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1725</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:url">
                        <customfieldname>External issue URL</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[https://bugs.opendaylight.org/show_bug.cgi?id=1725]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10315"><![CDATA[Lithium]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i0302n:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>