<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:15:15 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-526] In edit-config payload default-operation needs to be set to default-value for PUT/POST calls</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-526</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;For the PUT/POST calls right now default-operation tag in the edit-config is set to &quot;none&quot;&#160; whose behavior is explained below as per RFC.&#160;&lt;/p&gt;

&lt;p&gt;For devices that enforces this behavior strictly when there is parent structure in the request, ( say for a nested model) , device will throw an error.&lt;/p&gt;

&lt;p&gt;We should&#160; leave this field out ( which will default to merge) and let the device make the right decision.&lt;br/&gt;
         none:  The target datastore is unaffected by the configuration&lt;br/&gt;
            in the &amp;lt;config&amp;gt; parameter, unless and until the incoming&lt;br/&gt;
            configuration data uses the &quot;operation&quot; attribute to request&lt;br/&gt;
            a different operation.  If the configuration in the &amp;lt;config&amp;gt;&lt;br/&gt;
            parameter contains data for which there is not a&lt;br/&gt;
            corresponding level in the target datastore, an &amp;lt;rpc-error&amp;gt;&lt;br/&gt;
            is returned with an &amp;lt;error-tag&amp;gt; value of data-missing.&lt;br/&gt;
            Using &quot;none&quot; allows operations like &quot;delete&quot; to avoid&lt;br/&gt;
            unintentionally creating the parent hierarchy of the element&lt;br/&gt;
            to be deleted.&lt;/p&gt;</description>
                <environment></environment>
        <key id="29416">NETCONF-526</key>
            <summary>In edit-config payload default-operation needs to be set to default-value for PUT/POST calls</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.opendaylight.org/images/icons/priorities/critical.svg">High</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="bvaradar">Balaji Varadaraju</assignee>
                                    <reporter username="bvaradar">Balaji Varadaraju</reporter>
                        <labels>
                    </labels>
                <created>Wed, 14 Mar 2018 06:09:59 +0000</created>
                <updated>Wed, 18 Apr 2018 07:08:21 +0000</updated>
                            <resolved>Thu, 5 Apr 2018 19:41:59 +0000</resolved>
                                                                    <component>netconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                    <workratio workratioPercent="0"/>
                                    <progress percentage="0">
                                    <originalProgress>
                                                    <row percentage="100" backgroundColor="#89afd7"/>
                                            </originalProgress>
                                                    <currentProgress>
                                                    <row percentage="0" backgroundColor="#51a825"/>
                                                    <row percentage="100" backgroundColor="#ec8e00"/>
                                            </currentProgress>
                            </progress>
                                    <aggregateprogress percentage="0">
                                    <originalProgress>
                                                    <row percentage="100" backgroundColor="#89afd7"/>
                                            </originalProgress>
                                                    <currentProgress>
                                                    <row percentage="0" backgroundColor="#51a825"/>
                                                    <row percentage="100" backgroundColor="#ec8e00"/>
                                            </currentProgress>
                            </aggregateprogress>
                                    <timeoriginalestimate seconds="60">1 minute</timeoriginalestimate>
                            <timeestimate seconds="60">1 minute</timeestimate>
                                        <comments>
                            <comment id="61955" author="jmorvay" created="Wed, 28 Mar 2018 08:06:17 +0000"  >&lt;p&gt;Missing parent structure should be (and also is) created by RESTCONF. RESTCONF merges all parent node in the same transaction before actually putting data at the specified path. So I don&apos;t see the point to change the implementation of edit-config rpc. edit-config rpc is used also by netconf&apos;s data broker implementation and I think this can break the data broker&apos;s API contract.&lt;/p&gt;

&lt;p&gt;This was already discussed in &lt;a href=&quot;https://jira.opendaylight.org/browse/NETCONF-335&quot; title=&quot;NETCONF&amp;#39;s default-operation of &amp;quot;none&amp;quot; prevents config creation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;NETCONF-335&quot;&gt;&lt;del&gt;NETCONF-335&lt;/del&gt;&lt;/a&gt; and was resolved as RESOLVED INVALID.&lt;/p&gt;</comment>
                            <comment id="61986" author="bvaradar" created="Thu, 29 Mar 2018 18:45:34 +0000"  >&lt;p&gt;I addressed this in the gerrit comment. Restconf dealing with this broke many commercially available devices and restconf is not doing this anymore for mounted netconf devices. So it is best to leave it to device to determine this.&lt;/p&gt;</comment>
                            <comment id="62099" author="bvaradar" created="Thu, 5 Apr 2018 19:41:59 +0000"  >&lt;p&gt;Checked into stable/carbon and master.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="29785">NETCONF-537</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|i03bmn:</customfieldvalue>

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