<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:47:55 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>[VTN-64] For the flowlistentries and flowfilterentries created Attribute values are overwritten during update with the updated attribute values.</title>
                <link>https://jira.opendaylight.org/browse/VTN-64</link>
                <project id="10185" key="VTN">vtn</project>
                    <description>&lt;p&gt;Issue Scenario :&lt;/p&gt;

&lt;p&gt;During the update of the vBr flowfilterentries and flowlistentries the array is overwritten with the new values,&lt;br/&gt;
The array just gives the updated attribute and its value&lt;/p&gt;

&lt;p&gt;Reproduce the Bug :&lt;/p&gt;

&lt;p&gt;First configure the vBr flowfilters as per the commands given below:&lt;/p&gt;

&lt;p&gt;Controller :&lt;/p&gt;

&lt;p&gt;curl -v --user admin:adminpass -H &apos;content-type: application/json&apos; -H &apos;ipaddr:127.0.0.1&apos; -X POST -d &apos;{&quot;controller&quot;: {&quot;controller_id&quot;: &quot;odc&quot;, &quot;ipaddr&quot;:&quot;10.106.138.191&quot;, &quot;type&quot;: &quot;odc&quot;, &quot;version&quot;: &quot;1.0&quot;, &quot;auditstatus&quot;:&quot;enable&quot;}}&apos; &lt;a href=&quot;http://127.0.0.1:8083/vtn-webapi/controllers.json&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://127.0.0.1:8083/vtn-webapi/controllers.json&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;Vtn :&lt;/p&gt;

&lt;p&gt;curl -v --user admin:adminpass -H &apos;content-type: application/json&apos; -H &apos;ipaddr:127.0.0.1&apos; -X POST -d &apos;{&quot;vtn&quot; : {&quot;vtn_name&quot;:&quot;vtn_one&quot;,&quot;description&quot;:&quot;test VTN&quot; }}&apos; &lt;a href=&quot;http://127.0.0.1:8083/vtn-webapi/vtns.json&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://127.0.0.1:8083/vtn-webapi/vtns.json&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;VBRIDGE:&lt;/p&gt;

&lt;p&gt;curl -v --user admin:adminpass -H &apos;content-type: application/json&apos; -X POST -H &apos;ipaddr:127.0.0.1&apos; -d &apos;{&quot;vbridge&quot; : {&quot;vbr_name&quot;:&quot;vbr_one&quot;,&quot;controller_id&quot;:&quot;odc&quot;,&quot;domain_id&quot;:&quot;(DEFAULT)&quot; }}&apos; &lt;a href=&quot;http://127.0.0.1:8083/vtn-webapi/vtns/vtn_one/vbridges.json&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://127.0.0.1:8083/vtn-webapi/vtns/vtn_one/vbridges.json&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;Flow Lists and FLowlistentries :&lt;/p&gt;

&lt;p&gt;curl -v --user admin:adminpass -H &apos;content-type: application/json&apos; -X POST -d &apos;{&quot;flowlist&quot;: {&quot;fl_name&quot;: &quot;flowlist1&quot;, &quot;ip_version&quot;:&quot;IP&quot;}}&apos; &lt;a href=&quot;http://127.0.0.1:8083/vtn-webapi/flowlists.json&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://127.0.0.1:8083/vtn-webapi/flowlists.json&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;curl -v --user admin:adminpass -H &apos;content-type: application/json&apos; -X POST -d &apos;{&quot;flowlistentry&quot;: {&quot;seqnum&quot;: &quot;11&quot;,&quot;macethertype&quot;: &quot;0x800&quot;,&quot;ipdstaddr&quot;: &quot;10.0.0.3&quot;,&quot;ipdstaddrprefix&quot;: &quot;32&quot;,&quot;ipsrcaddr&quot;: &quot;10.0.0.1&quot;,&quot;ipsrcaddrprefix&quot;: &quot;32&quot;,&quot;ipproto&quot;: &quot;1&quot;,&quot;ipdscp&quot;: &quot;17&quot;,&quot;icmptypenum&quot;: &quot;20&quot;,&quot;icmpcodenum&quot;:&quot;20&quot;}}&apos; &lt;a href=&quot;http://127.0.0.1:8083/vtn-webapi/flowlists/flowlist1/flowlistentries.json&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://127.0.0.1:8083/vtn-webapi/flowlists/flowlist1/flowlistentries.json&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;vBr flowfilters and flowfitlerentries:&lt;/p&gt;

