Multiple netconf components deal with ietf-yang-library. Audit all of them and update them:
- when we are creating a view from EffectiveModelContext we need to examine FeatureEffectiveStatements (or FeatureDefinitions) present in a particular module to construct the list of supported features
- when we are creating an EffectiveModelContext, we need to pass down the set of supported features to the parser
The following need to be updated:
- org.opendaylight.netconf.mdsal.yang.library.YangLibraryWriter
- org.opendaylight.netconf.sal.connect.netconf.NetconfDevice (based on LibraryModulesSchemas)
- org.opendaylight.yanglib.impl.YangLibProvider (this might be a bit tricky, it seems it's doing multple things)
- is blocked by
-
NETCONF-909 Fix odl-yanglib feature usage
- Resolved
-
NETCONF-910 Odl-yanglib fails to register provided sources
- Resolved
-
YANGTOOLS-1368 Do not build FeatureEffectiveStatement for unsupported features
- Resolved
- relates to
-
MDSAL-719 Take supported features into account
- Resolved