Description
After converting YangLib project to blueprint feature,
https://git.opendaylight.org/gerrit/c/netconf/+/59530
Initialization stops working correctly and expect non-empty YanglibConfig provided by blueprint.
Blueprint creates empty YanglibConfig:
https://github.com/opendaylight/netconf/blob/master/netconf/yanglib/src/main/resources/OSGI-INF/blueprint/yanglib.xml#L13
After installing odl-yanglib feature:
feature:install odl-netconf-topology odl-restconf-nb odl-yanglib
Initialization will fail at line: https://github.com/opendaylight/netconf/blob/master/netconf/yanglib/src/main/java/org/opendaylight/yanglib/impl/YangLibProvider.java#L86
With message:
No cache-folder set in yanglib-config - yang library services will not be available
More in provided karaf logs.
After mentioned fix above for adding YangLib project to blueprint, is also not updated documentation for this feature. And is not clear how to use it.
https://docs.opendaylight.org/projects/netconf/en/latest/user-guide.html#yanglib-remote-repository
Attachments
Issue Links
- blocks
-
NETCONF-772 Convert yanglib to OSGi DS
-
- Resolved
-
-
NETCONF-910 Odl-yanglib fails to register provided sources
-
- Resolved
-
-
NETCONF-857 Export supported features to ietf-yang-library
-
- Confirmed
-
- relates to
-
NETCONF-772 Convert yanglib to OSGi DS
-
- Resolved
-