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

Always genenerate module DataRoot

    XMLWordPrintable

Details

    • Task
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • 9.0.0
    • Binding codegen
    • None

    Description

      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.

      Attachments

        # Subject Branch Project Status CR V

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: