<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:15:40 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-696] Invoking Yang 1.1 Action on ODL fails for Yang Model containing yang action under augmentation hierarchy.</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-696</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;While Executing yang action requests on ODL via&#160; POST request failes for augmented yang actions see attached screenshot&lt;/p&gt;

&lt;p&gt;By going through ODL wiki , it says that QName for augmented yang model would not be supported.&lt;/p&gt;

&lt;p&gt;&#160;&lt;br/&gt;
&#160;Running into issue&#160; its related to invocation of Yang 1.1 Action on Odl.&lt;br/&gt;
&#160;&lt;br/&gt;
When I am invoking action on Yang Model having&#160;&lt;b&gt;Augmentations&lt;/b&gt;&#160;like below it fails with Exception :&#160;&lt;b&gt;&quot;&lt;/b&gt;&lt;b&gt;Augmentation node has no Qname&quot;&lt;/b&gt;&#160;**&#160;&lt;br/&gt;
&#160;&lt;br/&gt;
It occurs at time of getting&#160;&#160;&lt;b&gt;:&#160; QName getNodeType() &amp;gt;&amp;gt;&#160;path.getNodeType() as shown&lt;/b&gt;&#160;&lt;b&gt;in below code snippet.&lt;/b&gt;&lt;br/&gt;
&#160;&lt;br/&gt;
&lt;b&gt;In Class :&#160;RestconfInvokeOperationsUtil.java&#160; &#160; &#160;in Restconf Module.&lt;/b&gt;&lt;br/&gt;
&#160;&lt;br/&gt;
private static DOMDataTreeIdentifier prepareDataTreeId(final YangInstanceIdentifier yangIId,&lt;br/&gt;
 final SchemaPath schemaPath) {&lt;br/&gt;
 final List&amp;lt;PathArgument&amp;gt; pathArg = new ArrayList&amp;lt;&amp;gt;();&lt;br/&gt;
 for (PathArgument path : yangIId.getPathArguments()) {&lt;br/&gt;
 if (path.getNodeType().getLocalName().equals(schemaPath.getLastComponent().getLocalName())) &lt;/p&gt;
{
 break;
 }
&lt;p&gt; pathArg.add(path);&lt;br/&gt;
 }&lt;br/&gt;
 YangInstanceIdentifier yangInstanceIdentifier = YangInstanceIdentifier.builder().append(pathArg).build();&lt;br/&gt;
 DOMDataTreeIdentifier domDataTreeIdentifier = new DOMDataTreeIdentifier(LogicalDatastoreType.OPERATIONAL,&lt;br/&gt;
 yangInstanceIdentifier);&lt;br/&gt;
 return domDataTreeIdentifier;&lt;br/&gt;
}&lt;br/&gt;
&#160;&lt;br/&gt;
&#160;&lt;br/&gt;
&lt;ins&gt;&lt;em&gt;Yang Model :&lt;/em&gt;&lt;/ins&gt;&#160;&lt;br/&gt;
&#160;&lt;br/&gt;
module er-module&#160;&lt;/p&gt;

