<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:31:57 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-244] Flow id corrupted in operational data</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-244</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;After pushing following flow:&lt;/p&gt;

&lt;p&gt;{&lt;br/&gt;
    &quot;flow-node-inventory:table&quot;: [&lt;br/&gt;
        {&lt;br/&gt;
            &quot;flow-node-inventory:flow&quot;: [&lt;br/&gt;
                {&lt;br/&gt;
                    &quot;flow-node-inventory:flow-name&quot;: &quot;foo&quot;,&lt;br/&gt;
                    &quot;flow-node-inventory:match&quot;: {&lt;br/&gt;
                        &quot;flow-node-inventory:vlan-match&quot;: {&lt;br/&gt;
                            &quot;flow-node-inventory:vlan-id&quot;: &lt;/p&gt;
{
                                &quot;flow-node-inventory:vlan-id&quot;: 78,
                                &quot;flow-node-inventory:vlan-id-present&quot;: true
                            }
&lt;p&gt;,&lt;br/&gt;
                            &quot;flow-node-inventory:vlan-pcp&quot;: 3&lt;br/&gt;
                        },&lt;br/&gt;
                        &quot;flow-node-inventory:ethernet-match&quot;: {&lt;br/&gt;
                            &quot;flow-node-inventory:ethernet-destination&quot;: &lt;/p&gt;
{
                                &quot;flow-node-inventory:address&quot;: &quot;ff:ff:29:01:19:61&quot;
                            }
&lt;p&gt;,&lt;br/&gt;
                            &quot;flow-node-inventory:ethernet-source&quot;: &lt;/p&gt;
{
                                &quot;flow-node-inventory:address&quot;: &quot;00:00:00:11:23:ae&quot;
                            }
&lt;p&gt;,&lt;br/&gt;
                            &quot;flow-node-inventory:ethernet-type&quot;: &lt;/p&gt;
{
                                &quot;flow-node-inventory:type&quot;: 2048
                            }
&lt;p&gt;                        }&lt;br/&gt;
                    },&lt;br/&gt;
                    &quot;flow-node-inventory:priority&quot;: 2,&lt;br/&gt;
                    &quot;flow-node-inventory:instructions&quot;: {&lt;br/&gt;
                        &quot;flow-node-inventory:instruction&quot;: [&lt;br/&gt;
                            {&lt;br/&gt;
                                &quot;flow-node-inventory:apply-actions&quot;: {&lt;br/&gt;
                                    &quot;flow-node-inventory:action&quot;: [&lt;br/&gt;
                                        {&lt;br/&gt;
                                            &quot;flow-node-inventory:order&quot;: 2,&lt;br/&gt;
                                            &quot;flow-node-inventory:output-action&quot;: &lt;/p&gt;
{
                                                &quot;flow-node-inventory:output-node-connector&quot;: &quot;openflow:1:1&quot;
                                            }
&lt;p&gt;                                        },&lt;br/&gt;
                                        {&lt;br/&gt;
                                            &quot;flow-node-inventory:order&quot;: 1,&lt;br/&gt;
                                            &quot;flow-node-inventory:set-field&quot;: {&lt;br/&gt;
                                                &quot;flow-node-inventory:vlan-match&quot;: {&lt;br/&gt;
                                                    &quot;flow-node-inventory:vlan-id&quot;: &lt;/p&gt;
{
                                                        &quot;flow-node-inventory:vlan-id&quot;: 79,
                                                        &quot;flow-node-inventory:vlan-id-present&quot;: true
                                                    }
&lt;p&gt;,&lt;br/&gt;
                                                    &quot;flow-node-inventory:vlan-pcp&quot;: 4&lt;br/&gt;
                                                }&lt;br/&gt;
                                            }&lt;br/&gt;
                                        }&lt;br/&gt;
                                    ]&lt;br/&gt;
                                },&lt;br/&gt;
                                &quot;flow-node-inventory:order&quot;: 0&lt;br/&gt;
                            }&lt;br/&gt;
                        ]&lt;br/&gt;
                    },&lt;br/&gt;
                    &quot;flow-node-inventory:strict&quot;: false,&lt;br/&gt;
                    &quot;flow-node-inventory:table_id&quot;: 0,&lt;br/&gt;
                    &quot;flow-node-inventory:id&quot;: &quot;138&quot;&lt;br/&gt;
                }&lt;br/&gt;
            ],&lt;br/&gt;
            &quot;flow-node-inventory:id&quot;: 0&lt;br/&gt;
        }&lt;br/&gt;
    ]&lt;br/&gt;
}&lt;/p&gt;


&lt;p&gt;I check Operational data for it:&lt;/p&gt;

&lt;p&gt;{&lt;br/&gt;
    &quot;flow-node-inventory:table&quot;: [&lt;br/&gt;
        {&lt;br/&gt;
            &quot;opendaylight-flow-table-statistics:flow-table-statistics&quot;: &lt;/p&gt;
{
                &quot;opendaylight-flow-table-statistics:packets-looked-up&quot;: 404,
                &quot;opendaylight-flow-table-statistics:active-flows&quot;: 10,
                &quot;opendaylight-flow-table-statistics:packets-matched&quot;: 212
            }
&lt;p&gt;,&lt;br/&gt;
            &quot;flow-node-inventory:flow-cookie-map&quot;: [&lt;/p&gt;
                {
                    &quot;flow-node-inventory:flow-ids&quot;: [
                        &quot;#UF$TABLE*0-1&quot;
                    ],
                    &quot;flow-node-inventory:cookie&quot;: 1
                }
&lt;p&gt;            ],&lt;br/&gt;
            &quot;flow-node-inventory:flow&quot;: [&lt;br/&gt;
                {&lt;br/&gt;
                    &quot;flow-node-inventory:match&quot;: {&lt;br/&gt;
                        &quot;flow-node-inventory:vlan-match&quot;: {&lt;br/&gt;
                            &quot;flow-node-inventory:vlan-id&quot;: &lt;/p&gt;
{
                                &quot;flow-node-inventory:vlan-id&quot;: 78
                            }
&lt;p&gt;,&lt;br/&gt;
                            &quot;flow-node-inventory:vlan-pcp&quot;: 3&lt;br/&gt;
                        },&lt;br/&gt;
                        &quot;flow-node-inventory:ethernet-match&quot;: {&lt;br/&gt;
                            &quot;flow-node-inventory:ethernet-destination&quot;: &lt;/p&gt;
{
                                &quot;flow-node-inventory:address&quot;: &quot;FF:FF:29:01:19:61&quot;
                            }
&lt;p&gt;,&lt;br/&gt;
                            &quot;flow-node-inventory:ethernet-source&quot;: &lt;/p&gt;
{
                                &quot;flow-node-inventory:address&quot;: &quot;00:00:00:11:23:AE&quot;
                            }
&lt;p&gt;,&lt;br/&gt;
                            &quot;flow-node-inventory:ethernet-type&quot;: &lt;/p&gt;
{
                                &quot;flow-node-inventory:type&quot;: 2048
                            }
&lt;p&gt;                        }&lt;br/&gt;
                    },&lt;br/&gt;
                    &quot;flow-node-inventory:flags&quot;: &quot;SEND_FLOW_REM&quot;,&lt;br/&gt;
                    &quot;flow-node-inventory:priority&quot;: 2,&lt;br/&gt;
                    &quot;flow-node-inventory:instructions&quot;: {&lt;br/&gt;
                        &quot;flow-node-inventory:instruction&quot;: [&lt;br/&gt;
                            {&lt;br/&gt;
                                &quot;flow-node-inventory:apply-actions&quot;: {&lt;br/&gt;
                                    &quot;flow-node-inventory:action&quot;: [&lt;br/&gt;
                                        {&lt;br/&gt;
                                            &quot;flow-node-inventory:order&quot;: 0,&lt;br/&gt;
                                            &quot;flow-node-inventory:set-field&quot;: {&lt;br/&gt;
                                                &quot;flow-node-inventory:vlan-match&quot;: {&lt;br/&gt;
                                                    &quot;flow-node-inventory:vlan-id&quot;: &lt;/p&gt;
{
                                                        &quot;flow-node-inventory:vlan-id&quot;: 79
                                                    }
&lt;p&gt;                                                }&lt;br/&gt;
                                            }&lt;br/&gt;
                                        },&lt;br/&gt;
                                        {&lt;br/&gt;
                                            &quot;flow-node-inventory:order&quot;: 1,&lt;br/&gt;
                                            &quot;flow-node-inventory:output-action&quot;: &lt;/p&gt;
{
                                                &quot;flow-node-inventory:output-node-connector&quot;: &quot;1&quot;,
                                                &quot;flow-node-inventory:max-length&quot;: 0
                                            }
&lt;p&gt;                                        }&lt;br/&gt;
                                    ]&lt;br/&gt;
                                },&lt;br/&gt;
                                &quot;flow-node-inventory:order&quot;: 0&lt;br/&gt;
                            }&lt;br/&gt;
                        ]&lt;br/&gt;
                    },&lt;br/&gt;
                    &quot;flow-node-inventory:idle-timeout&quot;: 300,&lt;br/&gt;
                    &quot;opendaylight-flow-statistics:flow-statistics&quot;: {&lt;br/&gt;
                        &quot;opendaylight-flow-statistics:duration&quot;: &lt;/p&gt;
{
                            &quot;opendaylight-flow-statistics:second&quot;: 11,
                            &quot;opendaylight-flow-statistics:nanosecond&quot;: 725000000
                        }
&lt;p&gt;,&lt;br/&gt;
                        &quot;opendaylight-flow-statistics:byte-count&quot;: 0,&lt;br/&gt;
                        &quot;opendaylight-flow-statistics:packet-count&quot;: 0&lt;br/&gt;
                    },&lt;br/&gt;
                    &quot;flow-node-inventory:hard-timeout&quot;: 600,&lt;br/&gt;
                    &quot;flow-node-inventory:table_id&quot;: 0,&lt;br/&gt;
                    &quot;flow-node-inventory:id&quot;: &quot;#UF$TABLE*0-1&quot;,&lt;br/&gt;
                    &quot;flow-node-inventory:cookie&quot;: 1&lt;br/&gt;
                }&lt;br/&gt;
            ],&lt;br/&gt;
            &quot;flow-node-inventory:id&quot;: 0&lt;br/&gt;
        }&lt;br/&gt;
    ]&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;And I see &quot;flow-node-inventory:id&quot;: &quot;#UF$TABLE*0-1&quot; and I get OSGi errors related to this too.&lt;/p&gt;

&lt;p&gt;BR/Luis&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Linux&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="27512">OPNFLWPLUG-244</key>
            <summary>Flow id corrupted in operational data</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="ecelgp">Luis Gomez</assignee>
                                    <reporter username="ecelgp">Luis Gomez</reporter>
                        <labels>
                    </labels>
                <created>Mon, 18 Aug 2014 02:52:39 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:17 +0000</updated>
                            <resolved>Tue, 16 Aug 2016 11:52:29 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="56002" author="ecelgp" created="Mon, 18 Aug 2014 19:48:13 +0000"  >&lt;p&gt;Please use this URL to configure the flow:&lt;/p&gt;

&lt;p&gt;PUT http://&amp;lt;controller IP&amp;gt;:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/0&lt;/p&gt;

&lt;p&gt;BR/Luis&lt;/p&gt;</comment>
                            <comment id="56003" author="vdemcak@cisco.com" created="Tue, 19 Aug 2014 15:04:09 +0000"  >&lt;p&gt;It looks like same problem with MacAddress comparison as we&apos;ve talked in bug &lt;a href=&quot;https://bugs.opendaylight.org/show_bug.cgi?id=1088&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://bugs.opendaylight.org/show_bug.cgi?id=1088&lt;/a&gt;.&lt;br/&gt;
Could you please look at it ?&lt;/p&gt;</comment>
                            <comment id="56004" author="ecelgp" created="Tue, 19 Aug 2014 15:23:03 +0000"  >&lt;p&gt;Do you mean this is fix now? like I should not see any weird flow-id in operational?&lt;/p&gt;</comment>
                            <comment id="56005" author="vishnoianil@gmail.com" created="Thu, 4 Sep 2014 14:51:11 +0000"  >&lt;p&gt;Hi Luis,&lt;/p&gt;

&lt;p&gt;I believe this should be fixed with the latest controller code. This weird flow-is is something statistics manager creates to augment the flow that it got from switch but that flow doesn&apos;t exist in the config data store. To check whether specific flow existing in the config data store or not, it uses custom comparators. These custom comparators sometime can give you false positive results as well, like in the scenario you reported in this bug, if you notice the mac address in the config flow its in lower case string &quot;ff:ff:29:01:19:61&quot;, but if you see the operational flow mac address, it is in upper case string &quot;FF:FF:29:01:19:61&quot;. So till now we were using default equals method of MacAddress class, but that do case agnostic comparison and hence match fails. We recently fixed this and merged the patch.&lt;/p&gt;

&lt;p&gt;So in conclusion, we can still see the flows with weird flow-id for following two cases, 1) when switch reported flow really don&apos;t exist in the config data store and this is valid case 2) when custom comparator fails in matching the flows.&lt;/p&gt;

