<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:16:48 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-1153] Unnecessary data change events for child-nodes-only</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-1153</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;When subscribing data change notification with the &lt;tt&gt;child-nodes-only&lt;/tt&gt; mode, the notification includes unnecessary data change events for the list key nodes in the data path.&lt;/p&gt;

&lt;p&gt;For example, when the &lt;tt&gt;keepalive-delay&lt;/tt&gt; value of a NETCONF node is updated with the following PUT request&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;PUT /rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-mdsal1/netconf-node-topology:keepalive-delay

{
    &quot;netconf-node-topology:keepalive-delay&quot;: 180
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;A notification message like this is generated:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;{
  &quot;urn-ietf-params-xml-ns-netconf-notification-1.0:notification&quot;: {
    &quot;event-time&quot;: &quot;2023-09-08T18:12:43.16825253Z&quot;,
    &quot;urn-opendaylight-params-xml-ns-yang-controller-md-sal-remote:data-changed-notification&quot;: {
      &quot;data-change-event&quot;: [
        {
          &quot;path&quot;: &quot;/urn-TBD-params-xml-ns-yang-network-topology:network-topology/urn-TBD-params-xml-ns-yang-network-topology:topology/urn-TBD-params-xml-ns-yang-network-topology:topology[urn-TBD-params-xml-ns-yang-network-topology:topology-id=&apos;topology-netconf&apos;]/urn-TBD-params-xml-ns-yang-network-topology:topology-id&quot;,
          &quot;data&quot;: {
            &quot;network-topology:topology-id&quot;: &quot;topology-netconf&quot;
          },
          &quot;operation&quot;: &quot;updated&quot;
        },
        {
          &quot;path&quot;: &quot;/urn-TBD-params-xml-ns-yang-network-topology:network-topology/urn-TBD-params-xml-ns-yang-network-topology:topology/urn-TBD-params-xml-ns-yang-network-topology:topology[urn-TBD-params-xml-ns-yang-network-topology:topology-id=&apos;topology-netconf&apos;]/urn-TBD-params-xml-ns-yang-network-topology:node/urn-TBD-params-xml-ns-yang-network-topology:node[urn-TBD-params-xml-ns-yang-network-topology:node-id=&apos;netconf-mdsal1&apos;]/urn-opendaylight-netconf-node-topology:keepalive-delay&quot;,
          &quot;data&quot;: {
            &quot;netconf-node-topology:keepalive-delay&quot;: 180
          },
          &quot;operation&quot;: &quot;updated&quot;
        },
        {
          &quot;path&quot;: &quot;/urn-TBD-params-xml-ns-yang-network-topology:network-topology/urn-TBD-params-xml-ns-yang-network-topology:topology/urn-TBD-params-xml-ns-yang-network-topology:topology[urn-TBD-params-xml-ns-yang-network-topology:topology-id=&apos;topology-netconf&apos;]/urn-TBD-params-xml-ns-yang-network-topology:node/urn-TBD-params-xml-ns-yang-network-topology:node[urn-TBD-params-xml-ns-yang-network-topology:node-id=&apos;netconf-mdsal1&apos;]/urn-TBD-params-xml-ns-yang-network-topology:node-id&quot;,
          &quot;data&quot;: {
            &quot;network-topology:node-id&quot;: &quot;netconf-mdsal1&quot;
          },
          &quot;operation&quot;: &quot;updated&quot;
        }
      ]
    }
  }
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Note that there are data change events for &lt;tt&gt;topology-id&lt;/tt&gt; &amp;amp; &lt;tt&gt;node-id&lt;/tt&gt;, which are the key nodes of &lt;tt&gt;topology&lt;/tt&gt; &amp;amp; &lt;tt&gt;node&lt;/tt&gt;, respectively, in addition to &lt;tt&gt;keepalive-delay&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;This is quite confusing and makes it harder to understand what has changed.&lt;/p&gt;</description>
                <environment></environment>
        <key id="37326">NETCONF-1153</key>
            <summary>Unnecessary data change events for child-nodes-only</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <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="sangwookha">Sangwook Ha</assignee>
                                    <reporter username="sangwookha">Sangwook Ha</reporter>
                        <labels>
                    </labels>
                <created>Fri, 8 Sep 2023 22:43:07 +0000</created>
                <updated>Tue, 19 Sep 2023 16:50:17 +0000</updated>
                            <resolved>Tue, 19 Sep 2023 16:50:17 +0000</resolved>
                                    <version>6.0.3</version>
                                    <fixVersion>7.0.0</fixVersion>
                    <fixVersion>6.0.4</fixVersion>
                                    <component>restconf-nb</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="72531" author="JIRAUSER13318" created="Sat, 9 Sep 2023 01:35:30 +0000"  >&lt;p&gt;The way &lt;tt&gt;child-nodes-only&lt;/tt&gt;&#160;mode works is interesting because data-change-event depends on how the data tree is updated or what is stored in the data tree.&lt;br/&gt;
For example, updating a leaf node may generate a data-change-event for its parent container/list entry (e.g. updated with a PUT request targeting its parent node) or for the leaf node (e.g. updated with a PUT request targeting the leaf node). Removing a list entry may generate a data-change-event for the list entry (if there is any other list entry) or for its parent container/list (if the removed list entry is the only one in the list, hence the list itself is removed and maybe even its parents).&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="37040">NETCONF-1076</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i046hj:</customfieldvalue>

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