Uploaded image for project: 'mdsal'
  1. mdsal
  2. MDSAL-729

Always genenerate module DataRoot

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Medium Medium
    • 9.0.0
    • None
    • Binding codegen
    • None

      The concept of each module having a root is (i.e. a namespace) is quite prevalent in YANG. We currently skip generation of DataRoot if there are no instantiated data schema nodes present.

      This has an unfortunate effect on the run-time view of things, as we really want each module to have a RuntimeType – but if there is no DataRoot, there is no GeneratedType to fulfill the requirement to fulfil the API requirements of ModuleRuntimeType.

      Eliminate this special case and always generate a DataRoot class.

            rovarga Robert Varga
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: