<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:55:21 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-1359] RESTCONF: GET operation on a node in a list, identified by leaf-ref fails.</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-1359</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;Reference yang:&lt;br/&gt;
  container vpn-interfaces {&lt;br/&gt;
    description&lt;br/&gt;
      &quot;VPN is enabled on interfaces.&quot;;&lt;/p&gt;

&lt;p&gt;    list vpn-interface  {&lt;br/&gt;
      key &quot;name&quot;;&lt;br/&gt;
      max-elements &quot;unbounded&quot;;&lt;br/&gt;
      min-elements &quot;0&quot;;&lt;br/&gt;
      leaf name {&lt;br/&gt;
        type leafref &lt;/p&gt;
{
          path &quot;/if:interfaces/if:interface/if:name&quot;;
        }
&lt;p&gt;      }&lt;br/&gt;
      leaf vpn-instance-name {&lt;br/&gt;
        type string &lt;/p&gt;
{
          length &quot;1..40&quot;;
        }
&lt;p&gt;      }&lt;br/&gt;
    }&lt;br/&gt;
  }&lt;/p&gt;


&lt;p&gt;GET on URL &lt;a href=&quot;http://localhost:8181/restconf/config/l3vpn:vpn-interfaces/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/config/l3vpn:vpn-interfaces/&lt;/a&gt; successful.&lt;/p&gt;

&lt;p&gt;GET on URL &lt;a href=&quot;http://localhost:8181/restconf/config/l3vpn:vpn-interfaces/vpn-interface/s1-eth1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/config/l3vpn:vpn-interfaces/vpn-interface/s1-eth1&lt;/a&gt; fails with following error:&lt;br/&gt;
{&lt;br/&gt;
  &quot;errors&quot;: {&lt;br/&gt;
    &quot;error&quot;: [&lt;/p&gt;
      {
        &quot;error-type&quot;: &quot;protocol&quot;,
        &quot;error-tag&quot;: &quot;invalid-value&quot;,
        &quot;error-message&quot;: &quot;s1-eth1 from URI can&apos;t be resolved. &quot;
      }
&lt;p&gt;    ]&lt;br/&gt;
  }&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;Other observations:&lt;br/&gt;
1. Read from datastore using JAVA APIs works fine.&lt;br/&gt;
2. No error observed in log file.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="25913">CONTROLLER-1359</key>
            <summary>RESTCONF: GET operation on a node in a list, identified by leaf-ref fails.</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="jhajnar@cisco.com">Jan Hajnar</assignee>
                                    <reporter username="deepthi.v.v@ericsson.com">Deepthi V V</reporter>
                        <labels>
                    </labels>
                <created>Fri, 5 Jun 2015 11:48:25 +0000</created>
                <updated>Tue, 25 Jul 2023 08:24:05 +0000</updated>
                            <resolved>Wed, 10 Jun 2015 11:33:29 +0000</resolved>
                                                                    <component>restconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="50793" author="deepthi.v.v@ericsson.com" created="Fri, 5 Jun 2015 11:57:43 +0000"  >&lt;p&gt;Traced code flow:&lt;/p&gt;

&lt;p&gt;Class: ControllerContext.java&lt;br/&gt;
Method: addKeyValue&lt;br/&gt;
final Codec&amp;lt;Object, Object&amp;gt; codec = RestCodec.from(typedef, mountPoint);&lt;br/&gt;
returns null.&lt;/p&gt;

&lt;p&gt;Reason:&lt;br/&gt;
RestCodec.java :: ObjectCode class :: deserialize method does not handle leafref deserialization.&lt;/p&gt;</comment>
                            <comment id="50794" author="jhajnar@cisco.com" created="Mon, 8 Jun 2015 15:39:12 +0000"  >&lt;p&gt;patch: &lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/22112/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/22112/&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>3595</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=3595]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10377"><![CDATA[Lithium-RC2]]></customfieldvalue>

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

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