[NETCONF-12] Sideload of models for nodes from remote yang sources repository Created: 10/Nov/14  Updated: 15/Mar/19  Resolved: 05/May/16

Status: Resolved
Project: netconf
Component/s: netconf
Affects Version/s: None
Fix Version/s: None

Type: Improvement
Reporter: Jan Medved Assignee: Jakub Morvay
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All



 Description   

The system should allow for easy sideload of models for devices that do not support netconf monitoring. An operator should be able to specify in the device configuration (along with IP address and credentials) where to load the models from.

A user should be able to specify a URI for each model that the user wants to be loaded into the controller for the device. The URI can point to an http/https download, ftp download, or a local file.



 Comments   
Comment by Maros Marsalek [ 19/Mar/15 ]

This feature is (with limits) already present in ODL:

https://wiki.opendaylight.org/view/OpenDaylight_Controller:Config:Examples:Netconf#Connecting_to_a_device_not_supporting_netconf_monitoring

It allows for side-loading of schemas from the cache/schemas folder

Comment by Robert Varga [ 13/Nov/15 ]

Move to NETCONFI project.

Comment by Jakub Morvay [ 26/Apr/16 ]

Hi Alexis,

NETCONF-152 is actually not a duplicate of this bug and this bug is not about adding support for ietf-yang-library to netconf.

This new feature is about side-loading schemas for device from some remote yang sources repository. You can think of it as a remote cache/schema folder schema side-loading.

You should be able to specify URL in the device configuration (either via netconf-topology or via netconf-connector) where to load the models from. We are using ietf-netconf-yang-library model for this, so maybe this is causing a confusion here. From the specified URL we download yang-library data (that is the list of modules with some basic information about each of them and URL that represents the YANG schema resource for each module or submodule) and register obtained schemas to schema registry.

Part of the implementation will be also the ODL application (part of netconf project), where you can specify folder with schemas that you want to serve. The application will then generate URL for each present model and serve them on generated URLs. Application will also write list of present models and generated urls to yang-libray model. So you can use ODL as a central remote yang source library for other applications or other ODL instances or for its own netconf connections.

Hope this is more clear now.

Comment by Alexis de Talhouƫt [ 26/Apr/16 ]

Hey Jakub,

Ok I think I got the difference between the two bugs now:

NETCONF-152 is about adding support to the ietf-netconf-yang-library

NETCONF-12 (this one) is using ietf-netconf-yang-library to sideload schemas from remote repository

What confused me was separating the support of the new ietf model and its usage to sideload schemas.

Sorry for having mess-up the bugs and thanks for having clarifying that.

Comment by Jakub Morvay [ 04/May/16 ]

Patch for sideloading schemas from remote yang schemas sources repositories:
https://git.opendaylight.org/gerrit/#/c/37630

Comment by Jakub Morvay [ 04/May/16 ]

ODL application providing YANG schemas through web sercice:
https://git.opendaylight.org/gerrit/#/c/38348

Generated at Wed Feb 07 20:13:57 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.