<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:53:09 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-406] Compilation error: duplicate name for grouping and enum in ietf-routing.yang</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-406</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I tried to generate JAVA class from ietf-routing.yang (see &lt;a href=&quot;http://www.netconfcentral.org/modules/ietf-routing&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.netconfcentral.org/modules/ietf-routing&lt;/a&gt;), but the generated classes cannot compile, because grouping special-next-hop and enum special-next-hop have the same name, yang definition as follows. Could you solve the problem? Thanks!&lt;/p&gt;

&lt;p&gt;grouping special-next-hop {&lt;br/&gt;
      description&lt;br/&gt;
        &quot;This grouping provides the leaf for specifying special&lt;br/&gt;
       next-hop options.&quot;;&lt;br/&gt;
      leaf special-next-hop {&lt;br/&gt;
        type enumeration {&lt;br/&gt;
          enum &quot;blackhole&quot; &lt;/p&gt;
{
            value 0;
            description
              &quot;Silently discard the packet.&quot;;
          }
&lt;p&gt;          enum &quot;unreachable&quot; &lt;/p&gt;
{
            value 1;
            description
              &quot;Discard the packet and notify the sender with an error
             message indicating that the destination host is
             unreachable.&quot;;
          }
&lt;p&gt;          enum &quot;prohibit&quot; &lt;/p&gt;
{
            value 2;
            description
              &quot;Discard the packet and notify the sender with an error
             message indicating that the communication is
             administratively prohibited.&quot;;
          }
&lt;p&gt;          enum &quot;receive&quot; &lt;/p&gt;
{
            value 3;
            description
              &quot;The packet will be received by the local network
             device.&quot;;
          }
&lt;p&gt;        }&lt;br/&gt;
        description&lt;br/&gt;
          &quot;Special next-hop options.&quot;;&lt;br/&gt;
      }&lt;br/&gt;
    }  // grouping special-next-hop&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="22826">YANGTOOLS-406</key>
            <summary>Compilation error: duplicate name for grouping and enum in ietf-routing.yang</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="10002">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="minna.hu@ericsson.com">Minna Hu</reporter>
                        <labels>
                    </labels>
                <created>Fri, 30 Jan 2015 00:08:51 +0000</created>
                <updated>Sun, 10 Apr 2022 18:35:28 +0000</updated>
                            <resolved>Thu, 18 Jun 2015 17:06:30 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                    <issuelinks>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="26823">MDSAL-1</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <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>2656</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=2656]]></customfieldvalue>

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

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