<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:16:56 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-1214] problems with GET/POST/DELETE of list elements with key of type instance-identifier</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-1214</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;version: karaf 18.3 and 19.1&lt;/p&gt;

&lt;p&gt;I have the following GET working fine.&lt;/p&gt;

&lt;p&gt;Please note that &quot;interface&quot; is a list with key &quot;name&quot;.&lt;br/&gt;
Please note that &quot;name&quot; is an instance-identifier pointing to an instance of /smo-interfaces:interfaces/if&lt;span class=&quot;error&quot;&gt;&amp;#91;typeIf=&amp;#39;lan&amp;#39;&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;idx=&amp;#39;1&amp;#39;&amp;#93;&lt;/span&gt;&lt;br/&gt;
Please note that &quot;if&quot; is list with keys typeIf,idx&lt;/p&gt;

&lt;p&gt;curl -X GET -u admin:admin -H &quot;content-type: application/yang-data+json&quot; &lt;a href=&quot;http://172.17.0.72:8181/rests/data/network-topology:network-topology/topology=topology-netconf/node=new-netconf-device-serverssh_telstar_6126_brigam_1/yang-ext:mount/smo-routing:routing/control-plane-protocol=MANAGEMENT-PLANE/smo-is-is:isis?fields=interface&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://172.17.0.72:8181/rests/data/network-topology:network-topology/topology=topology-netconf/node=new-netconf-device-serverssh_telstar_6126_brigam_1/yang-ext:mount/smo-routing:routing/control-plane-protocol=MANAGEMENT-PLANE/smo-is-is:isis?fields=interface&lt;/a&gt; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;&#160;&lt;br/&gt;
{&quot;smo-is-is:isis&quot;:{&quot;interface&quot;:[&lt;/p&gt;

{&quot;name&quot;:&quot;/smo-interfaces:interfaces/if[typeIf=&apos;lan&apos;][idx=&apos;1&apos;]&quot;,&quot;priority1&quot;:16}

&lt;p&gt;]}}&lt;/p&gt;

&lt;p&gt;--&amp;gt; OK&lt;/p&gt;

&lt;p&gt;------------------------------------------&lt;/p&gt;

