<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:53:58 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-676] [Yang 1.1] Allow leaf-lists to have default values</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-676</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description></description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="23096">YANGTOOLS-676</key>
            <summary>[Yang 1.1] Allow leaf-lists to have default values</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="pkajsa">Peter Kajsa</reporter>
                        <labels>
                    </labels>
                <created>Thu, 6 Oct 2016 08:54:53 +0000</created>
                <updated>Sun, 10 Apr 2022 18:35:53 +0000</updated>
                            <resolved>Wed, 21 Dec 2016 13:18:22 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="44163" author="martin.ciglan" created="Wed, 19 Oct 2016 11:51:51 +0000"  >&lt;p&gt;RFC7950:&lt;/p&gt;

&lt;p&gt;7.7.2. The leaf-list&#8217;s Default Values&lt;br/&gt;
 The default values of a leaf-list are the values that the server uses&lt;br/&gt;
 if the leaf-list does not exist in the data tree. The usage of the&lt;br/&gt;
 default values depends on the leaf-list&#8217;s closest ancestor node in&lt;br/&gt;
 the schema tree that is not a non-presence container (see&lt;br/&gt;
 Section 7.5.1):&lt;br/&gt;
 o If no such ancestor exists in the schema tree, the default values&lt;br/&gt;
 MUST be used.&lt;br/&gt;
 o Otherwise, if this ancestor is a case node, the default values&lt;br/&gt;
 MUST be used if any node from the case exists in the data tree or&lt;br/&gt;
 the case node is the choice&#8217;s default case, and if no nodes from&lt;br/&gt;
 any other case exist in the data tree.&lt;br/&gt;
 o Otherwise, the default values MUST be used if the ancestor node&lt;br/&gt;
 exists in the data tree.&lt;br/&gt;
 In these cases, the default values are said to be in use.&lt;br/&gt;
 Note that if the leaf-list or any of its ancestors has a &quot;when&quot;&lt;br/&gt;
 condition or &quot;if-feature&quot; expression that evaluates to &quot;false&quot;, then&lt;br/&gt;
 the default values are not in use.&lt;br/&gt;
 When the default values are in use, the server MUST operationally&lt;br/&gt;
 behave as if the leaf-list was present in the data tree with the&lt;br/&gt;
 default values as its values.&lt;br/&gt;
 If a leaf-list has one or more &quot;default&quot; statements, the leaf-list&#8217;s&lt;br/&gt;
 default values are the values of the &quot;default&quot; statements, and if the&lt;br/&gt;
 leaf-list is user ordered, the default values are used in the order&lt;br/&gt;
 of the &quot;default&quot; statements. Otherwise, if the leaf-list&#8217;s type has&lt;br/&gt;
 a default value and the leaf-list does not have a &quot;min-elements&quot;&lt;br/&gt;
 statement with a value greater than or equal to one, then the&lt;br/&gt;
 leaf-list&#8217;s default value is one instance of the type&#8217;s default&lt;br/&gt;
 value. In all other cases, the leaf-list does not have any default&lt;br/&gt;
 values.&lt;/p&gt;</comment>
                            <comment id="44164" author="ifoltin" created="Sun, 6 Nov 2016 13:22:39 +0000"  >&lt;p&gt;API change - &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/47985/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/47985/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="44165" author="pkajsa" created="Tue, 20 Dec 2016 12:42:31 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/49473/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/49473/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="22775">YANGTOOLS-355</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="23084">YANGTOOLS-664</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="23119">YANGTOOLS-699</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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>6880</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=6880]]></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_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10357"><![CDATA[Carbon-M3]]></customfieldvalue>

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

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