<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:32:31 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-452] ICMPv4 type/code in OF10 match are ignored.</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-452</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;Although OF10 supports ICMP type/code match, openflowplugin always ignores icmpv4-match in MD-SAL match if OF protocol is OF10.&lt;/p&gt;

&lt;p&gt;I tried to install a flow entry which drops ICMPv4 echo into OF10 switch.&lt;/p&gt;

&lt;p&gt;  PUT &lt;a href=&quot;http://localhost:8080/restconf/config/opendaylight-inventory:nodes/opendaylight-inventory:node/openflow:1/flow-node-inventory:table/0/flow-node-inventory:flow/icmp_echo&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8080/restconf/config/opendaylight-inventory:nodes/opendaylight-inventory:node/openflow:1/flow-node-inventory:table/0/flow-node-inventory:flow/icmp_echo&lt;/a&gt;&lt;br/&gt;
  {&lt;br/&gt;
    &quot;flow-node-inventory:flow&quot;: [&lt;br/&gt;
      {&lt;br/&gt;
        &quot;id&quot;: &quot;icmp_echo&quot;,&lt;br/&gt;
        &quot;idle-timeout&quot;: 0,&lt;br/&gt;
        &quot;hard-timeout&quot;: 0,&lt;br/&gt;
        &quot;table_id&quot;: 0,&lt;br/&gt;
        &quot;priority&quot;: 10,&lt;br/&gt;
        &quot;match&quot;: {&lt;br/&gt;
          &quot;ip-match&quot;: &lt;/p&gt;
{ &quot;ip-protocol&quot;: 1 }
&lt;p&gt;,&lt;br/&gt;
          &quot;icmpv4-match&quot;: &lt;/p&gt;
{
            &quot;icmpv4-type&quot;: 8,
            &quot;icmpv4-code&quot;: 0
          }
&lt;p&gt;,&lt;br/&gt;
          &quot;ethernet-match&quot;: {&lt;br/&gt;
            &quot;ethernet-type&quot;: &lt;/p&gt;
{ &quot;type&quot;: 2048 }
&lt;p&gt;          }&lt;br/&gt;
        }&lt;br/&gt;
      }&lt;br/&gt;
    ]&lt;br/&gt;
  }&lt;/p&gt;

&lt;p&gt;But both ICMP type and code were ignored.&lt;/p&gt;

&lt;p&gt;  mininet&amp;gt; dpctl dump-flows&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;
	&lt;ul&gt;
		&lt;li&gt;
		&lt;ul&gt;
			&lt;li&gt;s1 ------------------------------------------------------------------------&lt;br/&gt;
  NXST_FLOW reply (xid=0x4):&lt;br/&gt;
   cookie=0x0, duration=68.873s, table=0, n_packets=0, n_bytes=0, idle_age=68, priority=10,icmp actions=drop&lt;/li&gt;
		&lt;/ul&gt;
		&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;ICMP type and code should be set as TP_SRC/TP_DST respectively into OF10 match like this.&lt;/p&gt;

&lt;p&gt;  mininet&amp;gt; dpctl dump-flows &lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;
	&lt;ul&gt;
		&lt;li&gt;
		&lt;ul&gt;
			&lt;li&gt;s1 ------------------------------------------------------------------------&lt;br/&gt;
  NXST_FLOW reply (xid=0x4):&lt;br/&gt;
   cookie=0x0, duration=4.637s, table=0, n_packets=0, n_bytes=0, idle_age=4, priority=10,icmp,icmp_type=8,icmp_code=0 actions=drop&lt;/li&gt;
		&lt;/ul&gt;
		&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="27720">OPNFLWPLUG-452</key>
            <summary>ICMPv4 type/code in OF10 match are ignored.</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="10000">Done</resolution>
                                        <assignee username="yasuda">Shigeru Yasuda</assignee>
                                    <reporter username="yasuda">Shigeru Yasuda</reporter>
                        <labels>
                    </labels>
                <created>Thu, 21 May 2015 17:21:04 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:32 +0000</updated>
                            <resolved>Wed, 27 May 2015 07:35:56 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="56902" author="yasuda" created="Thu, 21 May 2015 17:39:37 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/20912&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/20912&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="56903" author="mirehak@cisco.com" created="Tue, 26 May 2015 19:14:25 +0000"  >&lt;p&gt;merged, please retest and eventually mark as fixed.&lt;/p&gt;</comment>
                            <comment id="56904" author="yasuda" created="Wed, 27 May 2015 07:35:56 +0000"  >&lt;p&gt;I verified that TCP, UDP, and ICMPv4 match could be set into OF10 flow entry.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </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>3328</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=3328]]></customfieldvalue>

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

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

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