&lt;p&gt;I&apos;m not able to GET directly the &quot;interface&quot; list element whose key is name&lt;br/&gt;
using the restconf format for the &quot;name&quot; instance-identifier as indicated in &lt;a href=&quot;https://datatracker.ietf.org/doc/html/rfc7951#section-6.11&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://datatracker.ietf.org/doc/html/rfc7951#section-6.11&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;curl -X GET -u admin:admin -H &quot;content-type: application/yang-data+json&quot; &lt;a href=&quot;http://172.17.0.72:8181/rests/data/network-topology:network-topology/topology=topology-netconf/node=new-netconf-device-serverssh_telstar_6126_brigam_1/yang-ext:mount/smo-routing:routing/control-plane-protocol=MANAGEMENT-PLANE/smo-is-is:isis/interface=%2Fsmo-interfaces%3Ainterfaces%2Fif%5BtypeIf%3D%27lan%27%5D%5Bidx%3D%271%27%5D&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://172.17.0.72:8181/rests/data/network-topology:network-topology/topology=topology-netconf/node=new-netconf-device-serverssh_telstar_6126_brigam_1/yang-ext:mount/smo-routing:routing/control-plane-protocol=MANAGEMENT-PLANE/smo-is-is:isis/interface=%2Fsmo-interfaces%3Ainterfaces%2Fif%5BtypeIf%3D%27lan%27%5D%5Bidx%3D%271%27%5D&lt;/a&gt;&lt;br/&gt;
{&lt;br/&gt;
&#160; &quot;errors&quot;: {&lt;br/&gt;
&#160; &#160; &quot;error&quot;: [&lt;br/&gt;
&#160; &#160; &#160;&lt;/p&gt;

{ &#160; &#160; &#160; &#160; &quot;error-tag&quot;: &quot;invalid-value&quot;, &#160; &#160; &#160; &#160; &quot;error-info&quot;: &quot;Failed to lookup prefix &quot;, &#160; &#160; &#160; &#160; &quot;error-message&quot;: &quot;Invalid value &apos;/smo-interfaces:interfaces/if[typeIf=&apos;lan&apos;][idx=&apos;1&apos;]&apos; for (http://www.sm-optics.com/yang/isis?revision=2020-09-18)name&quot;, &#160; &#160; &#160; &#160; &quot;error-type&quot;: &quot;protocol&quot; &#160; &#160; &#160; }

&lt;p&gt;&#160; &#160; ]&lt;br/&gt;
&#160; }&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;--&amp;gt; KO&lt;/p&gt;

&lt;p&gt;The only way ODL accepts is to use the netconf-like instance-identifier format for the &quot;name&quot; key, repeating all prefixes even when they do not change.&lt;/p&gt;

&lt;p&gt;However this is not the format indicated in &lt;a href=&quot;https://datatracker.ietf.org/doc/html/rfc7951#section-6.11&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://datatracker.ietf.org/doc/html/rfc7951#section-6.11&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;curl -X GET -u admin:admin -H &quot;content-type: application/yang-data+json&quot; &lt;a href=&quot;http://172.17.0.72:8181/rests/data/network-topology:network-topology/topology=topology-netconf/node=new-netconf-device-serverssh_telstar_6126_brigam_1/yang-ext:mount/smo-routing:routing/control-plane-protocol=MANAGEMENT-PLANE/smo-is-is:isis/interface=%2Fsmo-interfaces%3Ainterfaces%2Fsmo-interfaces%3Aif%5Bsmo-interfaces%3AtypeIf%3D%27lan%27%5D%5Bsmo-interfaces%3Aidx%3D%271%27%5D&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://172.17.0.72:8181/rests/data/network-topology:network-topology/topology=topology-netconf/node=new-netconf-device-serverssh_telstar_6126_brigam_1/yang-ext:mount/smo-routing:routing/control-plane-protocol=MANAGEMENT-PLANE/smo-is-is:isis/interface=%2Fsmo-interfaces%3Ainterfaces%2Fsmo-interfaces%3Aif%5Bsmo-interfaces%3AtypeIf%3D%27lan%27%5D%5Bsmo-interfaces%3Aidx%3D%271%27%5D&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;--&amp;gt; Accepted by ODL&lt;/p&gt;

&lt;p&gt;--------------&lt;/p&gt;

&lt;p&gt;I&apos;m not able to DELETE directly the &quot;interface&quot; list element whose key is name&lt;br/&gt;
using the restconf format for the &quot;name&quot; instance-identifier as indicated in &lt;a href=&quot;https://datatracker.ietf.org/doc/html/rfc7951#section-6.11&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://datatracker.ietf.org/doc/html/rfc7951#section-6.11&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;curl -X DELETE -u admin:admin -H &quot;content-type: application/yang-data+json&quot; &lt;a href=&quot;http://172.17.0.72:8181/rests/data/network-topology:network-topology/topology=topology-netconf/node=new-netconf-device-serverssh_telstar_6126_brigam_1/yang-ext:mount/smo-routing:routing/control-plane-protocol=MANAGEMENT-PLANE/smo-is-is:isis/interface=%2Fsmo-interfaces%3Ainterfaces%2Fif%5BtypeIf%3D%27lan%27%5D%5Bidx%3D%271%27%5D&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://172.17.0.72:8181/rests/data/network-topology:network-topology/topology=topology-netconf/node=new-netconf-device-serverssh_telstar_6126_brigam_1/yang-ext:mount/smo-routing:routing/control-plane-protocol=MANAGEMENT-PLANE/smo-is-is:isis/interface=%2Fsmo-interfaces%3Ainterfaces%2Fif%5BtypeIf%3D%27lan%27%5D%5Bidx%3D%271%27%5D&lt;/a&gt;&lt;br/&gt;
{&lt;br/&gt;
&#160; &quot;errors&quot;: {&lt;br/&gt;
&#160; &#160; &quot;error&quot;: [&lt;br/&gt;
&#160; &#160; &#160;&lt;/p&gt;

{ &#160; &#160; &#160; &#160; &quot;error-tag&quot;: &quot;invalid-value&quot;, &#160; &#160; &#160; &#160; &quot;error-info&quot;: &quot;Failed to lookup prefix &quot;, &#160; &#160; &#160; &#160; &quot;error-message&quot;: &quot;Invalid value &apos;/smo-interfaces:interfaces/if[typeIf=&apos;lan&apos;][idx=&apos;1&apos;]&apos; for (http://www.sm-optics.com/yang/isis?revision=2020-09-18)name&quot;, &#160; &#160; &#160; &#160; &quot;error-type&quot;: &quot;protocol&quot; &#160; &#160; &#160; }

&lt;p&gt;&#160; &#160; ]&lt;br/&gt;
&#160; }&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;--&amp;gt; KO&lt;/p&gt;

&lt;p&gt;The only way ODL accepts it is to use the netconf-like instance-identifier format for the &quot;name&quot; key, repeating all prefixes even when they do not change.&lt;/p&gt;

&lt;p&gt;However this is not the format indicated in &lt;a href=&quot;https://datatracker.ietf.org/doc/html/rfc7951#section-6.11&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://datatracker.ietf.org/doc/html/rfc7951#section-6.11&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;curl -X DELETE -u admin:admin -H &quot;content-type: application/yang-data+json&quot; &lt;a href=&quot;http://172.17.0.72:8181/rests/data/network-topology:network-topology/topology=topology-netconf/node=new-netconf-device-serverssh_telstar_6126_brigam_1/yang-ext:mount/smo-routing:routing/control-plane-protocol=MANAGEMENT-PLANE/smo-is-is:isis/interface=%2Fsmo-interfaces%3Ainterfaces%2Fsmo-interfaces%3Aif%5Bsmo-interfaces%3AtypeIf%3D%27lan%27%5D%5Bsmo-interfaces%3Aidx%3D%271%27%5D&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://172.17.0.72:8181/rests/data/network-topology:network-topology/topology=topology-netconf/node=new-netconf-device-serverssh_telstar_6126_brigam_1/yang-ext:mount/smo-routing:routing/control-plane-protocol=MANAGEMENT-PLANE/smo-is-is:isis/interface=%2Fsmo-interfaces%3Ainterfaces%2Fsmo-interfaces%3Aif%5Bsmo-interfaces%3AtypeIf%3D%27lan%27%5D%5Bsmo-interfaces%3Aidx%3D%271%27%5D&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;--&amp;gt; Accepted by ODL&lt;/p&gt;

&lt;p&gt;--------------&lt;/p&gt;

&lt;p&gt;Creation of the &quot;interface&quot; list element is failing with error 500 in html format (it should be restconf json format),&#160;&lt;/p&gt;

&lt;p&gt;however it is created successfully in the ssh server&lt;/p&gt;

&lt;p&gt;curl -X POST -u admin:admin -H &quot;content-type: application/yang-data+json&quot; &lt;a href=&quot;http://172.17.0.72:8181/rests/data/network-topology:network-topology/topology=topology-netconf/node=new-netconf-device-serverssh_telstar_6126_brigam_1/yang-ext:mount/smo-routing:routing/control-plane-protocol=MANAGEMENT-PLANE/smo-is-is:isis&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://172.17.0.72:8181/rests/data/network-topology:network-topology/topology=topology-netconf/node=new-netconf-device-serverssh_telstar_6126_brigam_1/yang-ext:mount/smo-routing:routing/control-plane-protocol=MANAGEMENT-PLANE/smo-is-is:isis&lt;/a&gt; --data &apos;{&quot;smo-is-is:interface&quot;: [&lt;/p&gt;

{&quot;name&quot;: &quot;/smo-interfaces:interfaces/if[typeIf=&apos;\&apos;&apos;lan&apos;\&apos;&apos;][idx=&apos;\&apos;&apos;1&apos;\&apos;&apos;]&quot;, &quot;priority1&quot;: 16}

&lt;p&gt;]}&apos;&lt;/p&gt;

&lt;p&gt;&amp;lt;html&amp;gt;&lt;br/&gt;
&amp;lt;head&amp;gt;&lt;br/&gt;
&amp;lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html;charset=ISO-8859-1&quot;/&amp;gt;&lt;br/&gt;
&amp;lt;title&amp;gt;Error 500 Request failed.&amp;lt;/title&amp;gt;&lt;br/&gt;
&amp;lt;/head&amp;gt;&lt;br/&gt;
&amp;lt;body&amp;gt;&amp;lt;h2&amp;gt;HTTP ERROR 500 Request failed.&amp;lt;/h2&amp;gt;&lt;br/&gt;
&amp;lt;table&amp;gt;&lt;br/&gt;
&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;URI:&amp;lt;/th&amp;gt;&amp;lt;td&amp;gt;/rests/data/network-topology:network-topology/topology=topology-netconf/node=new-netconf-device-serverssh_telstar_6126_brigam_1/yang-ext:mount/smo-routing:routing/control-plane-protocol=MANAGEMENT-PLANE/smo-is-is:isis&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br/&gt;
&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;STATUS:&amp;lt;/th&amp;gt;&amp;lt;td&amp;gt;500&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br/&gt;
&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;MESSAGE:&amp;lt;/th&amp;gt;&amp;lt;td&amp;gt;Request failed.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br/&gt;
&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;SERVLET:&amp;lt;/th&amp;gt;&amp;lt;td&amp;gt;org.glassfish.jersey.servlet.ServletContainer&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br/&gt;
&amp;lt;/table&amp;gt;&lt;/p&gt;

&lt;p&gt;&amp;lt;/body&amp;gt;&lt;br/&gt;
&amp;lt;/html&amp;gt;&lt;/p&gt;

&lt;p&gt;--&amp;gt; KO&lt;/p&gt;

&lt;p&gt;The same error in case the netconf-like instance-identifier format is used, repeating all prefixes even when they do not change:&lt;/p&gt;

&lt;p&gt;curl -X POST -u admin:admin -H &quot;content-type: application/yang-data+json&quot; &lt;a href=&quot;http://172.17.0.72:8181/rests/data/network-topology:network-topology/topology=topology-netconf/node=new-netconf-device-serverssh_telstar_6126_brigam_1/yang-ext:mount/smo-routing:routing/control-plane-protocol=MANAGEMENT-PLANE/smo-is-is:isis&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://172.17.0.72:8181/rests/data/network-topology:network-topology/topology=topology-netconf/node=new-netconf-device-serverssh_telstar_6126_brigam_1/yang-ext:mount/smo-routing:routing/control-plane-protocol=MANAGEMENT-PLANE/smo-is-is:isis&lt;/a&gt; --data &apos;{&quot;smo-is-is:interface&quot;: [&lt;/p&gt;

{&quot;name&quot;: &quot;/smo-interfaces:interfaces/smo-interfaces:if[smo-interfaces:typeIf=&apos;\&apos;&apos;lan&apos;\&apos;&apos;][smo-interfaces:idx=&apos;\&apos;&apos;1&apos;\&apos;&apos;]&quot;, &quot;priority1&quot;: 16}

&lt;p&gt;]}&apos;&lt;br/&gt;
&amp;lt;html&amp;gt;&lt;br/&gt;
&amp;lt;head&amp;gt;&lt;br/&gt;
&amp;lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html;charset=ISO-8859-1&quot;/&amp;gt;&lt;br/&gt;
&amp;lt;title&amp;gt;Error 500 Request failed.&amp;lt;/title&amp;gt;&lt;br/&gt;
&amp;lt;/head&amp;gt;&lt;br/&gt;
&amp;lt;body&amp;gt;&amp;lt;h2&amp;gt;HTTP ERROR 500 Request failed.&amp;lt;/h2&amp;gt;&lt;br/&gt;
&amp;lt;table&amp;gt;&lt;br/&gt;
&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;URI:&amp;lt;/th&amp;gt;&amp;lt;td&amp;gt;/rests/data/network-topology:network-topology/topology=topology-netconf/node=new-netconf-device-serverssh_telstar_6126_brigam_1/yang-ext:mount/smo-routing:routing/control-plane-protocol=MANAGEMENT-PLANE/smo-is-is:isis&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br/&gt;
&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;STATUS:&amp;lt;/th&amp;gt;&amp;lt;td&amp;gt;500&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br/&gt;
&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;MESSAGE:&amp;lt;/th&amp;gt;&amp;lt;td&amp;gt;Request failed.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br/&gt;
&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;SERVLET:&amp;lt;/th&amp;gt;&amp;lt;td&amp;gt;org.glassfish.jersey.servlet.ServletContainer&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br/&gt;
&amp;lt;/table&amp;gt;&lt;/p&gt;

