[MDSAL-809] Generate binding constructs for YANG extensions Created: 30/Jan/23  Updated: 09/Jan/24

Status: Confirmed
Project: mdsal
Component/s: Binding codegen
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Medium
Reporter: Robert Varga Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: pt
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

We are generating constructs for YANG feature statements for the purposes of specifying run-time support.

A similar capability is needed, which is the requirement for YANG parser to interpret specific YANG extensions, so their effects are not ignored at runtime.

Define a YangExtension yang.binding base class, similar to YangFeature introduced for features in MDSAL-766, and generate concretizations for each encountered extension. Just as YangFeature, the extension should be exposing a qname() method, which can be used to correlate the construct to a yang-parser-api configuration requirement..


Generated at Wed Feb 07 20:11:01 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.