<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:14:36 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>[NETCONF-273] Problem with HTTP operations on mounted devices</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-273</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;Environment:&lt;br/&gt;
branch master, stable/boron, beryllium-sr3&lt;br/&gt;
feature-install odl-restconf-all odl-netconf-topology&lt;br/&gt;
install &lt;a href=&quot;https://github.com/opendaylight/netconf/blob/c0488b3e5a8d1bbe2894eda5eb1254f6ced347a4/restconf/sal-rest-connector/src/main/yang/instance-identifier-patch-module.yang&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/opendaylight/netconf/blob/c0488b3e5a8d1bbe2894eda5eb1254f6ced347a4/restconf/sal-rest-connector/src/main/yang/instance-identifier-patch-module.yang&lt;/a&gt; to mounted device&lt;/p&gt;

&lt;p&gt;Invoke two consequent POSTs operations on server:&lt;br/&gt;
POST &lt;a href=&quot;http://localhost:8181/restconf/config/instance-identifier-patch-module:patch-cont/my-list1/leaf1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/config/instance-identifier-patch-module:patch-cont/my-list1/leaf1&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;{&lt;br/&gt;
    &quot;my-list2&quot; : &lt;/p&gt;
{
        &quot;name&quot;: &quot;name&quot;
    }
&lt;p&gt;}&lt;/p&gt;

&lt;p&gt;then&lt;/p&gt;

&lt;p&gt;POST &lt;a href=&quot;http://localhost:8181/restconf/config/instance-identifier-patch-module:patch-cont/my-list1/leaf1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/config/instance-identifier-patch-module:patch-cont/my-list1/leaf1&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;{&lt;br/&gt;
    &quot;my-list2&quot; : &lt;/p&gt;
{
        &quot;name&quot;: &quot;name-2&quot;
    }
&lt;p&gt;}&lt;/p&gt;


&lt;p&gt;result:&lt;/p&gt;

&lt;p&gt;GET &lt;a href=&quot;http://localhost:8181/restconf/config/instance-identifier-patch-module:patch-cont&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/config/instance-identifier-patch-module:patch-cont&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;{&lt;br/&gt;
  &quot;patch-cont&quot;: {&lt;br/&gt;
    &quot;my-list1&quot;: [&lt;br/&gt;
      {&lt;br/&gt;
        &quot;name&quot;: &quot;leaf1&quot;,&lt;br/&gt;
        &quot;my-list2&quot;: [&lt;br/&gt;
          &lt;/p&gt;
{
            &quot;name&quot;: &quot;name&quot;
          }
&lt;p&gt;,&lt;/p&gt;
          {
            &quot;name&quot;: &quot;name-2&quot;
          }
&lt;p&gt;        ]&lt;br/&gt;
      }&lt;br/&gt;
    ]&lt;br/&gt;
  }&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;Invoke two consequent POST operations on mounted device:&lt;br/&gt;
POST &lt;a href=&quot;http://localhost:8181/restconf/config/network-topology:network-topology/topology/topology-netconf/node/device1/yang-ext:mount/instance-identifier-patch-module:patch-cont/my-list1/leaf1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/config/network-topology:network-topology/topology/topology-netconf/node/device1/yang-ext:mount/instance-identifier-patch-module:patch-cont/my-list1/leaf1&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;{&lt;br/&gt;
    &quot;my-list2&quot; : &lt;/p&gt;
{
        &quot;name&quot;: &quot;name&quot;
    }
&lt;p&gt;}&lt;/p&gt;

&lt;p&gt;then&lt;/p&gt;

&lt;p&gt;POST &lt;a href=&quot;http://localhost:8181/restconf/config/network-topology:network-topology/topology/topology-netconf/node/device1/yang-ext:mount/instance-identifier-patch-module:patch-cont/my-list1/leaf1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/config/network-topology:network-topology/topology/topology-netconf/node/device1/yang-ext:mount/instance-identifier-patch-module:patch-cont/my-list1/leaf1&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;{&lt;br/&gt;
    &quot;my-list2&quot; : &lt;/p&gt;
{
        &quot;name&quot;: &quot;name-2&quot;
    }
