<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:53:52 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>[YANGTOOLS-643] augmenting unknown statement results in error</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-643</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;augmenting : &lt;/p&gt;

&lt;p&gt;augment &quot;disconnect/input&quot; {&lt;br/&gt;
        leaf no-remote &lt;/p&gt;
{
          type empty;
          description &quot;Do not perform this action on remote cluster node&quot;;
        }
&lt;p&gt;      }&lt;/p&gt;

&lt;p&gt;defined as : &lt;/p&gt;

&lt;p&gt;  grouping disconnect-grouping {&lt;br/&gt;
    ns:action disconnect &lt;/p&gt;
{
      description
        &quot;Close all sessions to all devices.&quot;;
    }
&lt;p&gt;  }&lt;/p&gt;

&lt;p&gt;results into error : &lt;/p&gt;

&lt;p&gt;Error 1: Augment target &apos;Relative&lt;/p&gt;
{path=[(http://some/ns?revision=2016-01-01)disconnect, (http://some/ns?revision=2016-01-01)input]}
&lt;p&gt;&apos; not found &lt;span class=&quot;error&quot;&gt;&amp;#91;at null:1245:6&amp;#93;&lt;/span&gt;&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="23063">YANGTOOLS-643</key>
            <summary>augmenting unknown statement results in error</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="pkajsa">Peter Kajsa</assignee>
                                    <reporter username="mbobak@cisco.com">Martin Bobak</reporter>
                        <labels>
                    </labels>
                <created>Tue, 2 Aug 2016 09:26:24 +0000</created>
                <updated>Sun, 10 Apr 2022 18:35:49 +0000</updated>
                            <resolved>Sun, 23 Oct 2016 22:25:22 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="43991" author="pkajsa" created="Mon, 26 Sep 2016 09:09:24 +0000"  >&lt;p&gt;Please, try to test with using this patch&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/46118/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/46118/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="43992" author="rovarga" created="Tue, 27 Sep 2016 16:00:57 +0000"  >&lt;p&gt;I think the model is buggy, as the original definition does not include &apos;input&apos;. If the modeling intent is to allow augmentation, the disconnect action should include an empty input statement.&lt;/p&gt;</comment>
                            <comment id="43993" author="pkajsa" created="Wed, 28 Sep 2016 08:52:55 +0000"  >&lt;p&gt;Yes, the example from Martin is buggy, because there are omitted some relevant nodes and parts from original yang model.&lt;/p&gt;

&lt;p&gt;Correct example of this issue should be:&lt;/p&gt;

&lt;p&gt;    grouping my-grouping {&lt;br/&gt;
        ext:my-extension my-extension-name {&lt;br/&gt;
            description&lt;br/&gt;
                        &quot;Extension.&quot;;&lt;br/&gt;
            input {&lt;br/&gt;
                leaf my-leaf &lt;/p&gt;
{
                    type string;
                    description
                                        &quot;my-leaf in extension body.&quot;;
                }
&lt;p&gt;            }&lt;br/&gt;
        }&lt;br/&gt;
    }&lt;/p&gt;

&lt;p&gt;    container my-container {&lt;br/&gt;
        uses my-grouping {&lt;br/&gt;
            augment &quot;my-extension-name/input&quot; {&lt;br/&gt;
                leaf-list my-leaf-list &lt;/p&gt;
{
                    type string;
                }
&lt;p&gt;            }&lt;br/&gt;
        }&lt;br/&gt;
    }&lt;/p&gt;

&lt;p&gt;This issue is well known, so proposed fix solves of course this correct example.&lt;/p&gt;</comment>
                            <comment id="43994" author="rovarga" created="Sun, 23 Oct 2016 21:43:00 +0000"  >&lt;p&gt;boron: &lt;a href=&quot;https://git.opendaylight.org/gerrit/47404&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/47404&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>6329</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=6329]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10206" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Issue Type</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10318"><![CDATA[Change Request]]></customfieldvalue>

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

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

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