<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:33:02 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-654] Deprecate PortNumberCache (OF Plugin Cluster Ready) but create NodeConnectorRefToPortTranlator</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-654</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;Create class NodeConnectorRefToPortTranlator with two methods:&lt;br/&gt;
a/ toNodeConnectorRef&lt;br/&gt;
input: DeviceState&lt;br/&gt;
output: NodeConnectorRef&lt;br/&gt;
b/ fromNodeConnectorRef&lt;br/&gt;
input: DeviceState, NodeConnectorRef&lt;br/&gt;
output: Long&lt;/p&gt;

&lt;p&gt;While implementing these methods use org.opendaylight.openflowplugin.openflow.md.util.InventoryDataServiceUtil (this is allready used by the cache).&lt;/p&gt;

&lt;p&gt;After that remove this cluster buggy (Please, annotate these methods as Deprecated):&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;org.opendaylight.openflowplugin.api.openflow.device.PortNumberCache.lookupNodeConnectorRef(Long)&lt;/li&gt;
	&lt;li&gt;org.opendaylight.openflowplugin.api.openflow.device.PortNumberCache.storeNodeConnectorRef(Long, NodeConnectorRef)&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Stop using these deprecated methods in d/ org.opendaylight.openflowplugin.impl.translator.PacketReceivedTranslator.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="27922">OPNFLWPLUG-654</key>
            <summary>Deprecate PortNumberCache (OF Plugin Cluster Ready) but create NodeConnectorRefToPortTranlator</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="tomas.slusny@pantheon.tech">Tomas Slusny</assignee>
                                    <reporter username="jozef.slezak@pantheon.sk">Jozef Slez&#225;k</reporter>
                        <labels>
                    </labels>
                <created>Wed, 23 Mar 2016 12:23:41 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:46 +0000</updated>
                            <resolved>Mon, 25 Apr 2016 07:42:17 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="57739" author="jozef.slezak@pantheon.sk" created="Wed, 23 Mar 2016 12:24:17 +0000"  >&lt;p&gt;If needed while implementing you can also use org.opendaylight.openflowplugin.openflow.md.util.OpenflowPortsUtil.&lt;/p&gt;</comment>
                            <comment id="57740" author="tomas.slusny@pantheon.tech" created="Wed, 30 Mar 2016 07:24:45 +0000"  >&lt;p&gt;Gerrit: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/36740/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/36740/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="57741" author="jozef.bacigal@pantheon.tech" created="Wed, 30 Mar 2016 09:36:53 +0000"  >&lt;p&gt;Jozef one additional question, you wrote we need a method to convert NodeConnectorRef to Port(Long). &lt;/p&gt;

&lt;p&gt;In DeviceState.Features.List&amp;lt;Ports&amp;gt;, which port do we shall return ? First not null, not empty ?&lt;/p&gt;</comment>
                            <comment id="57742" author="jozef.slezak@pantheon.sk" created="Thu, 7 Apr 2016 12:45:21 +0000"  >&lt;p&gt;There is answer in this comment on: &quot;Jozef one additional question, you wrote we need a method to convert NodeConnectorRef to Port(Long). In DeviceState.Features.List&amp;lt;Ports&amp;gt;, which port do we shall return ? First not null, not empty ?&quot;&lt;/p&gt;


&lt;p&gt;Please use algorithm: org.opendaylight.openflowplugin.openflow.md.util.InventoryDataServiceUtil.nodeConnectorIdfromDatapathPortNo(BigInteger, Long, OpenflowVersion)&lt;/p&gt;

&lt;p&gt;You have logical error in:&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/36740/3/openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/util/NodeConnectorRefToPortTranslator.java&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/36740/3/openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/util/NodeConnectorRefToPortTranslator.java&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="57743" author="jozef.slezak@pantheon.sk" created="Wed, 13 Apr 2016 08:41:17 +0000"  >&lt;p&gt;We have agreed that org.opendaylight.openflowplugin.openflow.md.util.InventoryDataServiceUtil.nodeConnectorRefFromDatapathIdPortno(BigInteger, Long, OpenflowVersion) will be used instead of org.opendaylight.openflowplugin.openflow.md.util.InventoryDataServiceUtil.nodeConnectorIdfromDatapathPortNo(BigInteger, Long, OpenflowVersion) in NodeConnectorRefToPortTranlator.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="27924">OPNFLWPLUG-656</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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>5589</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=5589]]></customfieldvalue>

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

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