Remove odl-yanglib

Description

Currently, we do not set namespace field for models we are writing into ietf-yang-library's modules state. Thus we are getting exception during runtime:

See karaf.log for details.

The production logic is in org.opendaylight.yanglib.impl.YangLibProviderClass.

Steps to reproduce:

  • start karaf

  • feature:install odl-yanglib

  • copy any yang file to karaf_home{}/cache/schema

  • restart karaf

Attachments

1

Activity

Robert Varga March 18, 2024 at 3:20 PM

And is actually not the direct cause of the failures. This component has not been working for a long time – and it cannot reasonably work just off of SchemaSourceRepository, as that does not provide namespace information.
yanglib could hook onto IRSchemaSource or similar to extract the namespace – but then it would have to be reacting to sources being crossed – which kinda defeats the idea.

It is an experimental feature, so let's just remove it.

Robert Varga March 18, 2024 at 1:55 PM

Okay, so this comes from NETCONF-12's implementation.

Done

Details

Assignee

Reporter

Labels

Components

Fix versions

Priority

Created June 29, 2023 at 12:44 PM
Updated February 6, 2025 at 2:12 PM
Resolved March 18, 2024 at 10:56 PM