&lt;p&gt;curl -v --user admin:adminpass -X POST -H &apos;content-type: application/json&apos; -d &apos;{&quot;flowfilter&quot; : {&quot;ff_type&quot;: &quot;in&quot;}}&apos; &lt;a href=&quot;http://127.0.0.1:8083/vtn-webapi/vtns/vtn_one/vbridges/vbr_one/flowfilters.json&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://127.0.0.1:8083/vtn-webapi/vtns/vtn_one/vbridges/vbr_one/flowfilters.json&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;curl -v --user admin:adminpass -X POST -H &apos;content-type: application/json&apos; -H &apos;ipaddr:127.0.0.1&apos; -d &apos;{&quot;flowfilterentry&quot;: {&quot;seqnum&quot;: &quot;1&quot;, &quot;fl_name&quot;: &quot;flowlist1&quot;, &quot;action_type&quot;:&quot;pass&quot;, &quot;priority&quot;:&quot;3&quot;, &quot;dscp&quot;:&quot;55&quot; }}&apos; &lt;a href=&quot;http://127.0.0.1:8083/vtn-webapi/vtns/vtn_one/vbridges/vbr_one/flowfilters/in/flowfilterentries.json&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://127.0.0.1:8083/vtn-webapi/vtns/vtn_one/vbridges/vbr_one/flowfilters/in/flowfilterentries.json&lt;/a&gt;&lt;/p&gt;



&lt;p&gt;Then Update the Flowlistentries and flowfilterenties using the below commands:&lt;/p&gt;

&lt;p&gt;curl -v --user admin:adminpass -H &apos;content-type: application/json&apos; -X PUT -d &apos;{&quot;flowlistentry&quot;: {&quot;seqnum&quot;: &quot;11&quot;,&quot;macethertype&quot;: &quot;0x800&quot;,&quot;ipdstaddr&quot;: &quot;10.0.0.3&quot;,&quot;ipdstaddrprefix&quot;: &quot;32&quot;,&quot;ipsrcaddr&quot;: &quot;10.0.0.1&quot;,&quot;ipsrcaddrprefix&quot;: &quot;32&quot;,&quot;ipproto&quot;: &quot;1&quot;,&quot;ipdscp&quot;: &quot;16&quot;,&quot;icmptypenum&quot;: &quot;20&quot;,&quot;icmpcodenum&quot;:&quot;20&quot;}}&apos; &lt;a href=&quot;http://127.0.0.1:8083/vtn-webapi/flowlists/flowlist1/flowlistentries/11.json&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://127.0.0.1:8083/vtn-webapi/flowlists/flowlist1/flowlistentries/11.json&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;curl -v --user admin:adminpass -X PUT -H &apos;content-type: application/json&apos; -H &apos;ipaddr:127.0.0.1&apos; -d &apos;{&quot;flowfilterentry&quot;: {&quot;seqnum&quot;: &quot;1&quot;, &quot;fl_name&quot;: &quot;flowlist1&quot;, &quot;action_type&quot;:&quot;pass&quot;, &quot;priority&quot;:&quot;3&quot;, &quot;dscp&quot;:&quot;50&quot; }}&apos; &lt;a href=&quot;http://127.0.0.1:8083/vtn-webapi/vtns/vtn_one/vbridges/vbr_one/flowfilters/in/flowfilterentries/1.json&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://127.0.0.1:8083/vtn-webapi/vtns/vtn_one/vbridges/vbr_one/flowfilters/in/flowfilterentries/1.json&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;When the GET command is used in the Vtn manager to get the Flowconditions and flowfilterentries:&lt;/p&gt;

