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

Odl-yanglib fails to register provided sources

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Medium
    • Resolution: Done
    • 4.0.3
    • 6.0.0
    • netconf

    Description

      Registering any models as schemaSource in odl-yanglib will fail at the line:
      https://github.com/opendaylight/netconf/blob/master/netconf/yanglib/src/main/java/org/opendaylight/yanglib/impl/YangLibProvider.java#L143

      More in provided logs.

      Steps to reproduce:
      I have used absolute path to "netconf/karaf/target/assembly/cache" with one model "ietf-yang-types" as a value for CacheFolder inside YanglibConfig.
      https://github.com/opendaylight/netconf/blob/master/netconf/yanglib/src/main/java/org/opendaylight/yanglib/impl/YangLibProvider.java#L72
      (Just hard-code configuration :

              yanglibConfig = new YanglibConfigBuilder()
                      .setCacheFolder(FOLDER_PATH)
                      .setBindingAddr("localhost")
                      .setBindingAddr("8181")
                      .build(); 

      )

      Odl-yanglib feature was installed with command:
      feature:install odl-netconf-topology odl-restconf-nb odl-yanglib

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              ivanhrasko Ivan Hrasko
              PeterSuna Peter Suna
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: