Generate structures for RFC8040 yang-data extensions

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.

Activity

Show:

Robert Varga December 16, 2022 at 5:57 AM

Runtime parts need to be delivered separately, as they depend on https://lf-opendaylight.atlassian.net/browse/YANGTOOLS-1472#icft=YANGTOOLS-1472

Robert Varga August 29, 2021 at 11:39 PM

   While we can package RFC8639 model, we really need the structures defined as yang-data to be able to implement this in a reasonable fashion.

Done

Details

Assignee

Reporter

Labels

Components

Fix versions

Priority

Created July 9, 2021 at 1:41 PM
Updated February 6, 2025 at 2:12 PM
Resolved February 1, 2023 at 11:12 AM