&lt;p&gt;&amp;lt;/body&amp;gt;&lt;br/&gt;
&amp;lt;/html&amp;gt;&lt;/p&gt;

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

&lt;p&gt;ODL internal LOG during POST is attached as a file to this ticket, an internal error is traced.&lt;/p&gt;

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

&lt;p&gt;From our SSH log we see that the command was successfully received and executed by SSH server and ok was sent to ODL as reply:&lt;/p&gt;

&lt;p&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&amp;gt;&lt;br/&gt;
&amp;lt;rpc message-id=&quot;m-172&quot; xmlns=&quot;urn:ietf:params:xml:ns:netconf:base:1.0&quot;&amp;gt;&lt;br/&gt;
&#160; &#160; &amp;lt;lock&amp;gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &amp;lt;target&amp;gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &amp;lt;running/&amp;gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &amp;lt;/target&amp;gt;&lt;br/&gt;
&#160; &#160; &amp;lt;/lock&amp;gt;&lt;br/&gt;
&amp;lt;/rpc&amp;gt;&lt;/p&gt;

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

&lt;p&gt;&amp;lt;rpc-reply xmlns=&quot;urn:ietf:params:xml:ns:netconf:base:1.0&quot; message-id=&quot;m-172&quot;&amp;gt;&amp;lt;ok/&amp;gt;&amp;lt;/rpc-reply&amp;gt;&lt;/p&gt;

