Details
-
Improvement
-
Status: Resolved
-
Resolution: Done
-
None
-
None
-
None
-
Operating System: Windows
Platform: PC
Description
I have a netconf server that does not advertise any YANG files. As a result of which NetConfDevice.getInitialCapabilities() sets cachedCapabilities as [] since none of the capability has module, revision and "?" & hence FilesystemSchemaCachingProvider never loads any files from cache/schema.
IMHO it is critical since for any netconf device that doesn't support ietf monitoring, neconf southbound plugin would not be able to read the YANG model and therefore device information can not be accessed using RESTCONF.
Note: As a workaround, I have hard coded the server capabilities in odl's code to advertise the YANG files I have written to represent my device. I have put these YANG files in below location:
\\odl-controller\opendaylight\distribution\opendaylight\target\distribution.opendaylight-osgipackage\opendaylight\cache\schema