<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:08: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>[MDSAL-37] Usability: Config subsystem - &quot;How do I know what values to use in the Yang / XML to get MD-SAL services?&quot;</title>
                <link>https://jira.opendaylight.org/browse/MDSAL-37</link>
                <project id="10137" key="MDSAL">mdsal</project>
                    <description>&lt;p&gt;A usability was pointed out - when we changed the name of the data broker in the config sub system people were not clear on how to even start figuring out what the correct values are. &lt;/p&gt;

&lt;p&gt;It would be great if we can try to answer this question in a quick, distinct way. Here is the e-mail snippet from the controller-dev list.&lt;/p&gt;

&lt;p&gt;==========&lt;/p&gt;

&lt;p&gt;Does anyone know the answer to this?  What do I need to put in my yang files and config files to get the new API?  I have no idea how I&apos;d even figure this out.&lt;/p&gt;

&lt;p&gt;There&apos;s a million yang files and everything has the same name as everything else.&lt;/p&gt;

&lt;p&gt;-Rob&lt;/p&gt;


&lt;p&gt;On Mon, Jun 30, 2014 at 3:26 PM, Rob Adams &amp;lt;readams@readams.net&amp;gt; wrote:&lt;br/&gt;
Also, what is the magic incantation I would need in order to use this?  In terms of what I need to put into the config XML file, pom file, etc.&lt;br/&gt;
The old one looks like this:&lt;/p&gt;

&lt;p&gt;            container data-broker {&lt;br/&gt;
                uses config:service-ref {&lt;br/&gt;
                    refine type &lt;/p&gt;
{
                        mandatory true;
                        config:required-identity mdsal:binding-data-broker;
                    }
&lt;p&gt;                }&lt;br/&gt;
            }&lt;/p&gt;

&lt;p&gt;and&lt;br/&gt;
                    &amp;lt;data-broker&amp;gt;&lt;br/&gt;
                        &amp;lt;type xmlns:binding=&quot;urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding&quot;&amp;gt;binding:binding-data-broker&amp;lt;/type&amp;gt;&lt;br/&gt;
                        &amp;lt;name&amp;gt;binding-data-broker&amp;lt;/name&amp;gt;&lt;br/&gt;
                    &amp;lt;/data-broker&amp;gt;&lt;/p&gt;



&lt;p&gt;On Mon, Jun 30, 2014 at 3:07 PM, Rob Adams &amp;lt;readams@readams.net&amp;gt; wrote:&lt;br/&gt;
Thanks, so it looks like in the new API there is a way to do this.  This is much better.&lt;/p&gt;

&lt;p&gt;One thing to ask though, based on the design of the new API: are we committing to notifications always and forever more being single threaded?   The current API design is not threadsafe if you can get notifications on multiple threads.  Given that the design of MD-SAL depends on these update notifications for potentially performance-critical paths, this may not be a good idea.&lt;/p&gt;

&lt;p&gt;-Rob&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Mac OS&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="26859">MDSAL-37</key>
            <summary>Usability: Config subsystem - &quot;How do I know what values to use in the Yang / XML to get MD-SAL services?&quot;</summary>
                <type id="10100" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10310&amp;avatarType=issuetype">Improvement</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="tony.tkacik@gmail.com">Tony Tkacik</assignee>
                                    <reporter username="devin.avery@brocade.com">Devin Avery</reporter>
                        <labels>
                    </labels>
                <created>Tue, 1 Jul 2014 16:40:28 +0000</created>
                <updated>Fri, 9 Mar 2018 18:00:03 +0000</updated>
                            <resolved>Fri, 29 Apr 2016 12:26:37 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="53970" author="tony.tkacik@gmail.com" created="Thu, 19 Mar 2015 09:22:33 +0000"  >&lt;p&gt;&lt;a href=&quot;https://wiki.opendaylight.org/view/Controller_Core_Functionality_Tutorials:Main&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.opendaylight.org/view/Controller_Core_Functionality_Tutorials:Main&lt;/a&gt;  provide guide for this.&lt;/p&gt;</comment>
                            <comment id="53971" author="devin.avery@brocade.com" created="Thu, 19 Mar 2015 13:50:07 +0000"  >&lt;p&gt;Reopening this bug as the provided link is the general tutorial and does not answer the question asked.&lt;/p&gt;

&lt;p&gt;Even the more specific config subsystem pages doesn&apos;t answer the question: &lt;a href=&quot;https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:MD-SAL_Document_Review:Config_SubSystem&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:MD-SAL_Document_Review:Config_SubSystem&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If we are relying on the documentation on the wiki to explain this then we need to give concrete examples. The specific item listed below was asked. Another example would be the schema service etc. In general we are looking to not only understand how the config system is built to work but how we can search for existing services.&lt;/p&gt;

&lt;p&gt;Thank you!&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>1271</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=1271]]></customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10349"><![CDATA[Unspecified]]></customfieldvalue>

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

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