&lt;p&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&amp;gt;&lt;br/&gt;
&amp;lt;rpc message-id=&quot;m-173&quot; xmlns=&quot;urn:ietf:params:xml:ns:netconf:base:1.0&quot;&amp;gt;&lt;br/&gt;
&#160; &#160; &amp;lt;edit-config&amp;gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &amp;lt;target&amp;gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &amp;lt;candidate/&amp;gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &amp;lt;/target&amp;gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &amp;lt;error-option&amp;gt;rollback-on-error&amp;lt;/error-option&amp;gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &amp;lt;config&amp;gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &amp;lt;routing xmlns=&quot;http://www.sm-optics.com/yang/routing&quot; xmlns:op=&quot;urn:ietf:params:xml:ns:netconf:base:1.0&quot; op:operation=&quot;merge&quot;&amp;gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &amp;lt;control-plane-protocol&amp;gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &amp;lt;name&amp;gt;MANAGEMENT-PLANE&amp;lt;/name&amp;gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &amp;lt;isis xmlns=&quot;http://www.sm-optics.com/yang/isis&quot;/&amp;gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &amp;lt;/control-plane-protocol&amp;gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &amp;lt;/routing&amp;gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &amp;lt;/config&amp;gt;&lt;br/&gt;
&#160; &#160; &amp;lt;/edit-config&amp;gt;&lt;br/&gt;
&amp;lt;/rpc&amp;gt;&lt;/p&gt;

