<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:16:11 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-901] NETCONF call home device places YANG models in schema directory, does not allow user defined schemas</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-901</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;ODL Release  - sulphur via Light.io 16.1&lt;/p&gt;

&lt;p&gt;Issue:&lt;br/&gt;
Given a NETCONF device setup for call home, &quot;odl-netconf-callhome-server&quot; yang is used to add the device to an allowed list mapping a name to a host key. The device connects to OpenDayLight (good). &lt;/p&gt;

&lt;p&gt;The yang models from the device are all placed in the &quot;cache/schema&quot; directory of OpenDayLight - is this a bug?  Given the call home device has a unique name, shouldn&apos;t there be a cache/&amp;lt;deviceName&amp;gt; for those learned schemas?&lt;/p&gt;

&lt;p&gt;Also, we have devices that must take advantage of &quot;user defined&quot; schema list when they are added using &quot;netconf-topology&quot;  APIs.  OpenDaylight allows us to specify user defined schemas as well as specify the schema directory using a non &quot;callhome&quot; API &lt;br/&gt;
PUT /restconf/data/network-topology:network-topology/topology=&lt;/p&gt;
{topology-id}
&lt;p&gt;/node=&lt;/p&gt;
{node-id}

&lt;p&gt;But when using call home, this does not seem possible. Devices are added that call home, their schema ends up in the &quot;cache/schemas&quot; directory. There is no way to make a call home device point to a specific schema directory and/or implement user defined schema capabilities. &lt;/p&gt;

&lt;p&gt;Not sure if this is a bug or a feature request here.. or are we just missing something obvious?  &lt;/p&gt;

&lt;p&gt;To recreate, turn on the call home feature in ODL, and add a sysrepo2 simulator which is provisioned to use the ODL instance. Using the call home yang, add an allowed device to set the unique name, host key, etc..  OR configure the global provisioning to accept any device. &lt;/p&gt;

&lt;p&gt;The device will connect to ODL and show up in the &quot;operational/non-config&quot;  GET network-topology list. This list will show the device connected and its capabilities.  &lt;br/&gt;
The network-topology will allow the user to &quot;config&quot; a device with the same name as the call home device, but there doesn&apos;t seem to be any cohesion between the two - call home and configured netconf-topology devices seem to be a separate entity. &lt;/p&gt;


</description>
                <environment>&lt;p&gt;Windows or Linux box running Light.io OpenDaylight Sulphur Release.&lt;/p&gt;

&lt;p&gt;Callhome feature enabled in ODL. &lt;/p&gt;

&lt;p&gt;A sysrepo2/netopeer simulator or other NETCONF simulator capable of &quot;calling home&quot; into OpenDayLight. &lt;/p&gt;
</environment>
        <key id="36128">NETCONF-901</key>
            <summary>NETCONF call home device places YANG models in schema directory, does not allow user defined schemas</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <status id="1" iconUrl="https://jira.opendaylight.org/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="blue-gray"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="rmagaldi">Robert Magaldi</reporter>
                        <labels>
                    </labels>
                <created>Tue, 23 Aug 2022 20:49:36 +0000</created>
                <updated>Tue, 23 Aug 2022 20:49:36 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                        <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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i042x3:</customfieldvalue>

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