<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:32:23 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-409] Flow distinguishing with NxmNxTunIpv4Src match fails</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-409</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;We tried creating flow mods that match on NxmNxTunIpv4Src. The flows show up in config, but not in operational. No log messages in karaf or on the vSwitch. Doing a disconnect and reconnect of the vSwitch didn&apos;t restore the flows.&lt;/p&gt;

&lt;p&gt;Here is what we see in config:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://pastebin.com/QP7VHCT7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://pastebin.com/QP7VHCT7&lt;/a&gt;&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="27677">OPNFLWPLUG-409</key>
            <summary>Flow distinguishing with NxmNxTunIpv4Src match fails</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="michal.rehak">Michal Rehak</assignee>
                                    <reporter username="tbachman@yahoo.com">Thomas Bachman</reporter>
                        <labels>
                    </labels>
                <created>Tue, 21 Apr 2015 21:59:29 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:29 +0000</updated>
                            <resolved>Fri, 18 Dec 2015 06:51:52 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="56724" author="jgloncak" created="Tue, 5 May 2015 13:16:03 +0000"  >&lt;p&gt;I tried to PUT your input to URI &lt;br/&gt;
&lt;a href=&quot;http://localhost:8181/restconf/config/opendaylight-inventory:nodes/node/openflow:1/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/config/opendaylight-inventory:nodes/node/openflow:1/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;but it wasn&apos; successfull&lt;br/&gt;
following error was obtained&lt;br/&gt;
{&quot;errors&quot;:{&quot;error&quot;:[&lt;/p&gt;
{&quot;error-type&quot;:&quot;protocol&quot;,&quot;error-tag&quot;:&quot;malformed-message&quot;,&quot;error-message&quot;:&quot;Error parsing input: Content is not allowed in prolog.&quot;}
&lt;p&gt;]}}&lt;/p&gt;


&lt;p&gt;But can&apos;t see any error.&lt;/p&gt;</comment>
                            <comment id="56725" author="jgloncak" created="Wed, 3 Jun 2015 11:48:31 +0000"  >&lt;p&gt;Finally I was able to simulate this problem.&lt;br/&gt;
