<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:33:15 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-736] Flow doesn&apos;t show up in operational data with correct flow id</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-736</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;When i was trying to add a flow in to mininet using MASTER branch of openflowplugin project, i couldn&apos;t see flow in operational data store with correct flow id &amp;amp; but seen on mininet.&lt;/p&gt;


&lt;p&gt;features installed :- feature:install odl-openflowplugin-flow-services-ui&lt;/p&gt;

&lt;p&gt;pastebin link operational data -&amp;gt;  &lt;a href=&quot;http://pastebin.com/aPnx0AzF&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://pastebin.com/aPnx0AzF&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;pastebin link config dats  -&amp;gt; &lt;a href=&quot;http://pastebin.com/gKATfvBJ&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://pastebin.com/gKATfvBJ&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;flows on mininet &lt;/p&gt;

&lt;p&gt;mininet&amp;gt; sh ovs-ofctl dump-flows s1 -O OpenFlow13&lt;br/&gt;
OFPST_FLOW reply (OF1.3) (xid=0x2):&lt;br/&gt;
 cookie=0x0, duration=224.055s, table=0, n_packets=0, n_bytes=0, priority=3,ip,nw_dst=3.3.3.0 actions=dec_ttl&lt;br/&gt;
 cookie=0x0, duration=224.055s, table=0, n_packets=0, n_bytes=0, priority=400,ipv6,ipv6_src=fe80:2acf:e9ff:fe21::/64 actions=dec_ttl&lt;br/&gt;
 cookie=0x0, duration=224.057s, table=0, n_packets=0, n_bytes=0, priority=1,ip,nw_dst=1.1.1.0/24 actions=dec_ttl&lt;br/&gt;
 cookie=0x0, duration=224.054s, table=0, n_packets=0, n_bytes=0, priority=2,ip,nw_dst=2.2.0.0/16 actions=dec_ttl&lt;/p&gt;



&lt;p&gt;same result observed with &lt;/p&gt;

&lt;p&gt;features installed :- feature:install odl-openflowplugin-flow-services-ui   &amp;amp; feature:install odl-openflowplugin-flow-services-rest-he&lt;/p&gt;



&lt;p&gt;pastebin link operational data -&amp;gt;  &lt;a href=&quot;http://pastebin.com/siXbim12&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://pastebin.com/siXbim12&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;pastebin link config dats  -&amp;gt; &lt;a href=&quot;http://pastebin.com/1nWDzLx9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://pastebin.com/1nWDzLx9&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;mininet&amp;gt; sh ovs-ofctl dump-flows s1 -O OpenFlow13&lt;br/&gt;
OFPST_FLOW reply (OF1.3) (xid=0x2):&lt;br/&gt;
 cookie=0x0, duration=92.022s, table=0, n_packets=0, n_bytes=0, priority=3,ip,nw_dst=3.3.3.0 actions=dec_ttl&lt;br/&gt;
 cookie=0x0, duration=141.246s, table=0, n_packets=0, n_bytes=0, priority=1,ip,nw_dst=1.1.1.0/24 actions=dec_ttl&lt;br/&gt;
 cookie=0x0, duration=130.726s, table=0, n_packets=0, n_bytes=0, priority=400,ipv6,ipv6_src=fe80:2acf:e9ff:fe21::/64 actions=dec_ttl&lt;br/&gt;
 cookie=0x0, duration=84.443s, table=0, n_packets=0, n_bytes=0, priority=2,ip,nw_dst=2.2.0.0/16 actions=dec_ttl&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="28004">OPNFLWPLUG-736</key>
            <summary>Flow doesn&apos;t show up in operational data with correct flow id</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="SaiMarapaReddy">Sai MarapaReddy</assignee>
                                    <reporter username="SaiMarapaReddy">Sai MarapaReddy</reporter>
                        <labels>
                    </labels>
                <created>Fri, 22 Jul 2016 22:35:23 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:51 +0000</updated>
                            <resolved>Thu, 11 Aug 2016 17:17:19 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="58090" author="sai.marapareddy@gmail.com" created="Fri, 22 Jul 2016 22:43:02 +0000"  >&lt;p&gt;Flow with arbitrary mask works in stable/beryllium but not master&lt;/p&gt;

&lt;p&gt;Input in config -&amp;gt; &lt;a href=&quot;http://pastebin.com/Tq6finM5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://pastebin.com/Tq6finM5&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Output in operational -&amp;gt; &lt;a href=&quot;http://pastebin.com/vqpnea8v&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://pastebin.com/vqpnea8v&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;mininet output &lt;/p&gt;

&lt;p&gt;mininet&amp;gt; sh ovs-ofctl dump-flows s1 -O OpenFlow13&lt;br/&gt;
OFPST_FLOW reply (OF1.3) (xid=0x2):&lt;br/&gt;
 cookie=0x0, duration=321.38s, table=0, n_packets=0, n_bytes=0, priority=40,ip,nw_src=40.40.40.0,nw_dst=40.0.40.0/255.0.255.0 actions=dec_ttl&lt;/p&gt;</comment>
                            <comment id="58091" author="sai.marapareddy@gmail.com" created="Fri, 22 Jul 2016 22:46:49 +0000"  >&lt;p&gt;All the above mentioned flows works in stable/beryllium as expected&lt;/p&gt;</comment>
                            <comment id="58092" author="andrejleitner" created="Thu, 4 Aug 2016 11:44:56 +0000"  >&lt;p&gt;I just tested it now with the current code on master branch.&lt;/p&gt;</comment>
                            <comment id="58093" author="bertrandlow" created="Fri, 5 Aug 2016 00:10:15 +0000"  >&lt;p&gt;Hi Andrej,&lt;/p&gt;

&lt;p&gt;I&apos;ve tested this with master branch builds as early as distribution-karaf-0.5.0-20160727.205650-3885.tar.gz&lt;/p&gt;

&lt;p&gt;I noticed that the flows in the config datastore that Sai provided resulted in OFPBMC_BAD_WILDCARDS errors on a version 2.5.0 OVS Switch. After modifying the flow (see below*), I was able to get the flow installed on the switch and confirm that the operational flow ID indeed matched the config datastore flow ID. So, I could not reproduce this bug as Sai was seeing. Were you able to reproduce it?&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;this would be a successful arbitrary bitmask config:&lt;br/&gt;
&amp;lt;ipv4-source-address-no-mask&amp;gt;40.40.40.0&amp;lt;/ipv4-source-address-no-mask&amp;gt;&lt;br/&gt;
&amp;lt;ipv4-destination-address-no-mask&amp;gt;40.0.40.0&amp;lt;/ipv4-destination-address-no-mask&amp;gt;&lt;br/&gt;
&amp;lt;ipv4-destination-arbitrary-bitmask&amp;gt;255.0.255.0&amp;lt;/ipv4-destination-arbitrary-bitmask&amp;gt;&lt;br/&gt;
&amp;lt;ipv4-source-arbitrary-bitmask&amp;gt;255.255.255.255&amp;lt;/ipv4-source-arbitrary-bitmask&amp;gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="58094" author="sai.marapareddy@gmail.com" created="Fri, 5 Aug 2016 02:31:34 +0000"  >&lt;p&gt;Hi Andrej / Bertrand,&lt;/p&gt;

&lt;p&gt;I re-tested with latest master (which includes Anil&apos;s Patch)&lt;/p&gt;

&lt;p&gt;Seems Ipv4 arbitrary bit mask is ok, but some cases of Ipv6 arbitrary bit mask doesn&apos;t work.&lt;/p&gt;

&lt;p&gt;Please check the flow Id s 440,441,447  in config, there are not correctly reflected in operational. &lt;br/&gt;
Where as Flow Id 473 is correctly represented. &lt;br/&gt;
In case of stable/beryllium these work as expected. i.e., they show up in operational.&lt;/p&gt;

&lt;p&gt;config :- &lt;a href=&quot;http://pastebin.com/raw/DaKk89H7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://pastebin.com/raw/DaKk89H7&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;operational :- &lt;a href=&quot;http://pastebin.com/raw/UXZC0iMp&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://pastebin.com/raw/UXZC0iMp&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Hence the bug still exists. Please let me know any clarification.&lt;/p&gt;</comment>
                            <comment id="58095" author="sai.marapareddy@gmail.com" created="Fri, 5 Aug 2016 02:41:12 +0000"  >&lt;p&gt;Following flow in Ipv4 doesn&apos;t work&lt;/p&gt;

&lt;p&gt;Config :-&lt;a href=&quot;http://pastebin.com/6xce2rgU&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://pastebin.com/6xce2rgU&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;operational :- &lt;a href=&quot;http://pastebin.com/uXCYB8BE&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://pastebin.com/uXCYB8BE&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="58096" author="andrejleitner" created="Fri, 5 Aug 2016 09:58:53 +0000"  >&lt;p&gt;Hi guys, &lt;br/&gt;
(didn&apos;t send details yesterday)&lt;br/&gt;
The issue with incorrect flow id (i.e. alien id) is similar to &lt;a href=&quot;https://jira.opendaylight.org/browse/OPNFLWPLUG-722&quot; title=&quot;Some Flows not found in DeviceFlowRegistry&quot; class=&quot;issue-link&quot; data-issue-key=&quot;OPNFLWPLUG-722&quot;&gt;&lt;del&gt;OPNFLWPLUG-722&lt;/del&gt;&lt;/a&gt; and there are some improvements after &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/42510/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/42510/&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;I also tested it with your first configuration Sai and for OVS 2.3.0 all flows are pushed to device and they show up in operational with correct flow id. (However if you would like to setup these flows in OVS 2.4.0 or 2.5.0 - as Bertrand mentioned, device will return error cause of incorrect masks. Newer versions are more clever.)&lt;/p&gt;

&lt;p&gt;But it seems that problem is if *address-no-mask + *arbitrary-bitmask fileds are used. Will try to check it.&lt;/p&gt;</comment>
                            <comment id="58097" author="tomas.slusny@pantheon.tech" created="Fri, 5 Aug 2016 13:03:26 +0000"  >&lt;p&gt;The problem was really with *address-no-mask + *arbitrary-bitmask fields not comparing properly with ipv4/6-source from device. I created patch that will fix this problem here: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/43233/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/43233/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="58098" author="andrejleitner" created="Fri, 5 Aug 2016 13:55:37 +0000"  >&lt;p&gt;Sai, could you please test it, it should work now.&lt;br/&gt;
(if u r using OVS 2.4.0+ you need to edit address or mask in the last config u sent again, otherwise device will probably reject the flow)&lt;/p&gt;</comment>
                            <comment id="58099" author="sai.marapareddy@gmail.com" created="Tue, 9 Aug 2016 22:24:22 +0000"  >&lt;p&gt;Hi Andrej / Tomas,&lt;/p&gt;

&lt;p&gt;With ovs version 2.3 following flows fail to show up in operational.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://pastebin.com/8CYJt4Vx&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://pastebin.com/8CYJt4Vx&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="58100" author="andrejleitner" created="Wed, 10 Aug 2016 15:27:10 +0000"  >&lt;p&gt;This was not issue related to alien id actually, but fixed here:&lt;/p&gt;

&lt;p&gt;master: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/43641/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/43641/&lt;/a&gt;&lt;br/&gt;
boron: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/43643/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/43643/&lt;/a&gt;&lt;br/&gt;
beryllium: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/43647/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/43647/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="58101" author="sai.marapareddy@gmail.com" created="Wed, 10 Aug 2016 21:17:41 +0000"  >&lt;p&gt;Thank you Andrej. &lt;br/&gt;
Once the above three patches are merged, this bug can be closed.&lt;/p&gt;</comment>
                            <comment id="58102" author="jozef.bacigal@pantheon.tech" created="Thu, 11 Aug 2016 06:21:48 +0000"  >&lt;p&gt;Guys, everything is fine and I am going to merge it. Just wonder why this errors weren&apos;t catch by JUNIT test. Please add/upgrade test to prevent further mistakes.&lt;/p&gt;</comment>
                            <comment id="58103" author="tomas.slusny@pantheon.tech" created="Thu, 11 Aug 2016 13:55:22 +0000"  >&lt;p&gt;With Andrej, we additionally replaced regexp, that was converting IPv6 adress to its short notation to proper byte array related method, because that regex was not shortening the longest groups of zeros, as it should.&lt;/p&gt;

&lt;p&gt;Also, Andrej tested it on OVS 2.3 and 2.4, and everything was working as it was supposed to (on 2.3, everything passed, and on 2.4, when there was bad wildcard, it was properly rejected).&lt;/p&gt;</comment>
                            <comment id="58104" author="jozef.bacigal@pantheon.tech" created="Thu, 11 Aug 2016 15:14:59 +0000"  >&lt;p&gt;Patches are merged already, if its ok please close this bug.&lt;/p&gt;

&lt;p&gt;Jozef&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>6259</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=6259]]></customfieldvalue>

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

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

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