<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:53:58 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>[CONTROLLER-825] Invalid element order in generated Netconf message</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-825</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;The NETCONF messages sent to a device do not have elements in the RFC-required order. For instance, with the device data model containing this part&lt;/p&gt;

&lt;p&gt;  container root {&lt;br/&gt;
    list policy {&lt;br/&gt;
      key name;&lt;br/&gt;
      leaf name &lt;/p&gt;
{ type string; }&lt;br/&gt;
      list rule {&lt;br/&gt;
        key name;&lt;br/&gt;
        leaf name { type string; }
&lt;p&gt;      }&lt;br/&gt;
    }&lt;br/&gt;
  }&lt;/p&gt;

&lt;p&gt;and a POST sent to &lt;a href=&quot;http://localhost:8080/restconf/config/opendaylight-inventory:nodes/node/mexample/yang-ext:mount/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8080/restconf/config/opendaylight-inventory:nodes/node/mexample/yang-ext:mount/&lt;/a&gt; with data&lt;/p&gt;

&lt;p&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&lt;br/&gt;
&amp;lt;dhex:root xmlns:dhex=&quot;http://acme.com/ns/example/dhcpd&quot;&amp;gt;&lt;br/&gt;
  &amp;lt;dhex:policy&amp;gt;&lt;br/&gt;
    &amp;lt;dhex:name&amp;gt;e&amp;lt;/dhex:name&amp;gt;&lt;br/&gt;
    &amp;lt;dhex:rule&amp;gt;&lt;br/&gt;
      &amp;lt;dhex:name&amp;gt;rule-default&amp;lt;/dhex:name&amp;gt;&lt;br/&gt;
    &amp;lt;/dhex:rule&amp;gt;&lt;br/&gt;
  &amp;lt;/dhex:policy&amp;gt;&lt;br/&gt;
&amp;lt;/dhex:root&amp;gt;&lt;/p&gt;

&lt;p&gt;this RPC is sent to the device:&lt;/p&gt;

&lt;p&gt;&amp;lt;rpc xmlns=&quot;urn:ietf:params:xml:ns:netconf:base:1.0&quot; message-id=&quot;m-19&quot;&amp;gt;&lt;br/&gt;
  &amp;lt;edit-config&amp;gt;&lt;br/&gt;
    &amp;lt;target&amp;gt;&lt;br/&gt;
      &amp;lt;candidate/&amp;gt;&lt;br/&gt;
    &amp;lt;/target&amp;gt;&lt;br/&gt;
    &amp;lt;error-option&amp;gt;rollback-on-error&amp;lt;/error-option&amp;gt;&lt;br/&gt;
    &amp;lt;config&amp;gt;&lt;br/&gt;
      &amp;lt;root xmlns=&quot;http://tail-f.com/ns/example/dhcpd&quot;&amp;gt;&lt;br/&gt;
        &amp;lt;policy&amp;gt;&lt;br/&gt;
          &amp;lt;rule&amp;gt;&lt;br/&gt;
            &amp;lt;name&amp;gt;rule-default&amp;lt;/name&amp;gt;&lt;br/&gt;
          &amp;lt;/rule&amp;gt;&lt;br/&gt;
          &amp;lt;name&amp;gt;e&amp;lt;/name&amp;gt;&lt;br/&gt;
        &amp;lt;/policy&amp;gt;&lt;br/&gt;
      &amp;lt;/root&amp;gt;&lt;br/&gt;
    &amp;lt;/config&amp;gt;&lt;br/&gt;
  &amp;lt;/edit-config&amp;gt;&lt;br/&gt;
&amp;lt;/rpc&amp;gt;&lt;/p&gt;

&lt;p&gt;But this is not valid, since the element &quot;name&quot; must be the first child of the element &quot;policy&quot;, as required by RFC 6020.&lt;/p&gt;

&lt;p&gt;Note that there is already fixed yangtools &lt;a href=&quot;https://jira.opendaylight.org/browse/YANGTOOLS-282&quot; title=&quot;NormalizedNodeWriter does not emit keys in correct order&quot; class=&quot;issue-link&quot; data-issue-key=&quot;YANGTOOLS-282&quot;&gt;&lt;del&gt;YANGTOOLS-282&lt;/del&gt;&lt;/a&gt; but it does not seem to apply here.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Linux&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="25379">CONTROLLER-825</key>
            <summary>Invalid element order in generated Netconf message</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="tcere">Tomas Cere</assignee>
                                    <reporter username="volf@cngroup.dk">Martin Volf</reporter>
                        <labels>
                    </labels>
                <created>Fri, 12 Sep 2014 14:42:33 +0000</created>
                <updated>Tue, 25 Jul 2023 08:24:10 +0000</updated>
                            <resolved>Fri, 10 Apr 2015 09:59:41 +0000</resolved>
                                                                    <component>netconf</component>
                        <due>Thu, 16 Apr 2015 00:00:00 +0000</due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="49160" author="ricjhill@gmail.com" created="Fri, 12 Sep 2014 16:15:48 +0000"  >&lt;p&gt;Also applies to PUT requests&lt;/p&gt;</comment>
                            <comment id="49161" author="tony.tkacik@gmail.com" created="Tue, 16 Sep 2014 10:29:58 +0000"  >&lt;p&gt;remote:   &lt;a href=&quot;https://git.opendaylight.org/gerrit/11227&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/11227&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="49162" author="mmarsale@cisco.com" created="Fri, 27 Mar 2015 09:12:34 +0000"  >&lt;p&gt;Reopening. This issue is present again in the codebase.&lt;/p&gt;</comment>
                            <comment id="49163" author="tcere" created="Thu, 9 Apr 2015 13:38:48 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/17997/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/17997/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/17998/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/17998/&lt;/a&gt;&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>1848</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=1848]]></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="10380"><![CDATA[Lithium-M5]]></customfieldvalue>

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

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