[NETCONF-901] NETCONF call home device places YANG models in schema directory, does not allow user defined schemas Created: 23/Aug/22 Updated: 23/Aug/22 |
|
| Status: | Open |
| Project: | netconf |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Medium |
| Reporter: | Robert Magaldi | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Windows or Linux box running Light.io OpenDaylight Sulphur Release. Callhome feature enabled in ODL. A sysrepo2/netopeer simulator or other NETCONF simulator capable of "calling home" into OpenDayLight. |
||
| Description |
|
ODL Release - sulphur via Light.io 16.1 Issue: The yang models from the device are all placed in the "cache/schema" directory of OpenDayLight - is this a bug? Given the call home device has a unique name, shouldn't there be a cache/<deviceName> for those learned schemas? Also, we have devices that must take advantage of "user defined" schema list when they are added using "netconf-topology" APIs. OpenDaylight allows us to specify user defined schemas as well as specify the schema directory using a non "callhome" API /node= {node-id}But when using call home, this does not seem possible. Devices are added that call home, their schema ends up in the "cache/schemas" directory. There is no way to make a call home device point to a specific schema directory and/or implement user defined schema capabilities. Not sure if this is a bug or a feature request here.. or are we just missing something obvious? 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. The device will connect to ODL and show up in the "operational/non-config" GET network-topology list. This list will show the device connected and its capabilities. |