After PUT-ting input which you specified (BTW correct URI is &lt;a href=&quot;http://localhost:8181/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/1&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;I got response 500 from server.&lt;/p&gt;

&lt;p&gt;After debuging I found out that JsonNormalizedNodeBodyReader class returns augmentation normalized node + instance identifier to augmentation. &lt;/p&gt;

&lt;p&gt;In RestconfImpl method updateConfigurationData() do validation validateTopLevelNodeName() where getNodeType() method of inner class AugmentationIdentifier (belongs to class YangInstanceIdentifier) throw exception UnsupportedOperationException.&lt;/p&gt;

&lt;p&gt;Therefore I am moving this bug to restconf.&lt;/p&gt;

&lt;p&gt;Was it possible to put this input as you specified before?&lt;/p&gt;</comment>
                            <comment id="56726" author="tbachman@yahoo.com" created="Wed, 3 Jun 2015 18:05:04 +0000"  >&lt;p&gt;I created these flow mods using java code, and not via RESTCONF.  The pastebin that I had before was the result of the GET of config, not a PUT.&lt;/p&gt;

&lt;p&gt;Note that I think this bug has already been fixed by this gerrit:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/18787/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/18787/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you look at the following package:&lt;/p&gt;

&lt;p&gt;org.opendaylight.openflowplugin.extension.vendor.nicira.converter.match&lt;/p&gt;

&lt;p&gt;there is a TunIPv4SrcConverter.java.&lt;/p&gt;

&lt;p&gt;Note that there isn&apos;t a corresponding match converter for the tunnel destination &amp;#8211; I&apos;ll open a new bug for that.&lt;/p&gt;</comment>
                            <comment id="56727" author="vdemcak@cisco.com" created="Thu, 4 Jun 2015 16:19:29 +0000"  >&lt;p&gt;Hi Thomas,&lt;br/&gt;
you have right and we have two different bug in one bugzilla ticket. But I haven&apos;t found any relevant bug in restconf yet, so here is a quick fix for Jozef&apos;s description.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/21847/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/21847/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="56728" author="jgloncak" created="Fri, 5 Jun 2015 08:27:44 +0000"  >&lt;p&gt;After applying Vaso&apos;s and Jan&apos;s patch I can see some data also in operational.&lt;/p&gt;

&lt;p&gt;Input data and config DS&lt;br/&gt;
                    &quot;id&quot;: &quot;openflow:1:5|tunnel|2|3|4|5&quot;,&lt;br/&gt;
                    &quot;id&quot;: &quot;openflow:1:5|sfcTunnel|2|3|4|5|Ipv4Address &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=192.168.194.147&amp;#93;&lt;/span&gt;&quot;,&lt;br/&gt;
                    &quot;id&quot;: &quot;openflow:1:3|00:00:00:00:36:02|2|3|4|5|1&quot;,&lt;br/&gt;
                    &quot;id&quot;: &quot;openflow:1:1|00:00:00:00:35:02|6|3|7|5|1&quot;,&lt;br/&gt;
                    &quot;id&quot;: &quot;openflow:1:4|00:00:00:00:36:03|2|3|4|5|1&quot;,&lt;br/&gt;
                    &quot;id&quot;: &quot;drop|null&quot;,&lt;br/&gt;
                    &quot;id&quot;: &quot;openflow:1:5|sfcTunnel|6|3|7|5|Ipv4Address &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=192.168.194.147&amp;#93;&lt;/span&gt;&quot;,&lt;br/&gt;
                    &quot;id&quot;: &quot;openflow:1:2|00:00:00:00:35:03|6|3|7|5|1&quot;,&lt;br/&gt;
                    &quot;id&quot;: &quot;openflow:1:5|tunnel|6|3|7|5&lt;/p&gt;


&lt;p&gt;operational DS&lt;br/&gt;
    FLOW.ID&lt;span class=&quot;error&quot;&gt;&amp;#91;openflow:1/1&amp;#93;&lt;/span&gt; openflow:1:1|00:00:00:00:35:02|6|3|7|5|1&lt;br/&gt;
    FLOW.ID&lt;span class=&quot;error&quot;&gt;&amp;#91;openflow:1/1&amp;#93;&lt;/span&gt; #UF$TABLE*1-6&lt;br/&gt;
    FLOW.ID&lt;span class=&quot;error&quot;&gt;&amp;#91;openflow:1/1&amp;#93;&lt;/span&gt; #UF$TABLE*1-7&lt;br/&gt;
    FLOW.ID&lt;span class=&quot;error&quot;&gt;&amp;#91;openflow:1/1&amp;#93;&lt;/span&gt; openflow:1:4|00:00:00:00:36:03|2|3|4|5|1&lt;br/&gt;
    FLOW.ID&lt;span class=&quot;error&quot;&gt;&amp;#91;openflow:1/1&amp;#93;&lt;/span&gt; #UF$TABLE*1-5&lt;br/&gt;
    FLOW.ID&lt;span class=&quot;error&quot;&gt;&amp;#91;openflow:1/1&amp;#93;&lt;/span&gt; openflow:1:2|00:00:00:00:35:03|6|3|7|5|1&lt;br/&gt;
    FLOW.ID&lt;span class=&quot;error&quot;&gt;&amp;#91;openflow:1/1&amp;#93;&lt;/span&gt; openflow:1:3|00:00:00:00:36:02|2|3|4|5|1&lt;/p&gt;

&lt;p&gt;It looks like:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;2 flows containing Ipv4Address&lt;span class=&quot;error&quot;&gt;&amp;#91;...&amp;#93;&lt;/span&gt; weren&apos;t recorded to operational DS.&lt;/li&gt;
	&lt;li&gt;3 other flows containing also text are probably stored as aliens.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;It requires more investigation why some of flows aren&apos;t stored to operational DS and some are stored as aliens.&lt;/p&gt;</comment>
                            <comment id="56729" author="jgloncak" created="Tue, 16 Jun 2015 13:46:52 +0000"  >&lt;p&gt;Problem with aliens is wiht openflowplugin in Li and in He version.&lt;/p&gt;

&lt;p&gt;I tried to store flow which contained&lt;br/&gt;
&quot;match&quot;: {&lt;br/&gt;
    &quot;openflowplugin-extension-general:extension-list&quot;: [&lt;br/&gt;
        {&lt;br/&gt;
            &quot;extension-key&quot;: &quot;openflowplugin-extension-nicira-match:nxm-nx-tun-id-key&quot;,&lt;br/&gt;
            &quot;extension&quot;: {&lt;br/&gt;
                &quot;openflowplugin-extension-nicira-match:nxm-nx-tun-id&quot;: &lt;/p&gt;
{
                    &quot;value&quot;: 2
                }
&lt;p&gt;            }&lt;br/&gt;
        }&lt;br/&gt;
    ],&lt;br/&gt;
    &quot;in-port&quot;: &quot;openflow:1:5&quot;&lt;br/&gt;
},SERIALIZER_KEY&lt;/p&gt;

&lt;p&gt;I found out that in NiciraExtensionProvider is converter for TUN_ID created with key (Nxm1Class.class, NxmNxTunId.class) but when this converter is searched in MatchExtensionHelper then values (OpenflowBasicClass, TunnelId) are used. It cause that conveter isn&apos;t found and therefore match is incorretly translated to SAL format which causes that match isn&apos;t found in flow registry which causes that new flow with alien ID is created in operational datastore.&lt;/p&gt;

&lt;p&gt;I wasn&apos;t able to find root cause of this problem. Michal Rehak adviced me that problem should be in converting from byte stream to openflowjava. I tried to debug in artifact openflowjava-extension-nicira class TunIdCodec method deserialize(), but this method isn&apos;t called.&lt;/p&gt;</comment>
                            <comment id="56730" author="mirehak@cisco.com" created="Mon, 22 Jun 2015 15:21:57 +0000"  >&lt;p&gt;Hi,&lt;br/&gt;
I tried with those 9 flows in json form. First I ended up with 7 flows in device and 7 in DS/operational with 3 aliens. Then I did following:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;changed 2 tunnel-ids to openflow standard tunnel-id matches and got still 7 flows but only 1 alien.&lt;/li&gt;
&lt;/ul&gt;


&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;added empty match to the drop|null flow -&amp;gt; got 8 flows, 1 alien&lt;/li&gt;
&lt;/ul&gt;


&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;changed tunnel-ipv4-src so that they differ (otherwise 2 flows based on tunnel-ipv4-src match were equal) and got finally 9 flows with 2 aliens.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;This is the input:&lt;br/&gt;
&lt;a href=&quot;http://pastebin.com/62f6nx72&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://pastebin.com/62f6nx72&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now we have the alien issue - is it ok to deal with in in Beryllium?&lt;/p&gt;</comment>
                            <comment id="56731" author="abhijit2511" created="Fri, 25 Sep 2015 17:50:02 +0000"  >&lt;p&gt;Lowering the priority to normal - so it does not come in the major &amp;amp; above bug query. Assigning to Michal for his thoughts on this.&lt;/p&gt;</comment>
                            <comment id="56732" author="abhijit2511" created="Tue, 10 Nov 2015 18:58:55 +0000"  >&lt;p&gt;Michal - can you do one of these two alternatives:&lt;/p&gt;

&lt;p&gt;1. open a new bug with the appropriate title and close this one&lt;br/&gt;
2. Change the title to reflect the actual bug&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>3039</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=3039]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10206" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Issue Type</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10300"><![CDATA[Bug]]></customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10202" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Priority</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10312"><![CDATA[High]]></customfieldvalue>

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

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