<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:53:39 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-575] Introduce amend extension with annotate semantics</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-575</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;Define and implement extension which would allow amend existing definition in third party (imported) module and introduce additional extensions to such preexisting definition without need to modify original model.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="22995">YANGTOOLS-575</key>
            <summary>Introduce amend extension with annotate semantics</summary>
                <type id="10103" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10311&amp;avatarType=issuetype">New Feature</type>
                                                <status id="10003" iconUrl="https://jira.opendaylight.org/images/icons/status_generic.gif" description="">Confirmed</status>
                    <statusCategory id="2" key="new" colorName="blue-gray"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="tony.tkacik@gmail.com">Tony Tkacik</reporter>
                        <labels>
                    </labels>
                <created>Mon, 25 Jan 2016 16:02:38 +0000</created>
                <updated>Fri, 9 Jul 2021 13:25:56 +0000</updated>
                                                                            <component>parser</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="61997" author="rovarga" created="Sat, 31 Mar 2018 19:12:58 +0000"  >&lt;p&gt;Extension argument needs to be able to target any YANG statement, hence requires something like StatementPath in yang-model-api. A statement path is a slightly corrected SchemaPath, which will include information about the namespace in which the lookup needs to take place.&lt;/p&gt;

&lt;p&gt;As a first cut, this could look like this:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;amend:amend &quot;/d:foo:foo/g:foo:foo/t:foo:foo&quot; {
    units bar;
}&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;which would be targeting the inner-most statement of&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;module foo {
    prefix foo;

    container foo {
        grouping foo {
            typedef foo {
               type string;
            }
        }
    }
}&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;The argument syntax needs to allow for repetitive prefixes to be not need. The prefixes we need are:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;&apos;c&apos; case: nesting expands implicit cases&lt;/li&gt;
	&lt;li&gt;&apos;d&apos; data: container, list, leaf, leaf-list, choice, rpc, action, notification, anyxml, anydata&lt;/li&gt;
	&lt;li&gt;&apos;e&apos; extension&lt;/li&gt;
	&lt;li&gt;&apos;f&apos; feature&lt;/li&gt;
	&lt;li&gt;&apos;g&apos; grouping&lt;/li&gt;
	&lt;li&gt;&apos;i&apos; identity&lt;/li&gt;
	&lt;li&gt;&apos;t&apos; typedef&lt;/li&gt;
	&lt;li&gt;&apos;u&apos; union child type: child offset&lt;/li&gt;
	&lt;li&gt;&apos;x&apos; deviate&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;The last of which deals with types defined in-line within a union definition, as its member subtypes can be anonymous.&lt;/p&gt;</comment>
                            <comment id="62383" author="rovarga" created="Thu, 12 Apr 2018 20:28:29 +0000"  >&lt;p&gt;After some prototyping, the structure of argument has changed. The extension will also need to be restricted to prepending extension statements. Furthermore the parser and maven plugin will need to be taught about models which are using this extension, because such models need to be pulled in from the library whenever their target(s) are requested &#8211; otherwise incremental builds, such as compile-time of downstreams which reference a model extended in this way would onlyt see the base model, but not the extensions.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="22838">YANGTOOLS-418</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>5086</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=5086]]></customfieldvalue>

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

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

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