&lt;p&gt;}&lt;/p&gt;

&lt;p&gt;result:&lt;/p&gt;

&lt;p&gt;GET &lt;a href=&quot;http://localhost:8181/restconf/config/network-topology:network-topology/topology/topology-netconf/node/device1/yang-ext:mount/instance-identifier-patch-module:patch-cont&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/config/network-topology:network-topology/topology/topology-netconf/node/device1/yang-ext:mount/instance-identifier-patch-module:patch-cont&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;{&lt;br/&gt;
  &quot;patch-cont&quot;: {&lt;br/&gt;
    &quot;my-list1&quot;: [&lt;br/&gt;
      {&lt;br/&gt;
        &quot;name&quot;: &quot;leaf1&quot;,&lt;br/&gt;
        &quot;my-list2&quot;: [&lt;/p&gt;
          {
            &quot;name&quot;: &quot;name-2&quot;
          }
&lt;p&gt;        ]&lt;br/&gt;
      }&lt;br/&gt;
    ]&lt;br/&gt;
  }&lt;br/&gt;
}&lt;/p&gt;


&lt;p&gt;PROBLEM:&lt;br/&gt;
On mounted device first inserted data is replaced by the second data.&lt;br/&gt;
I expect the result to be the same as when operations are invoked on server because the data in the first and in the second request are not the same (data has different list key (name)).&lt;/p&gt;

&lt;p&gt;Next aspect of this bug is that existence check fails:&lt;/p&gt;

&lt;p&gt;Invoke this POST operation on mounted device two times:&lt;br/&gt;
POST &lt;a href=&quot;http://localhost:8181/restconf/config/network-topology:network-topology/topology/topology-netconf/node/device1/yang-ext:mount/instance-identifier-patch-module:patch-cont/my-list1/leaf1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/config/network-topology:network-topology/topology/topology-netconf/node/device1/yang-ext:mount/instance-identifier-patch-module:patch-cont/my-list1/leaf1&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;{&lt;br/&gt;
    &quot;my-list2&quot; : &lt;/p&gt;
{
        &quot;name&quot;: &quot;name&quot;
    }
&lt;p&gt;}&lt;/p&gt;

&lt;p&gt;PROBLEM:&lt;br/&gt;
Data already exists after invoking previous request for the first time. When invoking request for the second time I expect error &quot;Data already exists for path...&quot; but request is successful.&lt;br/&gt;
Data exists check fails only in json, in xml it works.&lt;/p&gt;

&lt;p&gt;This bug blogs create, replace, merge and maybe delete/remove edit operations in YANG PATCH on mounted devices.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="21286">NETCONF-273</key>
            <summary>Problem with HTTP operations on mounted devices</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="andrej.mak@pantheon.tech">Andrej Mak</assignee>
                                    <reporter username="ivan.hrasko@pantheon.tech">Ivan Hrasko</reporter>
                        <labels>
                    </labels>
                <created>Fri, 9 Sep 2016 13:12:47 +0000</created>
                <updated>Fri, 15 Mar 2019 22:22:30 +0000</updated>
                            <resolved>Mon, 17 Oct 2016 10:47:19 +0000</resolved>
                                                                    <component>netconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="39635" author="andrej.mak@pantheon.tech" created="Mon, 26 Sep 2016 09:06:14 +0000"  >&lt;p&gt;There is a problem with handling of lists in netconf northbound server, which is used also by testtool if it is run with --md-sal true parameter.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/45967/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/45967/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="21247">NETCONF-234</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>6681</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=6681]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10206" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Issue Type</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10300"><![CDATA[Bug]]></customfieldvalue>

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

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

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