<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:14:37 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-280] need to lock running as well as candidate config in mounted device</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-280</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;when modifying the configuration of a mounted device in response to a RESTCONF PUT or POST request ODL locks the candidate configuration, however it doesn&apos;t lock the running configuration.&lt;/p&gt;

&lt;p&gt;this risks a race condition where the running configuration is edited by another user (e.g. from the CLI) before ODL commits the configuration changes.&lt;/p&gt;

&lt;p&gt;is it possible to apply a lock to the running configuration as well as the candidate configuration?&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="21293">NETCONF-280</key>
            <summary>need to lock running as well as candidate config in mounted device</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="10001">Won&apos;t Do</resolution>
                                        <assignee username="jmorvay@cisco.com">Jakub Morvay</assignee>
                                    <reporter username="giheron@cisco.com">Giles Heron</reporter>
                        <labels>
                    </labels>
                <created>Mon, 19 Sep 2016 18:52:19 +0000</created>
                <updated>Fri, 15 Mar 2019 22:22:30 +0000</updated>
                            <resolved>Fri, 14 Oct 2016 08:47:51 +0000</resolved>
                                                                    <component>netconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="39645" author="jmorvay@cisco.com" created="Tue, 20 Sep 2016 12:16:08 +0000"  >&lt;p&gt;Hi Giles,&lt;/p&gt;

&lt;p&gt;I have quickly checked the implementation and ODL should lock both candidate and running configurations.&lt;/p&gt;

&lt;p&gt;Does your device advertise :writable-running capability?&lt;/p&gt;</comment>
                            <comment id="39646" author="giheron@cisco.com" created="Tue, 20 Sep 2016 13:39:51 +0000"  >&lt;p&gt;no - the device doesn&apos;t advertise :writeable-running.&lt;/p&gt;

&lt;p&gt;but we&apos;d still like running to be locked to prevent other users changing it.&lt;/p&gt;</comment>
                            <comment id="39647" author="jmorvay@cisco.com" created="Tue, 20 Sep 2016 13:47:36 +0000"  >&lt;p&gt;But is there a way how you can change it then?&lt;/p&gt;

&lt;p&gt;Anyway I think you can issue a lock through RESTCONF, then edit configuration and finally unlock the device.&lt;/p&gt;</comment>
                            <comment id="39648" author="giheron@cisco.com" created="Tue, 20 Sep 2016 13:51:43 +0000"  >&lt;p&gt;(In reply to Jakub Morvay from comment #3)&lt;br/&gt;
&amp;gt; But is there a way how you can change it then?&lt;/p&gt;

&lt;p&gt;you can change the config from the CLI if running-config isn&apos;t locked.&lt;/p&gt;

&lt;p&gt;&amp;gt; Anyway I think you can issue a lock through RESTCONF, then edit&lt;br/&gt;
&amp;gt; configuration and finally unlock the device.&lt;/p&gt;

&lt;p&gt;The device doesn&apos;t expose &quot;ietf-netconf&quot; so there&apos;s no way to use RESTCONF to issue a lock command.  Even if it did I&apos;d say that&apos;s a bit of a kludge...&lt;/p&gt;</comment>
                            <comment id="39649" author="jmorvay@cisco.com" created="Tue, 20 Sep 2016 14:02:47 +0000"  >&lt;p&gt;Ok then, we can lock also running configuration for devices that advertise just :candidate capability and no :writable-running capability&lt;/p&gt;</comment>
                            <comment id="39650" author="giheron@cisco.com" created="Tue, 20 Sep 2016 14:10:00 +0000"  >&lt;p&gt;thanks!&lt;/p&gt;</comment>
                            <comment id="39651" author="giheron@cisco.com" created="Tue, 20 Sep 2016 20:44:42 +0000"  >&lt;p&gt;ah - looks like we don&apos;t need this one after all.  The box in question implicitly locks running config if you lock candidate...&lt;/p&gt;</comment>
                            <comment id="39652" author="jmorvay@cisco.com" created="Fri, 14 Oct 2016 08:47:51 +0000"  >&lt;p&gt;I&apos;m closing this bug as locking candidate configuration implicitly could break some devices out there.&lt;/p&gt;

&lt;p&gt;After &lt;a href=&quot;https://jira.opendaylight.org/browse/NETCONF-250&quot; title=&quot;Allow over-ride of non-module capabilities&quot; class=&quot;issue-link&quot; data-issue-key=&quot;NETCONF-250&quot;&gt;&lt;del&gt;NETCONF-250&lt;/del&gt;&lt;/a&gt; will be resolved, one can override also non module capabilities advertised by device and can add :writable-running capability, so the ODL would lock also running configuration.&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>6750</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=6750]]></customfieldvalue>

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

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