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

The submodule rpc is not working as expected.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Medium Medium
    • None
    • Magnesium SR2
    • netconf
    • None

      I've trying to implement rpc statement in submodule and included from module for separation of concerns purpose, and both "sysrepo" and "pyang" are able to interpret it correctly, which is directly bind the rpc statement under the main module.

       

      However, when the data comes to ODL it triggers the following error:

      2020-10-12T19:45:36,116 | INFO | nioEventLoopGroupCloseable-3-1 | StreamWriterFacade | 317 - org.opendaylight.yangtools.yang-data-codec-xml - 4.0.13 | Encountered annotation message-id not bound to module. Please examine the call stack and fix this warning by defining a proper YANG annotation to cover it
      
      2020-10-12T19:45:36,525 | WARN  | remote-connector-processing-executor-11 | NetconfDevice                    | 287 - org.opendaylight.netconf.sal-netconf-connector - 1.11.2 | RemoteDevice{ark85}: Unable to build schema context, unsatisfied imports {RevisionSourceIdentifier [name=bytedance-dns@2020-10-13]=[ModuleImportImpl [name=bytedance-dns-rpc, revision=null, semanticVersion=null]]}, will reattempt with resolved only
      

      from my perspective, the message-id is referring to the message-id for rpc message, that is to say it's failed to be bound to the main module for some reason, I'm wondering if there's any way to solve this issue?

      The attachment is the yang model corresponding to this issue.

      The Yang Tool Version that I use is 4.0.13.

        1. [NETCONF-734] Steps to reproduce.rtf
          90 kB
        2. bytedance-dns.yang
          0.2 kB
        3. bytedance-dns-rpc.yang
          0.2 kB
        4. karaf.log
          348 kB

            ivanm1996 Ivan Martiniak
            libraskywalker Wanxin Cai
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: