<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:31:33 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-95] Port config</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-95</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;From the backlog list: &lt;a href=&quot;https://wiki.opendaylight.org/view/OpenDaylight_OpenFlow_Plugin:Backlog&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.opendaylight.org/view/OpenDaylight_OpenFlow_Plugin:Backlog&lt;/a&gt;&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Mac OS&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="27363">OPNFLWPLUG-95</key>
            <summary>Port config</summary>
                <type id="10100" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10310&amp;avatarType=issuetype">Improvement</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="hariharan_sethuraman@dell.com">Hariharan Sethuraman</assignee>
                                    <reporter username="abhijit2511">Abhijit Kumbhare</reporter>
                        <labels>
                    </labels>
                <created>Thu, 20 Mar 2014 00:53:12 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:07 +0000</updated>
                            <resolved>Wed, 12 Aug 2015 08:57:26 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="55471" author="kramesha@cisco.com" created="Mon, 7 Jul 2014 23:28:59 +0000"  >&lt;p&gt;Requirement:-&lt;br/&gt;
The feature Port Config will enable the client to access the port descriptions of all the ports of a node. Since the associated OFPMP_PORT_DESCRIPTION  is a multipart request, we need to cache the intermittent results (received as notifications from multipart response) and deliver the PortDescription/Config response to the client. &lt;br/&gt;
As part of collecting all multipart response notifications for port description we would need to :&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;have some cache mechanism as  currently all transformation code is stateless&lt;/li&gt;
	&lt;li&gt;will be responsible for assigning responses based on xid and type&lt;/li&gt;
	&lt;li&gt;will be responsible for timeouting of whole rpc if device disconnects or slows down&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Openflowplugin/OFJava:&lt;br/&gt;
requestPorts() in ConnectionConductor currently gets the PortDescription after handshake.&lt;br/&gt;
In order to provide an RPC we might need to leverage this.&lt;/p&gt;</comment>
                            <comment id="55472" author="subh.singh007@gmail.com" created="Mon, 8 Dec 2014 06:30:16 +0000"  >&lt;p&gt;I am interested to work on this bug, please let me know about desired implementation and details for this enhancement.&lt;/p&gt;</comment>
                            <comment id="55473" author="vishnoianil@gmail.com" created="Wed, 24 Dec 2014 14:35:01 +0000"  >&lt;p&gt;I believe we don&apos;t need caching of all the multipart response messages, because each multipart response message payload contains data that can make sense  without rest of the multipart messages. E.g if a switch has 40 ports (1 to 40) and it decides that it will send the response in 4 multipart message,then it will pack port_description of 10 ports and send in each multipart response. So whenever controller receives the port description multipart message it can decode the port description of these 10 ports and augment it to their respective port/node connector location in the operational data store.&lt;/p&gt;

&lt;p&gt;Subhash:&lt;br/&gt;
If you are still interested in working on this enhancement, you can start with &lt;br/&gt;
1) Read openflow spec to understand the openflow multipart messages&lt;br/&gt;
2) Understand the port description multipart request message and what all data you can get in response to this multipart request.&lt;br/&gt;
3) Look at the translator java files in openflowplugin project &lt;br/&gt;
openflowplugin/src/main/java/org/opendaylight/openflowplugin/openflow/md/core/translator&lt;/p&gt;

&lt;p&gt;It will give you idea about high level control flow and clues on how to hack it.&lt;/p&gt;

&lt;p&gt;Thanks&lt;br/&gt;
Anil&lt;/p&gt;</comment>
                            <comment id="55474" author="hariharan_sethuraman@dell.com" created="Mon, 6 Jul 2015 10:01:25 +0000"  >&lt;p&gt;subhash kumar singh and Abhijit, I will take this defect and work on. Please let me know if you/someone working on this already.&lt;/p&gt;

