<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:15:33 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-652] NetconfMessageTransformer doesn&apos;t include namespace of action to XML action request</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-652</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;NetconfMessageTransformer doesn&apos;t include namespace of an action to XML action request, which is problem, when the action is augmented into some data tree.&lt;/p&gt;

&lt;p&gt;Example:&lt;/p&gt;

&lt;p&gt;If we have for example these two modules. So the second module augments interface of the device with the action &quot;disable&quot;:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
module example-server-farm {
&#160;&#160;&#160; yang-version 1.1;
 &#160;&#160; namespace &lt;span class=&quot;code-quote&quot;&gt;&quot;urn:example:server-farm&quot;&lt;/span&gt;;
 &#160;&#160; prefix &lt;span class=&quot;code-quote&quot;&gt;&quot;sfarm&quot;&lt;/span&gt;;
&#160;&#160;&#160; container device {
 &#160;&#160;&#160;&#160;&#160;&#160; list &lt;span class=&quot;code-keyword&quot;&gt;interface&lt;/span&gt; {
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; key name;
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; leaf name {
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;  type string;
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }
&#160;&#160;&#160;&#160;&#160;&#160;  }
 &#160;&#160; }
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
module augmented-action {
    yang-version 1.1;
    namespace &lt;span class=&quot;code-quote&quot;&gt;&quot;urn:example:augmented-action&quot;&lt;/span&gt;;
    prefix &lt;span class=&quot;code-quote&quot;&gt;&quot;augaction&quot;&lt;/span&gt;;

    &lt;span class=&quot;code-keyword&quot;&gt;import&lt;/span&gt; example-server-farm { prefix sfarm; }

    augment &lt;span class=&quot;code-quote&quot;&gt;&quot;/sfarm:device/sfarm:&lt;span class=&quot;code-keyword&quot;&gt;interface&lt;/span&gt;&quot;&lt;/span&gt; {
        action disable {
        }
    }
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Message from current implementation of NetconfMessageTransformer will look like:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
&amp;lt;rpc message-id=&lt;span class=&quot;code-quote&quot;&gt;&quot;m-0&quot;&lt;/span&gt; xmlns=&lt;span class=&quot;code-quote&quot;&gt;&quot;urn:ietf:params:xml:ns:netconf:base:1.0&quot;&lt;/span&gt;&amp;gt;
 &#160;&#160;&#160; &amp;lt;action xmlns=&lt;span class=&quot;code-quote&quot;&gt;&quot;urn:ietf:params:xml:ns:yang:1&quot;&lt;/span&gt;&amp;gt;
 &#160;&#160;&#160; &#160;&#160;&#160; &amp;lt;device xmlns=&lt;span class=&quot;code-quote&quot;&gt;&quot;urn:example:server-farm&quot;&lt;/span&gt;&amp;gt;
 &#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &amp;lt;&lt;span class=&quot;code-keyword&quot;&gt;interface&lt;/span&gt;&amp;gt;
 &#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &amp;lt;name&amp;gt;test&amp;lt;/name&amp;gt;
 &#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &amp;lt;disable/&amp;gt;
 &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; &amp;lt;/&lt;span class=&quot;code-keyword&quot;&gt;interface&lt;/span&gt;&amp;gt;
 &#160;&#160;&#160; &#160;&#160;&#160;&#160; &amp;lt;/device&amp;gt;
 &#160;&#160;&#160; &amp;lt;/action&amp;gt;
 &amp;lt;/rpc&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;But correct one should contain namespace for disable action tag itself:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
 &amp;lt;rpc message-id=&lt;span class=&quot;code-quote&quot;&gt;&quot;m-0&quot;&lt;/span&gt; xmlns=&lt;span class=&quot;code-quote&quot;&gt;&quot;urn:ietf:params:xml:ns:netconf:base:1.0&quot;&lt;/span&gt;&amp;gt;
     &amp;lt;action xmlns=&lt;span class=&quot;code-quote&quot;&gt;&quot;urn:ietf:params:xml:ns:yang:1&quot;&lt;/span&gt;&amp;gt;
         &amp;lt;device xmlns=&lt;span class=&quot;code-quote&quot;&gt;&quot;urn:example:server-farm&quot;&lt;/span&gt;&amp;gt;
              &amp;lt;&lt;span class=&quot;code-keyword&quot;&gt;interface&lt;/span&gt;&amp;gt;
                  &amp;lt;name&amp;gt;test&amp;lt;/name&amp;gt;
                  &amp;lt;disable xmlns=&lt;span class=&quot;code-quote&quot;&gt;&quot;urn:example:augmented-action&quot;&lt;/span&gt;/&amp;gt;
              &amp;lt;/&lt;span class=&quot;code-keyword&quot;&gt;interface&lt;/span&gt;&amp;gt;
          &amp;lt;/device&amp;gt;
     &amp;lt;/action&amp;gt;
 &amp;lt;/rpc&amp;gt;&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="32313">NETCONF-652</key>
            <summary>NetconfMessageTransformer doesn&apos;t include namespace of action to XML action request</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="apuchyova">Anna Benc&#250;rov&#225;</assignee>
                                    <reporter username="apuchyova">Anna Benc&#250;rov&#225;</reporter>
                        <labels>
                    </labels>
                <created>Wed, 8 Jan 2020 13:44:45 +0000</created>
                <updated>Wed, 8 Jan 2020 21:53:40 +0000</updated>
                            <resolved>Wed, 8 Jan 2020 21:53:40 +0000</resolved>
                                                    <fixVersion>Magnesium</fixVersion>
                    <fixVersion>Sodium SR2</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                        <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|i03qo7:</customfieldvalue>

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