&lt;p&gt;&#160; yang-version 1.1;&lt;br/&gt;
&#160; namespace &quot;https://example.com/ns/er-module&quot;;&lt;br/&gt;
&#160; prefix rcsswm;&lt;br/&gt;
&#160;&lt;br/&gt;
&#160; import er-managed-element &lt;/p&gt;
{
&#160; &#160; prefix emael;
&#160; }
&lt;p&gt;&#160; import er-yang-extensions &lt;/p&gt;
{
&#160; &#160; prefix yexte;
&#160; }
&lt;p&gt;&#160;&lt;br/&gt;
&#160; revision 2019-12-06 &lt;/p&gt;
{
&#160; &#160; yexte:version &quot;3&quot;;
&#160; &#160; yexte:release &quot;4&quot;;
&#160; &#160; yexte:correction &quot;1&quot;;&#160; }
&lt;p&gt;&#160;&lt;br/&gt;
augment &quot;/emael:ManagedElement/emael:SystemFunctions&quot;;&lt;br/&gt;
&lt;b&gt;augment &quot;/emael:ManagedElement/emael:SystemFunctions&quot;&lt;/b&gt;&#160;{&lt;/p&gt;

&lt;p&gt;&#160; &#160; list&#160;&lt;b&gt;SwM&lt;/b&gt;&#160;{&lt;br/&gt;
&#160; &#160; &#160; key &quot;id&quot;;&lt;br/&gt;
&#160; &#160; &#160; leaf id &lt;/p&gt;
{
&#160; &#160; &#160; &#160; type string;
&#160; &#160; &#160; }
&lt;p&gt;&#160; &#160; &#160; yexte:is-system-created;&lt;br/&gt;
&#160; &#160; &#160; container&#160;&lt;b&gt;attributes&lt;/b&gt;&#160;&lt;/p&gt;
{
&#160; &#160; &#160; &#160; uses&#160;*SwMGrp*;&#160; &#160; &#160; }
&lt;p&gt;&#160; &#160; }&lt;br/&gt;
&#160;}&lt;br/&gt;
grouping&#160;&lt;b&gt;SwMGrp&lt;/b&gt;&#160;{&lt;br/&gt;
&#160; &#160;&#160;&lt;b&gt;action&lt;/b&gt;&#160;&lt;b&gt;createUpgradePackage&lt;/b&gt;&#160;{&lt;br/&gt;
&#160; &#160; &#160; input {&lt;br/&gt;
&#160; &#160; &#160; &#160; leaf uri &lt;/p&gt;
{
&#160; &#160; &#160; &#160; &#160; type string;&#160; &#160; &#160; &#160; }
&lt;p&gt;&#160; &#160; }&lt;br/&gt;
&#160; &#160;}&lt;br/&gt;
&#160;}&lt;br/&gt;
}&lt;br/&gt;
&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="32704">NETCONF-696</key>
            <summary>Invoking Yang 1.1 Action on ODL fails for Yang Model containing yang action under augmentation hierarchy.</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://jira.opendaylight.org/images/icons/priorities/blocker.svg">Highest</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="ajay_dp001">Ajay Deep Singh</assignee>
                                    <reporter username="ajay.dp001">Ajay Deep Singh</reporter>
                        <labels>
                    </labels>
                <created>Fri, 29 May 2020 14:12:59 +0000</created>
                <updated>Fri, 17 Jul 2020 09:32:39 +0000</updated>
                            <resolved>Fri, 17 Jul 2020 09:32:39 +0000</resolved>
                                                    <fixVersion>Aluminium</fixVersion>
                    <fixVersion>Magnesium SR2</fixVersion>
                    <fixVersion>Sodium SR4</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="68164" author="jluhrsen" created="Tue, 2 Jun 2020 17:03:33 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=rovarga&quot; class=&quot;user-hover&quot; rel=&quot;rovarga&quot;&gt;rovarga&lt;/a&gt;, this might belong in yangtools?&lt;/p&gt;</comment>
                            <comment id="68166" author="rovarga" created="Tue, 2 Jun 2020 17:28:16 +0000"  >&lt;p&gt;ah,&#160; nope, related but I think this is RESTCONF&apos;s failure to take handle the NormalizedNode addressing complexities.&lt;/p&gt;</comment>
                            <comment id="68167" author="ajay.dp001" created="Wed, 3 Jun 2020 04:47:55 +0000"  >&lt;p&gt;Hi Robert,&lt;/p&gt;

&lt;p&gt;Thanks for commenting on JIRA.&lt;/p&gt;

&lt;p&gt;I have checked-in code changes for issue please can you review/merge on master branch, also I need to merge it on stable/sodium, stable/magnesium once its&#160;reviewed on master branch will cherrypick on other branches hope that should work.&lt;/p&gt;

&lt;p&gt;&lt;ins&gt;Issue details&lt;/ins&gt; : Earlier code was iteration and&#160; trying to get QName for augment node in&#160;data model hierarchy.&#160;&lt;/p&gt;

&lt;p&gt;Gerrit link :&#160;&lt;a href=&quot;https://git.opendaylight.org/gerrit/c/netconf/+/90225&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/c/netconf/+/90225&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Regards,&lt;/p&gt;

&lt;p&gt;Ajay&lt;/p&gt;</comment>
                            <comment id="68168" author="ajay.dp001" created="Wed, 3 Jun 2020 04:57:08 +0000"  >&lt;p&gt;Hi All,&lt;/p&gt;

&lt;p&gt;Tested Code against Yang Model attached in JIRA.&lt;/p&gt;

&lt;p&gt;Detail:&lt;/p&gt;

&lt;p&gt;&lt;ins&gt;Restend Point&lt;/ins&gt; : &lt;a href=&quot;http://localhost:8181/rests/data/network-topology:network-topology/topology=topology-netconf/node=testtool/yang-ext:mount/main:cont/cont1/reset&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/rests/data/network-topology:network-topology/topology=topology-netconf/node=testtool/yang-ext:mount/main:cont/cont1/reset&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;ins&gt;JSon Body :&lt;/ins&gt;&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;?xml version=&lt;span class=&quot;code-quote&quot;&gt;&quot;1.0&quot;&lt;/span&gt; encoding=&lt;span class=&quot;code-quote&quot;&gt;&quot;UTF-8&quot;&lt;/span&gt;?&amp;gt;
&amp;lt;input xmlns=&lt;span class=&quot;code-quote&quot;&gt;&quot;ns:augment:main:a&quot;&lt;/span&gt;&amp;gt;
 &amp;lt;delay&amp;gt;600&amp;lt;/delay&amp;gt;
&amp;lt;/input&amp;gt;&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&lt;ins&gt;RPC Message:&lt;/ins&gt;&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 xmlns=&lt;span class=&quot;code-quote&quot;&gt;&quot;urn:ietf:params:xml:ns:netconf:base:1.0&quot;&lt;/span&gt; message-id=&lt;span class=&quot;code-quote&quot;&gt;&quot;m-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;
&#160; &#160; &#160;&amp;lt;cont xmlns=&lt;span class=&quot;code-quote&quot;&gt;&quot;ns:main&quot;&lt;/span&gt;&amp;gt;
&#160; &#160; &#160; &#160; &#160; &#160;&amp;lt;cont1 xmlns=&lt;span class=&quot;code-quote&quot;&gt;&quot;ns:augment:main:a&quot;&lt;/span&gt;&amp;gt;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;&amp;lt;reset&amp;gt;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;&amp;lt;delay&amp;gt;600&amp;lt;/delay&amp;gt;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;&amp;lt;/reset&amp;gt;
&#160; &#160; &#160; &#160; &#160; &#160;&amp;lt;/cont1&amp;gt;
&#160; &#160; &#160; &amp;lt;/cont&amp;gt;
 &amp;lt;/action&amp;gt;
&amp;lt;/rpc&amp;gt;&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="68409" author="jluhrsen" created="Wed, 8 Jul 2020 17:19:46 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=rovarga&quot; class=&quot;user-hover&quot; rel=&quot;rovarga&quot;&gt;rovarga&lt;/a&gt;, we can assign this to &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=nikhil.soni.lumina&quot; class=&quot;user-hover&quot; rel=&quot;nikhil.soni.lumina&quot;&gt;nikhil.soni.lumina&lt;/a&gt; unless you already have some progress on it. I&apos;ll assign it now, but&lt;br/&gt;
feel free to take it back if you have work done already.&lt;/p&gt;</comment>
                            <comment id="68410" author="ajay_dp001" created="Wed, 8 Jul 2020 17:58:34 +0000"  >&lt;p&gt;Hi Jamo,&lt;/p&gt;

&lt;p&gt;Cant follow up&#160; on this Jira can see now code is reverted on braches, whats the issue here...?&#160;&lt;/p&gt;

&lt;p&gt;In one Jira it was commented that Code works for XML input but not for JSON is that the case...?&lt;/p&gt;

&lt;p&gt;Please can you provide some details in it will debug and find the failure scenario.&lt;/p&gt;

&lt;p&gt;Regards,&lt;/p&gt;

&lt;p&gt;Ajay&lt;/p&gt;</comment>
                            <comment id="68411" author="jluhrsen" created="Wed, 8 Jul 2020 19:01:51 +0000"  >&lt;p&gt;Thanks for taking this up &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=ajay_dp001&quot; class=&quot;user-hover&quot; rel=&quot;ajay_dp001&quot;&gt;ajay_dp001&lt;/a&gt;... the short story is that your fix did work for&lt;br/&gt;
the augmentation action case, but it broke an existing case where the action was not in&lt;br/&gt;
an augmentation if we used JSON to access it. the XML version worked.&lt;/p&gt;

&lt;p&gt;a few more details are here: &lt;a href=&quot;https://jira.opendaylight.org/browse/NETCONF-702&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.opendaylight.org/browse/NETCONF-702&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I did spend some cycles in the debugger trying to figure it out, but I&apos;m just not&lt;br/&gt;
expert enough in this to get it figured out before moving on to other things. I did&lt;br/&gt;
take some notes down and here is what I saw.&lt;/p&gt;

&lt;p&gt;In the JSON case, the yangIId.getParent() looked like this:&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;
/(ns:main?revision=2014-01-21)cont/AugmentationIdentifier{childNames=[(ns:augment:main:a?revision=2014-01-21)cont1]}/(ns:augment:main:a?revision=2014-01-21)cont1/reset
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;and XML case, it was:&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;
/(ns:main?revision=2014-01-21)cont/AugmentationIdentifier{childNames=[(ns:augment:main:a?revision=2014-01-21)cont1]}/(ns:augment:main:a?revision=2014-01-21)cont1
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Maybe that difference (/reset in JSON) is helpful to understanding why?&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=kailashkhalasi&quot; class=&quot;user-hover&quot; rel=&quot;kailashkhalasi&quot;&gt;kailashkhalasi&lt;/a&gt; is almost done with automating the augmentation action case in our CSIT so we can&lt;br/&gt;
easily test all four cases of JSON/XML + augmented/not-augmented really quickly.&lt;/p&gt;

&lt;p&gt;Let me know how I can help.&lt;/p&gt;</comment>
                            <comment id="68413" author="ajay_dp001" created="Thu, 9 Jul 2020 07:15:26 +0000"  >&lt;p&gt;Hi Jamo,&lt;/p&gt;

&lt;p&gt;Thanks for details.&lt;/p&gt;

&lt;p&gt;Figured root casue, fixed issue with Json Input, I have created new Pull Request:&#160;&lt;a href=&quot;https://git.opendaylight.org/gerrit/c/netconf/+/91274&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/c/netconf/+/91274&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Please can you get it tested against all 4 Yang 1.1 Action CRUD&#160; CSIT.&lt;/p&gt;

&lt;p&gt;Regards,&lt;/p&gt;

&lt;p&gt;Ajay&lt;/p&gt;</comment>
                            <comment id="68417" author="jluhrsen" created="Mon, 13 Jul 2020 18:22:01 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=ajay_dp001&quot; class=&quot;user-hover&quot; rel=&quot;ajay_dp001&quot;&gt;ajay_dp001&lt;/a&gt;, &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=rovarga&quot; class=&quot;user-hover&quot; rel=&quot;rovarga&quot;&gt;rovarga&lt;/a&gt;, our new CSIT to cover this is failing. It looks like the testtool is not happy with&lt;br/&gt;
with the RPC that comes in. It&apos;s giving an rpc-error reply with &quot;Mapping not found&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;
&amp;lt;rpc-reply xmlns=&lt;span class=&quot;code-quote&quot;&gt;&quot;urn:ietf:params:xml:ns:netconf:base:1.0&quot;&lt;/span&gt; message-id=&lt;span class=&quot;code-quote&quot;&gt;&quot;m-2&quot;&lt;/span&gt;&amp;gt;
    &amp;lt;rpc-error&amp;gt;
        &amp;lt;error-type&amp;gt;application&amp;lt;/error-type&amp;gt;
        &amp;lt;error-tag&amp;gt;operation-not-supported&amp;lt;/error-tag&amp;gt;
        &amp;lt;error-severity&amp;gt;error&amp;lt;/error-severity&amp;gt;
        &amp;lt;error-message&amp;gt;Mapping not found &amp;amp;lt;rpc xmlns=&lt;span class=&quot;code-quote&quot;&gt;&quot;urn:ietf:params:xml:ns:netconf:base:1.0&quot;&lt;/span&gt; message-id=&lt;span class=&quot;code-quote&quot;&gt;&quot;m-2&quot;&lt;/span&gt;&amp;amp;gt;
    &amp;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;amp;gt;
        &amp;amp;lt;cont xmlns=&lt;span class=&quot;code-quote&quot;&gt;&quot;ns:main&quot;&lt;/span&gt;&amp;amp;gt;
            &amp;amp;lt;cont1 xmlns=&lt;span class=&quot;code-quote&quot;&gt;&quot;ns:augment:main:a&quot;&lt;/span&gt;&amp;amp;gt;
                &amp;amp;lt;reset&amp;amp;gt;
                    &amp;amp;lt;delay&amp;amp;gt;600&amp;amp;lt;/delay&amp;amp;gt;
                &amp;amp;lt;/reset&amp;amp;gt;
            &amp;amp;lt;/cont1&amp;amp;gt;
        &amp;amp;lt;/cont&amp;amp;gt;
    &amp;amp;lt;/action&amp;amp;gt;
&amp;amp;lt;/rpc&amp;amp;gt;
&amp;lt;/error-message&amp;gt;
    &amp;lt;/rpc-error&amp;gt;
&amp;lt;/rpc-reply&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;we are putting the two yang models attached to this ticket in the schemas dir used by the testtool and the &lt;a href=&quot;https://logs.opendaylight.org/sandbox/vex-yul-odl-jenkins-2/netconf-csit-1node-gate-userfeatures-all-aluminium/4/testtool--netconf-gate-userfeatures-txt-CRUD-ACTION-CRUD-ACTION.1594661913.772.log.gz&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;log &lt;/a&gt; seems&lt;br/&gt;
to show that they are loaded fine.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://logs.opendaylight.org/sandbox/vex-yul-odl-jenkins-2/netconf-csit-1node-gate-userfeatures-all-aluminium/4/odl_1/odl1_karaf.log.gz&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;karaf.log &lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I wonder if there is something basic we are missing.&lt;/p&gt;</comment>
                            <comment id="68424" author="ajay_dp001" created="Tue, 14 Jul 2020 08:24:43 +0000"  >&lt;p&gt;Hi Jamo,&lt;/p&gt;

&lt;p&gt;Thanks for updates.&#160;&lt;/p&gt;

&lt;p&gt;I have tested against all 4 (Normal+Augument(XML+JSON)) cases locally and seems to be working fine.&lt;/p&gt;

&lt;p&gt;Please can you share details if below are the only check-in made to cover Augmentation Action(XML+JSON) then i guess its incomplete, that&apos;s the reason the Old CSIT is passing and the new CSIT for&#160;Augmentation is failing.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/c/integration/test/+/90879&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/c/integration/test/+/90879&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/c/integration/test/+/90969&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/c/integration/test/+/90969&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I will request to have acheck on initial CSIT added for testing action:&#160;&lt;a href=&quot;https://git.opendaylight.org/gerrit/c/integration/test/+/84858&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/c/integration/test/+/84858&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Looking at karaf.log looks&#160; like Input Mapping for rpc in testtool is not provided due to which its failing.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Regards,&lt;/p&gt;

&lt;p&gt;Ajay&lt;/p&gt;</comment>
                            <comment id="68426" author="JIRAUSER12913" created="Tue, 14 Jul 2020 15:57:33 +0000"  >&lt;p&gt;HI Ajay,&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Here is the data i&apos;m posting to test the augmentation action -&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;br/&gt;
curl --location --request PUT &apos;&lt;br/&gt;
&lt;a href=&quot;http://10.1.97.74:8181/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-test-device/yang-ext:mount/main:cont/cont1/reset&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://10.1.97.74:8181/rests/data/network-topology:network-topology/topology=topology-netconf/node=netconf-test-device/yang-ext:mount/main:cont/cont1/reset&lt;/a&gt;&lt;br/&gt;
&apos; \&lt;br/&gt;
--header &apos;Content-Type: application/xml&apos; \&lt;br/&gt;
--header &apos;Accept: application/xml&apos; \&lt;br/&gt;
--header &apos;Authorization: Basic YWRtaW46YWRtaW4=&apos; \&lt;br/&gt;
--data-raw &apos;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;&lt;br/&gt;
&amp;lt;input xmlns=&quot;ns:augment:main:a&quot;&amp;gt;&lt;br/&gt;
  &amp;lt;delay&amp;gt;600&amp;lt;/delay&amp;gt;&lt;br/&gt;
&amp;lt;/input&amp;gt;&apos;&lt;/p&gt;</comment>
                            <comment id="68428" author="ajay_dp001" created="Tue, 14 Jul 2020 16:29:35 +0000"  >&lt;p&gt;Hi Kailash,&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Using HTTP PUT is incorrect for Yang Action it should be HTTP POST.&#160;&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;I doubt if you have followed&#160; CSIT action:&#160;&lt;a href=&quot;https://git.opendaylight.org/gerrit/c/integration/test/+/84858&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/c/integration/test/+/84858&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Let me know if we can synch on whatsApp there after will iniiate Zoom Call&#160;&lt;/p&gt;

&lt;p&gt;Regards,&lt;/p&gt;

&lt;p&gt;Ajay&lt;/p&gt;</comment>
                            <comment id="68429" author="JIRAUSER12913" created="Tue, 14 Jul 2020 16:49:43 +0000"  >&lt;p&gt;sorry it was a POST call. i copied an older request i was doing but then corrected it.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;And yes I do have all those actions in CSIT. I cloned the entire repo and pointed to all those schemas.&#160;&lt;/p&gt;</comment>
                            <comment id="68430" author="jluhrsen" created="Tue, 14 Jul 2020 16:52:44 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=ajay_dp001&quot; class=&quot;user-hover&quot; rel=&quot;ajay_dp001&quot;&gt;ajay_dp001&lt;/a&gt;what is the full command line you are using to start the testtool?&lt;/p&gt;

&lt;p&gt;here is ours in CSIT:&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;java -Xmx1G -jar netconf-testtool-1.9.0-20200712.191255-249-executable.jar  --device-count 1 --debug &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt; --schemas-dir ./schemas --rpc-config /tmp/customaction.xml --md-sal &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="68432" author="ajay_dp001" created="Tue, 14 Jul 2020 18:05:48 +0000"  >&lt;p&gt;Hi Jamo,&lt;/p&gt;

&lt;p&gt;I had a chat with Kailash, and we are able to figure out issue the mapping was missing for Augument usecase.&lt;/p&gt;

&lt;p&gt;I have requested Kailash to update&#160;&lt;a href=&quot;https://git.opendaylight.org/gerrit/c/integration/test/+/84858/6/csit/variables/netconf/CRUD/customaction/customaction.xml&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;csit/variables/netconf/CRUD/customaction/customaction.xml&lt;/a&gt;&#160;file with below input data it should work thereafter.&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&amp;gt;
 &amp;lt;input&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;cont xmlns=&lt;span class=&quot;code-quote&quot;&gt;&quot;ns:main&quot;&lt;/span&gt;&amp;gt;
 &amp;lt;cont1 xmlns=&lt;span class=&quot;code-quote&quot;&gt;&quot;ns:augment:main:a&quot;&lt;/span&gt;&amp;gt;
 &amp;lt;reset&amp;gt;
 &amp;lt;delay&amp;gt;600&amp;lt;/delay&amp;gt;
 &amp;lt;/reset&amp;gt;
 &amp;lt;/cont1&amp;gt;
 &amp;lt;/cont&amp;gt;
 &amp;lt;/action&amp;gt;
 &amp;lt;/input&amp;gt;
 &amp;lt;output&amp;gt;
 &amp;lt;rpc-reply xmlns=&lt;span class=&quot;code-quote&quot;&gt;&quot;urn:ietf:params:xml:ns:netconf:base:1.0&quot;&lt;/span&gt; xmlns:sys=&lt;span class=&quot;code-quote&quot;&gt;&quot;ns:augment:main:a&quot;&lt;/span&gt;&amp;gt;
 &amp;lt;ok /&amp;gt;
 &amp;lt;/rpc-reply&amp;gt;
 &amp;lt;/output&amp;gt;
 &amp;lt;/rpc&amp;gt;&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Thanks &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=kailashkhalasi&quot; class=&quot;user-hover&quot; rel=&quot;kailashkhalasi&quot;&gt;kailashkhalasi&lt;/a&gt; for your time.&lt;/p&gt;

&lt;p&gt;Regards,&lt;/p&gt;

&lt;p&gt;Ajay&lt;/p&gt;</comment>
                            <comment id="68433" author="JIRAUSER12913" created="Tue, 14 Jul 2020 19:17:32 +0000"  >&lt;p&gt;Thanks Ajay! After updating the custom action with the needed rpc, the test cases are passing -&#160;&lt;a href=&quot;https://jenkins.opendaylight.org/sandbox/view/All/job/netconf-csit-1node-gate-userfeatures-all-aluminium/5/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/sandbox/view/All/job/netconf-csit-1node-gate-userfeatures-all-aluminium/5/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;This was tested on this build -&#160;&lt;a href=&quot;https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/netconf/karaf/0.13.0-SNAPSHOT/karaf-0.13.0-20200712.074149-237.zip&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/netconf/karaf/0.13.0-SNAPSHOT/karaf-0.13.0-20200712.074149-237.zip&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="68437" author="jluhrsen" created="Tue, 14 Jul 2020 20:37:11 +0000"  >&lt;p&gt;Thanks for all the work &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=kailashkhalasi&quot; class=&quot;user-hover&quot; rel=&quot;kailashkhalasi&quot;&gt;kailashkhalasi&lt;/a&gt;&#160;and &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=ajay_dp001&quot; class=&quot;user-hover&quot; rel=&quot;ajay_dp001&quot;&gt;ajay_dp001&lt;/a&gt;. I gave a note in gerrit to &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=rovarga&quot; class=&quot;user-hover&quot; rel=&quot;rovarga&quot;&gt;rovarga&lt;/a&gt;&#160;that our CSIT is good now&lt;br/&gt;
and he can merge. I also made cherry picks to both Mg and Na branches.&lt;/p&gt;</comment>
                            <comment id="68439" author="ajay_dp001" created="Wed, 15 Jul 2020 07:02:34 +0000"  >&lt;p&gt;Hi Jamo, Kailash,&lt;/p&gt;

&lt;p&gt;Thank you for sharing details and efforts added for JIRA.&lt;/p&gt;

&lt;p&gt;Request &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=rovarga&quot; class=&quot;user-hover&quot; rel=&quot;rovarga&quot;&gt;rovarga&lt;/a&gt;&#160;to please review/merge there after we can close JIRA.&lt;/p&gt;

&lt;p&gt;Regards,&lt;/p&gt;

&lt;p&gt;Ajay&lt;/p&gt;</comment>
                            <comment id="68453" author="ajay_dp001" created="Fri, 17 Jul 2020 07:23:05 +0000"  >&lt;p&gt;&#160;Hi &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=rovarga&quot; class=&quot;user-hover&quot; rel=&quot;rovarga&quot;&gt;rovarga&lt;/a&gt;, &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=jluhrsen&quot; class=&quot;user-hover&quot; rel=&quot;jluhrsen&quot;&gt;jluhrsen&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Request you to please review/merge changes for this Jira on Master branch.&lt;/p&gt;

&lt;p&gt;Regards,&lt;/p&gt;

&lt;p&gt;Ajay&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="32794">INTTEST-107</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="32785">NETCONF-702</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="15654" name="Screenshot from 2020-05-28 14-23-23.png" size="4554045" author="ajay.dp001" created="Fri, 29 May 2020 14:12:48 +0000"/>
                            <attachment id="15655" name="augment-main-a@2014-01-21.yang" size="591" author="ajay.dp001" created="Wed, 3 Jun 2020 04:53:10 +0000"/>
                            <attachment id="15656" name="main@2014-01-21.yang" size="137" author="ajay.dp001" created="Wed, 3 Jun 2020 04:53:10 +0000"/>
                    </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|i03spj:</customfieldvalue>

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