&lt;p&gt;Hope this defect is for Beryllium release.&lt;/p&gt;</comment>
                            <comment id="55475" author="hariharan_sethuraman@dell.com" created="Tue, 7 Jul 2015 07:16:59 +0000"  >&lt;p&gt;I dont understand the following part&lt;/p&gt;

&lt;p&gt;&quot;In order to provide an RPC we might need to leverage this.&quot;&lt;/p&gt;

&lt;p&gt;Kamal Rameshan,&lt;br/&gt;
Could you explain this?&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Hari&lt;/p&gt;</comment>
                            <comment id="55476" author="hariharan_sethuraman@dell.com" created="Mon, 27 Jul 2015 10:36:11 +0000"  >&lt;p&gt;Provided RPC service. Please check port-config from yang-ui for reference. Provided this service for both He and Li code.&lt;/p&gt;</comment>
                            <comment id="55477" author="hariharan_sethuraman@dell.com" created="Mon, 27 Jul 2015 10:39:22 +0000"  >&lt;p&gt;Changes ref:&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/24568/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/24568/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="55478" author="hariharan_sethuraman@dell.com" created="Tue, 28 Jul 2015 06:32:13 +0000"  >&lt;p&gt;Provided RPC service. Please check the rest api under port-config module from yang-ui for reference. Provided this service for both He and Li code.&lt;/p&gt;

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

&lt;p&gt;(In reply to Hariharan Sethuraman from comment #7)&lt;br/&gt;
&amp;gt; Changes ref:&lt;br/&gt;
&amp;gt; &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/24568/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/24568/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This API dont return the port-config, it updates the port-config in the datastore. Since we are re-using existing helper method for this multipart request, which ultimately updates the datastore. So the consumer should check the returned transaction activity is finished and then retrieve the port-description from the datastore directly.&lt;/p&gt;</comment>
                            <comment id="55479" author="hariharan_sethuraman@dell.com" created="Fri, 31 Jul 2015 07:19:51 +0000"  >&lt;p&gt;(In reply to Hariharan Sethuraman from comment #8)&lt;br/&gt;
&amp;gt; Provided RPC service. Please check the rest api under port-config module&lt;br/&gt;
&amp;gt; from yang-ui for reference. Provided this service for both He and Li code.&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; Changes ref:&lt;br/&gt;
&amp;gt; &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/24568/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/24568/&lt;/a&gt;&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; (In reply to Hariharan Sethuraman from comment #7)&lt;br/&gt;
&amp;gt; &amp;gt; Changes ref:&lt;br/&gt;
&amp;gt; &amp;gt; &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/24568/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/24568/&lt;/a&gt;&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; This API dont return the port-config, it updates the port-config in the&lt;br/&gt;
&amp;gt; datastore. Since we are re-using existing helper method for this multipart&lt;br/&gt;
&amp;gt; request, which ultimately updates the datastore. So the consumer should&lt;br/&gt;
&amp;gt; check the returned transaction activity is finished and then retrieve the&lt;br/&gt;
&amp;gt; port-description from the datastore directly.&lt;/p&gt;

&lt;p&gt;Removed the changes from Li codebase as commented by Michal. Refer code review comments in git.&lt;/p&gt;</comment>
                            <comment id="55480" author="hariharan_sethuraman@dell.com" created="Tue, 11 Aug 2015 17:19:59 +0000"  >&lt;p&gt;Will be abandoning the changes and close the defect before this week end. Before that please  let me know if you have any concerns.&lt;/p&gt;</comment>
                            <comment id="55481" author="hariharan_sethuraman@dell.com" created="Wed, 12 Aug 2015 08:57:26 +0000"  >&lt;p&gt;Code abandoned. We cant provide RPC despite of the fact that this RPC can be used to update port-configuration on demand. If we provide RPC, it turns out to have an unwanted effect in scenario when port flaps while multipart reply being constructed, this leeway the port status out of sync.&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>547</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=547]]></customfieldvalue>

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

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