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

Generate structures for RFC8040 yang-data extensions

    XMLWordPrintable

Details

    • New Feature
    • Status: Resolved
    • High
    • Resolution: Done
    • None
    • 11.0.5
    • Binding codegen

    Description

      RFC8040 has defined a new language extension, yang-data, which allows defining free-standing structures in YANG.

      Add a mapping of these structures to Java, similar to other YANG constructs. The result should be similar to a top-level container, except it should not use 'ChildOf', but rather be a free-standing.

      In terms of namespace collision handling, this construct should be secondary only to schema tree statements, i.e. in case of a conflict with grouping/identity, those should be displaced. A reasonable suffix needs to be assigned as well.

      Note that these extensions are superseded with more flexible RFC7891 Yang Structure extensions – and when we implement them, they should map to the same Java construct.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: