<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:32:22 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-402] Openflowplugin manager doesn&apos;t use match extensions while comparing two flows</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-402</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;Openflowplugin manager doesn&apos;t use match extensions while comparing two flows&lt;/p&gt;

&lt;p&gt;Because of that, the hashing statistics manager relies upon to make unique keys&lt;br/&gt;
is not able to distinguish between multiple rules that differ based on the match&lt;br/&gt;
extension &amp;#8211; such as REG0. That is also compound by the fact that actions are not part of the hashing as well.&lt;/p&gt;

&lt;p&gt;That causes bugs when we have rules like this:&lt;/p&gt;

&lt;p&gt;cookie=0x0, duration=255.353s, table=110, n_packets=8, n_bytes=648, priority=16384,reg0=0x1,tun_id=0x1,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:1,output:2&lt;br/&gt;
cookie=0x0, duration=256.115s, table=110, n_packets=9, n_bytes=1464, priority=16384,reg0=0x2,tun_id=0x1,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:1&lt;/p&gt;

&lt;p&gt;So statistics manager assign the same id internally to both the flows and that&apos;s causing the repeated error message about duplicate id.&lt;/p&gt;

&lt;p&gt;Adding match extension in flow comparison is not trivial and we cannot implement it in this release. &lt;/p&gt;

&lt;p&gt;Anil added a simple solution, where flow comparison now use&lt;br/&gt;
cookies as a one of the element for flow comparison, so application can use that do differentiate the flows.&lt;/p&gt;

&lt;p&gt;Following openflowplugin patch has more details:&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/18442/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/18442/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This patch adds cookie value to the flows net-virt installs. Cookies value is associated with individual flow for it&apos;s life time.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="27670">OPNFLWPLUG-402</key>
            <summary>Openflowplugin manager doesn&apos;t use match extensions while comparing two flows</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="Avishnoi">Anil Vishnoi</assignee>
                                    <reporter username="flavio@flaviof.com">Flavio Fernandes</reporter>
                        <labels>
                    </labels>
                <created>Thu, 16 Apr 2015 17:07:53 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:28 +0000</updated>
                            <resolved>Mon, 15 Jun 2015 16:36:23 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="56703" author="abhijit2511" created="Mon, 8 Jun 2015 16:24:26 +0000"  >&lt;p&gt;Anil,&lt;/p&gt;

&lt;p&gt;Can you confirm if this is fixed?&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Abhijit&lt;/p&gt;</comment>
                            <comment id="56704" author="abhijit2511" created="Mon, 15 Jun 2015 16:36:23 +0000"  >&lt;p&gt;OVSDB are using a workaround (to use cookies). Adding more logic for flow comparisons (using match extensions) may impact performance.&lt;/p&gt;

&lt;p&gt;Need to think through the solution &amp;amp; document the workaround in the release notes.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="27637">OPNFLWPLUG-369</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <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>3005</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=3005]]></customfieldvalue>

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

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