<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:14:06 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-73] Device delete request returns response before the device removal is fully completed.</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-73</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;When user sends a DELETE request to /restconf/config/network-topology:network-topology/topology/topology-netconf/node/controller-config/yang-ext:mount/config:modules/module/odl-sal-netconf-connector-cfg:sal-netconf-connector/$DEVICE_NAME (where $DEVICE_NAME is a name of a device mounted via netconf-connector), the response is sent before the device removal is fully completed. This can be observed by executing a GET request to /restconf/operational/network-topology:network-topology/topology/topology-netconf (the device $DEVICE_NAME will still be mentioned in the returned data).&lt;/p&gt;

&lt;p&gt;This is most likely going to be a problem as most applications using an API like this assume the device is completely released once a &quot;disconnect&quot; request replies with the OK response. The behavior of netconf breaks this assumption which might cause corruption of the data on the device once the DELETE requestor tries to access the device in a way that is not netconf mount compatible.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="21086">NETCONF-73</key>
            <summary>Device delete request returns response before the device removal is fully completed.</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="10003">Cannot Reproduce</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="jbehran@cisco.com">Jozef Behran</reporter>
                        <labels>
                    </labels>
                <created>Fri, 25 Sep 2015 08:39:31 +0000</created>
                <updated>Fri, 15 Mar 2019 22:22:14 +0000</updated>
                            <resolved>Fri, 25 Sep 2015 11:25:35 +0000</resolved>
                                                                    <component>netconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="38963" author="vrpolak" created="Fri, 25 Sep 2015 11:22:20 +0000"  >&lt;p&gt;My point of view:&lt;br/&gt;
Config datastore contains a desired state, motto: may not be true yet.&lt;br/&gt;
Operational datastore contains state as detected, motto: may not be true anymore.&lt;br/&gt;
RESTCONF guarantees that the RPC or edit of config datastore was applied.&lt;/p&gt;

&lt;p&gt;Presence of device in topology-netconf (as opposed to netconf-connector configutration mounted at controller-config) is an operational consequence, it reflects state detected by netconf-connector.&lt;br/&gt;
Change of the state (in this case teardown of netconf connection to device) is triggered by change of controller-config configuration, but it happens asynchronously. 200 on your delete means netconf-connector configuration was deleted, but the triggered teardown is still pending.&lt;/p&gt;

&lt;p&gt;It may be useful to have a blocking request for this type of teardown, but that would be an improvement.&lt;br/&gt;
Current behavior is consistent with both datastore semantics and RESTCONF, so I guess this Bug is Invalid.&lt;/p&gt;

&lt;p&gt;For tests, I recommend to WUKS to see device gone from topology-netconf.&lt;/p&gt;</comment>
                            <comment id="38964" author="jbehran@cisco.com" created="Fri, 25 Sep 2015 11:25:35 +0000"  >&lt;p&gt;ODL needs a feature for the scenario described in this bug. Right now the user is forced to poll the operational state until he sees the device to go away.&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>4356</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=4356]]></customfieldvalue>

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

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