Uploaded image for project: 'netconf'
  1. netconf
  2. NETCONF-1068

Remove odl-yanglib

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: High High
    • 7.0.3
    • 6.0.0, 7.0.2
    • netconf

      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:

      java.lang.IllegalArgumentException: Node (urn:ietf:params:xml:ns:yang:ietf-yang-library?revision=2019-01-04)module[{(urn:ietf:params:xml:ns:yang:ietf-yang-library?revision=2019-01-04)name=ietf-inet-types, (urn:ietf:params:xml:ns:yang:ietf-yang-library?revision=2019-01-04)revision=2010-09-24}] is missing mandatory descendant /(urn:ietf:params:xml:ns:yang:ietf-yang-library?revision=2019-01-04)namespace

      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

            rovarga Robert Varga
            ivanhrasko Ivan Hrasko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: