<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:13:55 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>[NETCONF-3] Export schema information for data subtree</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-3</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;It&apos;s needed to add functionality to ODL - getting yang model (in yin format) via rest API from physical net elements with info about datastorage - config or operational.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="21016">NETCONF-3</key>
            <summary>Export schema information for data subtree</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="-1">Unassigned</assignee>
                                    <reporter username="lucia.pargacova@pantheon.sk">Lucia Pargacova</reporter>
                        <labels>
                    </labels>
                <created>Tue, 20 May 2014 13:29:23 +0000</created>
                <updated>Fri, 15 Mar 2019 22:22:09 +0000</updated>
                            <resolved>Fri, 12 Oct 2018 07:45:11 +0000</resolved>
                                                                    <component>restconf-nb</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="38679" author="jsebin@cisco.com" created="Tue, 27 May 2014 08:00:45 +0000"  >&lt;p&gt;Maybe Restconf API explorer can be somehow used in this (&lt;a href=&quot;https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Restconf_API_Explorer&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:Restconf_API_Explorer&lt;/a&gt;)&lt;/p&gt;</comment>
                            <comment id="38680" author="tony.tkacik@gmail.com" created="Tue, 15 Jul 2014 10:50:33 +0000"  >&lt;p&gt;Are you asking for returning YIN version of YANG data?&lt;/p&gt;</comment>
                            <comment id="38681" author="rovarga" created="Thu, 31 Jul 2014 10:35:56 +0000"  >&lt;p&gt;So there are two things we can do:&lt;/p&gt;

&lt;p&gt;1) implement yang-monitoring in MD-SAL, as Tony suggested&lt;/p&gt;

&lt;p&gt;2) expose current schemacontext as a REST-rooted document&lt;/p&gt;

&lt;p&gt;There are upsides and downsides to both and I think we really want to do both. The upside of 1) is simplicity and existing model of model. The downside is that it gives you only module-level visibility, not how things fit together.&lt;/p&gt;

&lt;p&gt;Option 2 requires a custom REST endpoint, but it gives you the properly cross-referenced view of how the data world looks like from the perspective of the controller, e.g. all augments are properly resolved, all uses are inlined, etc.&lt;/p&gt;</comment>
                            <comment id="38682" author="jsebin@cisco.com" created="Thu, 28 Aug 2014 15:18:19 +0000"  >&lt;p&gt;In regard to option 1/ (at least for our needs), single module visiblity wouldn&apos;t be a problem, because we already working with it (we are already processing uses/grouping and augment statements)&lt;/p&gt;</comment>
                            <comment id="38683" author="rovarga" created="Fri, 13 Nov 2015 12:58:45 +0000"  >&lt;p&gt;Move to NETCONF project&lt;/p&gt;</comment>
                            <comment id="38684" author="rovarga" created="Mon, 7 Nov 2016 22:10:42 +0000"  >&lt;p&gt;YIN export is available from the yangtools project. RESTCONF needs to project these exports via the protocol &amp;#8211; I think yang library should cover this.&lt;/p&gt;</comment>
                            <comment id="65330" author="jmorvay" created="Fri, 12 Oct 2018 07:42:37 +0000"  >&lt;p&gt;Described functionality should be present both in RFC8040 and Bierman02 RESTCONF implementations.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Bierman02: See SchemaRetrievalService.java API, you should be able to get ODL and mountpoints schemas at:&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
/modules/module/{identifier:.+}/schema&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;where identifier is module name and revision (ODL schemas) or mountpoint id and module name with revision (mountpoint schemas).&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Please see following examples,&lt;/p&gt;

&lt;p&gt;ODL schema resource:&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
restconf/modules/module/ietf-netconf/2011-06-01/schema
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;mountpoint schema resource:&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
/restconf/modules/module/network-topology:network-topology/topology/topology-netconf/node/netconf-node/yang-ext:mount/ietf-netconf/2011-06-01/schema
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;For RFC 8040 implementations, you should be able to get schemas at:&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
/rests/modules/{identifier:.+}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;where identifier is again module name with its revision or for mountpoint schemas you need to add also mountpoint id.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Both YANG and YIN formats are supported (you can specify them in accept HTTP header).&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>1049</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=1049]]></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="10349"><![CDATA[Unspecified]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10202" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Priority</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10301"><![CDATA[Normal]]></customfieldvalue>

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

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