&lt;p&gt;&amp;lt;rpc-reply xmlns=&quot;urn:ietf:params:xml:ns:netconf:base:1.0&quot; message-id=&quot;m-173&quot;&amp;gt;&amp;lt;ok/&amp;gt;&amp;lt;/rpc-reply&amp;gt;&lt;/p&gt;

&lt;p&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&amp;gt;&lt;br/&gt;
&amp;lt;rpc message-id=&quot;m-174&quot; xmlns=&quot;urn:ietf:params:xml:ns:netconf:base:1.0&quot;&amp;gt;&lt;br/&gt;
&#160; &#160; &amp;lt;edit-config&amp;gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &amp;lt;target&amp;gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &amp;lt;candidate/&amp;gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &amp;lt;/target&amp;gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &amp;lt;error-option&amp;gt;rollback-on-error&amp;lt;/error-option&amp;gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &amp;lt;config&amp;gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &amp;lt;routing xmlns=&quot;http://www.sm-optics.com/yang/routing&quot;&amp;gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &amp;lt;control-plane-protocol&amp;gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &amp;lt;name&amp;gt;MANAGEMENT-PLANE&amp;lt;/name&amp;gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &amp;lt;isis xmlns=&quot;http://www.sm-optics.com/yang/isis&quot;&amp;gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &amp;lt;interface xmlns:op=&quot;urn:ietf:params:xml:ns:netconf:base:1.0&quot; op:operation=&quot;create&quot;&amp;gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &amp;lt;name xmlns:a=&quot;http://www.sm-optics.com/yang/if&quot;&amp;gt;/a:interfaces/a:if&lt;span class=&quot;error&quot;&gt;&amp;#91;a:typeIf=&amp;#39;lan&amp;#39;&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;a:idx=&amp;#39;1&amp;#39;&amp;#93;&lt;/span&gt;&amp;lt;/name&amp;gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &amp;lt;priority1&amp;gt;16&amp;lt;/priority1&amp;gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &amp;lt;/interface&amp;gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &amp;lt;/isis&amp;gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &amp;lt;/control-plane-protocol&amp;gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &amp;lt;/routing&amp;gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &amp;lt;/config&amp;gt;&lt;br/&gt;
&#160; &#160; &amp;lt;/edit-config&amp;gt;&lt;br/&gt;
&amp;lt;/rpc&amp;gt;&lt;/p&gt;

