<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:54:29 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-851] MDSAL rejects valid json file when YANG model has a container that crosses a Choice</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-851</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;The attached files include the YANG models used and the test file I posted to the nrothbound.&lt;/p&gt;

&lt;p&gt;To re-create, create a dummy project. put the attached files in api/src/main/yang&lt;/p&gt;

&lt;p&gt;Build the project and POST the json file ( see attached tar.gz) to the northbound&lt;/p&gt;

&lt;p&gt;curl -v -X PUT -u admin:admin --header &quot;Content-Type:application/json&quot; --data @access-control-list.json &lt;a href=&quot;http://127.0.0.1:8181/restconf/config/ietf-access-control-list:access-lists&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://127.0.0.1:8181/restconf/config/ietf-access-control-list:access-lists&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;Attached error.log (stdout&#160; error returned when I use CURL to post )&lt;/p&gt;

&lt;p&gt;Attached karaf-logs.tar.gz the server logs from Karaf. I set these to DEBUG and repeated the experiment above.&lt;/p&gt;</description>
                <environment>&lt;p&gt;OpenDaylight Nitrogen release version.&lt;/p&gt;</environment>
        <key id="29220">YANGTOOLS-851</key>
            <summary>MDSAL rejects valid json file when YANG model has a container that crosses a Choice</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.opendaylight.org/images/icons/priorities/critical.svg">High</priority>
                        <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="10003">Cannot Reproduce</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="M.Ranganathan">M. Ranganathan</reporter>
                        <labels>
                    </labels>
                <created>Wed, 14 Feb 2018 21:06:11 +0000</created>
                <updated>Fri, 23 Feb 2018 18:14:47 +0000</updated>
                            <resolved>Fri, 23 Feb 2018 09:55:21 +0000</resolved>
                                                                    <component>codecs</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="61068" author="rovarga" created="Wed, 14 Feb 2018 21:57:22 +0000"  >&lt;p&gt;Can you quote the error (with a stack trace, if possible) and attach logs, please?&lt;/p&gt;</comment>
                            <comment id="61072" author="m.ranganathan" created="Thu, 15 Feb 2018 03:28:52 +0000"  >&lt;p&gt;Attached:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Karaf logs&lt;/li&gt;
	&lt;li&gt;returned error message from the northbound.&lt;/li&gt;
&lt;/ol&gt;
</comment>
                            <comment id="61080" author="m.ranganathan" created="Thu, 15 Feb 2018 20:32:42 +0000"  >&lt;p&gt;Attached updated error logs. ( I had included the wrong yang model in my previous report. Sorry about the confusion. )&lt;/p&gt;</comment>
                            <comment id="61099" author="rovarga" created="Mon, 19 Feb 2018 11:56:26 +0000"  >&lt;p&gt;No problem, thanks. We also need the JSON input.&lt;/p&gt;</comment>
                            <comment id="61114" author="m.ranganathan" created="Mon, 19 Feb 2018 15:27:41 +0000"  >&lt;p&gt;Attached access-control-list.json. Thanks&lt;/p&gt;</comment>
                            <comment id="61117" author="rovarga" created="Mon, 19 Feb 2018 22:29:44 +0000"  >&lt;p&gt;At first glance the JSON looks okay, but this has nothing to do with bindings.&lt;/p&gt;</comment>
                            <comment id="61175" author="rovarga" created="Thu, 22 Feb 2018 23:18:10 +0000"  >&lt;p&gt;Looks like the codecs are doing something bad. More investigation is needed.&lt;/p&gt;</comment>
                            <comment id="61178" author="rovarga" created="Fri, 23 Feb 2018 09:55:21 +0000"  >&lt;p&gt;This actually is not an ODL bug, but a mismatch between ietf-acldns and input data. ietf-acldns adds leaves to the ipv4 case, the data assumes it is added to the ipv4 container.&lt;/p&gt;</comment>
                            <comment id="61187" author="elear2" created="Fri, 23 Feb 2018 18:14:47 +0000"  >&lt;p&gt;Robert, I&apos;m the person that designed the generation tool.&#160; Can you explain a bit more as to what the mismatch is?&#160; acldns augments the ipv4 and ipv4 containers of the ACL model.&#160; The data seems labeled appropriately and wrapped in &quot;ipv4&quot;: { }.&#160; What am I doing wrong?&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="14415" name="access-control-list.json" size="4969" author="M.Ranganathan" created="Mon, 19 Feb 2018 15:26:58 +0000"/>
                            <attachment id="14412" name="bug.tar.gz" size="1928965" author="M.Ranganathan" created="Thu, 15 Feb 2018 20:31:39 +0000"/>
                    </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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03af3:</customfieldvalue>

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