<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:09:06 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>[MDSAL-219] Ability to dynamically adding yang schema to MD-SAL global schema context</title>
                <link>https://jira.opendaylight.org/browse/MDSAL-219</link>
                <project id="10137" key="MDSAL">mdsal</project>
                    <description>&lt;p&gt;Currently the only way for application to add a YANG schema is either via ODL yang bundle which require build or by installing a OSGI bundle with yang folder (META-INF/yang/*.yang).&lt;/p&gt;

&lt;p&gt;MDSAL should expose API for allowing adding arbitrary schema files which can be used for validating/storing yang based objects.&lt;/p&gt;

&lt;p&gt;The SchemaService has addModule API which is currently not supported. the main use case is to allow developing ODL application which allow dynamically using new schema files without necessity of building/installing bundles. in a sense is similarly to netconf mounting with the difference that is not limited only to netconf.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="27041">MDSAL-219</key>
            <summary>Ability to dynamically adding yang schema to MD-SAL global schema context</summary>
                <type id="10103" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10311&amp;avatarType=issuetype">New Feature</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="10001">Won&apos;t Do</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="avich@amdocs.com">Avi Chapnick</reporter>
                        <labels>
                    </labels>
                <created>Wed, 11 Jan 2017 09:32:27 +0000</created>
                <updated>Sun, 26 Sep 2021 05:56:04 +0000</updated>
                            <resolved>Sun, 26 Sep 2021 05:56:03 +0000</resolved>
                                                                    <component>DOM runtime</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="54552" author="martin.ciglan" created="Wed, 11 Jan 2017 13:33:11 +0000"  >&lt;p&gt;this needs support from Yangtools and further dev discussion&lt;/p&gt;</comment>
                            <comment id="54553" author="martin.ciglan" created="Thu, 12 Jan 2017 12:58:20 +0000"  >&lt;p&gt;based on information from yangtools-dev team, there won&apos;t be any changes/implementation done in Yangtools code, so one has to support this in client application. You might want to open discussion on mailing list. Closing bug as WON&apos;T FIX&lt;/p&gt;</comment>
                            <comment id="54554" author="colin@colindixon.com" created="Thu, 12 Jan 2017 16:46:16 +0000"  >&lt;p&gt;Martin, is this being closed because the yangtools developers feel like it&apos;s fundamentally a bad idea or merely because the cycles to fix it don&apos;t exist at the moment.&lt;/p&gt;

&lt;p&gt;If it&apos;s the latter, it&apos;s probably better to not mark it as  RESOLVED WONTFIX.&lt;/p&gt;

&lt;p&gt;It seems like we already do this when loading OSGi bundles, so we really ought to be able to trigger the same code path dynamically. Is my thinking wrong?&lt;/p&gt;</comment>
                            <comment id="54555" author="colin@colindixon.com" created="Thu, 19 Jan 2017 15:33:13 +0000"  >&lt;p&gt;@Avi, based on some back and forth with Brian Freeman, I&apos;m moving this to CONFIRMED and adding it to the Kernel Projects Call for next week here:&lt;br/&gt;
&lt;a href=&quot;https://wiki.opendaylight.org/view/Kernel_Projects_Call#Upcoming_Agenda_Topics&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.opendaylight.org/view/Kernel_Projects_Call#Upcoming_Agenda_Topics&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you could attend that call to figure out if there&apos;s any additional information you need before being able to take a swag at fixing it, that would be awesome.&lt;/p&gt;

&lt;p&gt;It&apos;s Tuesday, January 24th at 9a pacific.&lt;/p&gt;</comment>
                            <comment id="54556" author="rovarga" created="Tue, 24 Jan 2017 17:44:49 +0000"  >&lt;p&gt;As discussed on the MD-SAL call, the solution here depends on the use case. My understanding is that this is to store SB device configuration in the controller.&lt;/p&gt;

&lt;p&gt;While we can populate the global controller SchemaContext with these models, it does have two down sides:&lt;br/&gt;
1) not providing uniform access to Binding applications&lt;br/&gt;
2) potentially mixing up the data models of the controller and the southbound device&lt;/p&gt;

&lt;p&gt;For this reason we have chosen to populate the global context strictly from bundles deployed &amp;#8211; with that we do not risk having something in the system for which we do not have bindings. It is an ugly, but effective way of ensuring that.&lt;/p&gt;

&lt;p&gt;The second problem is actually worse, because in the generic case the southbound device could be a previous or future version of ODL &amp;#8211; at which point we have genuine model version clashes, leading to &apos;this is weird&apos; kind of bugs.&lt;/p&gt;

&lt;p&gt;There are multiple options on how to make this work, for which we need to have a better understanding of what the access requirements are. From the description this feels like it has some overlap with &lt;a href=&quot;https://tools.ietf.org/html/draft-clemm-netmod-mount-05&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://tools.ietf.org/html/draft-clemm-netmod-mount-05&lt;/a&gt;, but that needs to be confirmed. If that is the case, we definitely have all the tools for the job readily available.&lt;/p&gt;

&lt;p&gt;The consensus is to keep this issue open in mdsal, until we have a better understanding of the use case. This will be subject of next week&apos;s TWS, after which we will decide what to do with this issue.&lt;/p&gt;</comment>
                            <comment id="54557" author="avicha@gmail.com" created="Wed, 25 Jan 2017 17:37:51 +0000"  >&lt;p&gt;Several questions/comments&lt;/p&gt;

&lt;p&gt;1. The business requirement is manage VNF/VF configuration in MDSAL application  as part of somewhat of a VNFM implementation, these configuration doesn&apos;t have to relate directly to the SB device configuration/schema , it might be the SB device will be CLI based and thus no schema to represent its configuration. &lt;br/&gt;
the configuration will not necessarily will be network related, it can be VNF specific setting. having said , we are using MDSAL capabilities to create a configuration manager and not to develop a network/DSN application per-se . &lt;br/&gt;
I will describe that in the TWS.&lt;/p&gt;

&lt;p&gt;2. from what I seen/tried so far , there is option to import a bundle with no generated binding , only with the yang schema file and the schema gets consumed to the global context, with that today ODL expose to the risks described above.&lt;/p&gt;

&lt;p&gt;3. regarding uniform access to binding application , If one binding application is reading data which is stored by another binding application , is it still have access to all the generated binding , even if these are part of a different deployed bundle? is MDSAL even allows that?&lt;/p&gt;</comment>
                            <comment id="69634" author="rovarga" created="Sun, 26 Sep 2021 05:56:04 +0000"  >&lt;p&gt;Our interfaces are organized in a way, which allows a different DOMSchemaService to be implemented as needed. In particular yang-parser-api provides everything needed to establish an EffectiveModelContext.&lt;/p&gt;

&lt;p&gt;This requirement does not align up with any use case we currently support and will not be implemented.&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>7522</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=7522]]></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|i02x1r:</customfieldvalue>

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