<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:53:30 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>[CONTROLLER-633] RESTCONF support RPC on yang-ext:mount for any mounted &quot;module&quot;</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-633</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;yang-ext:mount allows a remote device to expose it&apos;s modules via RESTCONF.  The controller will establish the mounted &quot;capabilities&quot; and then uses get-schema to load the module yang directly from the device.&lt;/p&gt;

&lt;p&gt;This is very powerful, as it lets the controller, and it&apos;s RESTCONF NBI aggregate the capabilities from all managed devices as long as the device exports the yang for each.&lt;/p&gt;

&lt;p&gt;The catch is that when RESTCONF POST is made such as :&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://server:8080/restconf/operations/opendaylight-inventory:/nodes/node/nameofnode/yang-ext:mount/modulename:rpcname&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://server:8080/restconf/operations/opendaylight-inventory:/nodes/node/nameofnode/yang-ext:mount/modulename:rpcname&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;RestconfImpl current looks up the modulename in the global ControllerContext which doesn&apos;t have said modulename if it&apos;s unique to the device. &lt;/p&gt;

&lt;p&gt;To make this concrete:  The netopeer server has a toaster &quot;capability&quot; and today you can in fact issue a &quot;make-toast&quot; rpc on the &quot;toaster&quot; module via:&lt;/p&gt;

&lt;p&gt;restconf/opendaylight-inventory:nodes/node/netopeer-config/yang-ext:mount/toaster:make-toast&lt;/p&gt;

&lt;p&gt;However this only works if the &quot;toaster&quot; sample is configured on the controller.  If it isn&apos;t, then this &quot;toaster&quot; capability isn&apos;t known to the controller and the RPC isn&apos;t considered valid.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Mac OS&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="25187">CONTROLLER-633</key>
            <summary>RESTCONF support RPC on yang-ext:mount for any mounted &quot;module&quot;</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <status id="10004" iconUrl="https://jira.opendaylight.org/images/icons/status_generic.gif" description="">Verified</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="jgloncak">Jozef Gloncak</assignee>
                                    <reporter username="jameshall03885@gmail.com">James Gregory Hall</reporter>
                        <labels>
                    </labels>
                <created>Wed, 16 Jul 2014 17:50:23 +0000</created>
                <updated>Tue, 14 Nov 2017 15:17:58 +0000</updated>
                            <resolved>Tue, 22 Jul 2014 13:44:11 +0000</resolved>
                                    <version>Helium</version>
                                                    <component>restconf</component>
                        <due>Tue, 22 Jul 2014 00:00:00 +0000</due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="48721" author="rovarga" created="Mon, 21 Jul 2014 07:48:02 +0000"  >&lt;p&gt;Reassigned to restconf and prioritized.&lt;/p&gt;</comment>
                            <comment id="48722" author="jgloncak" created="Mon, 21 Jul 2014 14:54:14 +0000"  >&lt;p&gt;The cause was probably identified. I will continue working on it tomorrow. Fix should be prepared during tomorrow.&lt;/p&gt;</comment>
                            <comment id="48723" author="jgloncak" created="Tue, 22 Jul 2014 07:19:28 +0000"  >&lt;p&gt;patch set at&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/9218/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/9218/&lt;/a&gt;&lt;br/&gt;
proposed.&lt;/p&gt;</comment>
                            <comment id="48724" author="jgloncak" created="Tue, 22 Jul 2014 11:43:17 +0000"  >&lt;p&gt;tested as follows:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;bandles sample-toaster, sample-toaster-consumer, sample-toaster-provider (folder plugins) and configuration 03-toaster-sample.xml (folder configuration/initial) were removed from ODL distribution&lt;/li&gt;
	&lt;li&gt;toaster.yang was added to remote netconf server&lt;/li&gt;
	&lt;li&gt;configuration was added to configuration/initial in ODL distribution with name &amp;gt;remote-device&amp;lt;&lt;/li&gt;
	&lt;li&gt;POST &lt;a href=&quot;http://localhost:8080/restconf/operations/opendaylight-inventory:nodes/node/remote-device/yang-ext:mount/toaster:make-toast&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8080/restconf/operations/opendaylight-inventory:nodes/node/remote-device/yang-ext:mount/toaster:make-toast&lt;/a&gt;&lt;br/&gt;
with data&lt;br/&gt;
&amp;lt;input xmlns=&quot;http://netconfcentral.org/ns/toaster&quot;&amp;gt;&lt;br/&gt;
    &amp;lt;toasterDoneness&amp;gt;2&amp;lt;/toasterDoneness&amp;gt;    &lt;br/&gt;
&amp;lt;/input&amp;gt;&lt;br/&gt;
was sent&lt;/li&gt;
	&lt;li&gt;response 204 was received&lt;/li&gt;
&lt;/ul&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>1379</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=1379]]></customfieldvalue>

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

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

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