&lt;p&gt;&amp;lt;rpc-reply xmlns=&quot;urn:ietf:params:xml:ns:netconf:base:1.0&quot; message-id=&quot;m-174&quot;&amp;gt;&amp;lt;ok/&amp;gt;&amp;lt;/rpc-reply&amp;gt;&lt;/p&gt;

&lt;p&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&amp;gt;&lt;br/&gt;
&amp;lt;rpc message-id=&quot;m-175&quot; xmlns=&quot;urn:ietf:params:xml:ns:netconf:base:1.0&quot;&amp;gt;&lt;br/&gt;
&#160; &#160; &amp;lt;commit/&amp;gt;&lt;br/&gt;
&amp;lt;/rpc&amp;gt;&lt;/p&gt;

&lt;p&gt;&amp;lt;rpc-reply xmlns=&quot;urn:ietf:params:xml:ns:netconf:base:1.0&quot; message-id=&quot;m-175&quot;&amp;gt;&amp;lt;ok/&amp;gt;&amp;lt;/rpc-reply&amp;gt;&lt;/p&gt;

&lt;p&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&amp;gt;&lt;br/&gt;
&amp;lt;rpc message-id=&quot;m-176&quot; xmlns=&quot;urn:ietf:params:xml:ns:netconf:base:1.0&quot;&amp;gt;&lt;br/&gt;
&#160; &#160; &amp;lt;unlock&amp;gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &amp;lt;target&amp;gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &amp;lt;running/&amp;gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &amp;lt;/target&amp;gt;&lt;br/&gt;
&#160; &#160; &amp;lt;/unlock&amp;gt;&lt;br/&gt;
&amp;lt;/rpc&amp;gt;&lt;/p&gt;

&lt;p&gt;&amp;lt;rpc-reply xmlns=&quot;urn:ietf:params:xml:ns:netconf:base:1.0&quot; message-id=&quot;m-176&quot;&amp;gt;&amp;lt;ok/&amp;gt;&amp;lt;/rpc-reply&amp;gt;&lt;/p&gt;

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

&lt;p&gt;Doing a GET we see that it is really present after the POST:&lt;br/&gt;
&#160; &#160;&#160;&lt;br/&gt;
curl -X GET -u admin:admin -H &quot;content-type: application/yang-data+json&quot; &lt;a href=&quot;http://172.17.0.72:8181/rests/data/network-topology:network-topology/topology=topology-netconf/node=new-netconf-device-serverssh_telstar_6126_brigam_1/yang-ext:mount/smo-routing:routing/control-plane-protocol=MANAGEMENT-PLANE/smo-is-is:isis?fields=interface&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://172.17.0.72:8181/rests/data/network-topology:network-topology/topology=topology-netconf/node=new-netconf-device-serverssh_telstar_6126_brigam_1/yang-ext:mount/smo-routing:routing/control-plane-protocol=MANAGEMENT-PLANE/smo-is-is:isis?fields=interface&lt;/a&gt; &#160; &#160; &#160;&lt;br/&gt;
{&quot;smo-is-is:isis&quot;:{&quot;interface&quot;:[&lt;/p&gt;

{&quot;name&quot;:&quot;/smo-interfaces:interfaces/if[typeIf=&apos;lan&apos;][idx=&apos;1&apos;]&quot;,&quot;priority1&quot;:16}

&lt;p&gt;]}}&lt;/p&gt;

&lt;p&gt;--&amp;gt; OK, it was created even if an error was returned to the POST&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment>&lt;p&gt;version: karaf 18.3 and 19.1&lt;/p&gt;</environment>
        <key id="37801">NETCONF-1214</key>
            <summary>problems with GET/POST/DELETE of list elements with key of type instance-identifier</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="1" iconUrl="https://jira.opendaylight.org/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="blue-gray"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="brigam">Maurizio Brigandi&apos;</reporter>
                        <labels>
                    </labels>
                <created>Mon, 18 Dec 2023 12:09:58 +0000</created>
                <updated>Mon, 18 Dec 2023 16:02:31 +0000</updated>
                                                                            <component>restconf-nb</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                        <attachments>
                            <attachment id="19602" name="odl_LOG_during_POST.txt" size="68179" author="brigam" created="Mon, 18 Dec 2023 12:10:51 +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|i0473j:</customfieldvalue>

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