&lt;p&gt;Thanks&lt;br/&gt;
Anil&lt;/p&gt;</comment>
                            <comment id="56006" author="abhijit2511" created="Tue, 16 Sep 2014 14:36:31 +0000"  >&lt;p&gt;Any update on this?&lt;/p&gt;</comment>
                            <comment id="56007" author="ecelgp" created="Tue, 16 Sep 2014 18:37:45 +0000"  >&lt;p&gt;I tested with latest controller yesterday and I still see the weird flow id in operational area after putting the flow in configuration.&lt;/p&gt;

&lt;p&gt;BR/Luis&lt;/p&gt;</comment>
                            <comment id="56008" author="ecelgp" created="Mon, 9 Nov 2015 23:24:13 +0000"  >&lt;p&gt;Hi Anil, I think this never got fixed as I recently try flows with small case MAC or IPv6 and they generate alien ids.&lt;/p&gt;</comment>
                            <comment id="56009" author="andrejleitner" created="Tue, 16 Aug 2016 11:52:29 +0000"  >&lt;p&gt;The issue with alien flow id was resolved recently in &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;.&lt;br/&gt;
Also problem with comparing IPv6 addresses in &lt;a href=&quot;https://jira.opendaylight.org/browse/OPNFLWPLUG-736&quot; title=&quot;Flow doesn&amp;#39;t show up in operational data with correct flow id&quot; class=&quot;issue-link&quot; data-issue-key=&quot;OPNFLWPLUG-736&quot;&gt;&lt;del&gt;OPNFLWPLUG-736&lt;/del&gt;&lt;/a&gt;.&lt;br/&gt;
Closing bug after successful test with the input above and current codebase.&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>1565</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=1565]]></customfieldvalue>

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

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

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