&lt;p&gt;curl -v --user &quot;admin&quot;:&quot;admin&quot; -H &quot;Accept: application/json&quot; -H &quot;Content-type: application/json&quot; -X GET &lt;a href=&quot;http://localhost:8282/controller/nb/v2/vtn/default/flowconditions&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8282/controller/nb/v2/vtn/default/flowconditions&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Result: &lt;/p&gt;

&lt;p&gt;{&quot;flowcondition&quot;:[{&quot;name&quot;:&quot;flowlist1&quot;,&quot;match&quot;:[{&quot;ethernet&quot;:&lt;/p&gt;
{&quot;type&quot;:&quot;2048&quot;}
&lt;p&gt;,&quot;inetMatch&quot;:{&quot;inet4&quot;:{&quot;dscp&quot;:&quot;16&quot;}},&quot;index&quot;:&quot;11&quot;}]}]}&lt;/p&gt;

&lt;p&gt;curl -v --user &quot;admin&quot;:&quot;admin&quot; -H &quot;Accept: application/json&quot; -H &quot;Content-type: application/json&quot; -X GET &lt;a href=&quot;http://localhost:8282/controller/nb/v2/vtn/default/vtns/vtn_one/vbridges/vbr_one/flowfilters/in/1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8282/controller/nb/v2/vtn/default/vtns/vtn_one/vbridges/vbr_one/flowfilters/in/1&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Result:&lt;/p&gt;

&lt;p&gt;{&quot;index&quot;:&quot;1&quot;,&quot;condition&quot;:&quot;flowlist1&quot;,&quot;filterType&quot;:{&quot;pass&quot;:{}},&quot;actions&quot;:&lt;span class=&quot;error&quot;&gt;&amp;#91;{&amp;quot;dscp&amp;quot;:{&amp;quot;dscp&amp;quot;:&amp;quot;50&amp;quot;}}&amp;#93;&lt;/span&gt;}&lt;/p&gt;


&lt;p&gt;Occurrence of the issue :&lt;/p&gt;

&lt;p&gt;For all the keytypes of  flowlistentries or the flowfilterentries during update operation, the updated attribute alone is being overwritten on the whole array.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26444">VTN-64</key>
            <summary>For the flowlistentries and flowfilterentries created Attribute values are overwritten during update with the updated attribute values.</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="-1">Unassigned</assignee>
                                    <reporter username="yogalakshmi.pa@hcl.com">YOGA LAKSHMI SWETHA PAYYAVULA</reporter>
                        <labels>
                    </labels>
                <created>Mon, 4 May 2015 13:53:13 +0000</created>
                <updated>Thu, 19 Oct 2017 21:25:27 +0000</updated>
                            <resolved>Fri, 26 Jun 2015 05:39:41 +0000</resolved>
                                    <version>unspecified</version>
                                                    <component>ODC Driver</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="52922" author="yogalakshmi.pa@hcl.com" created="Wed, 24 Jun 2015 06:03:07 +0000"  >&lt;p&gt;This Bug is fixed in the below given patch:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/20360&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/20360&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="52923" author="yogalakshmi.pa@hcl.com" created="Fri, 26 Jun 2015 05:39:41 +0000"  >&lt;p&gt;This Bug was filed in the Lithium Release.&lt;/p&gt;

&lt;p&gt;Please find below the link for the patch in Master Branch :&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/20360/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/20360/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Please find below the link for the patch in the stable/Lithium Branch:&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/20377/1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/20377/1&lt;/a&gt;&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>3109</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=3109]]></customfieldvalue>

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

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