[YANGTOOLS-672] [Yang 1.1] Allow "augment" to add conditionally mandatory nodes Created: 06/Oct/16  Updated: 18/Jan/24  Resolved: 16/Jan/17

Status: Resolved
Project: yangtools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Peter Kajsa Assignee: Peter Kajsa
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issue Links:
Blocks
blocks YANGTOOLS-355 Milestone: Introduce support for YANG... Resolved
blocks YANGTOOLS-194 Milestone: Datastore/Code generation ... Confirmed
is blocked by YANGTOOLS-664 Extend yang statement parser to suppo... Resolved
is blocked by YANGTOOLS-674 [Yang 1.1] Add support for a set of n... Resolved
External issue ID: 6876

 Description   

If the augmentation adds mandatory nodes that represent configuration to a target node in another module, the augmentation MUST be made conditional with a "when" statement.



 Comments   
Comment by Martin Ciglan [ 19/Oct/16 ]

RFC7950:
If the augmentation adds mandatory nodes (see Section 3) that
represent configuration to a target node in another module, the
augmentation MUST be made conditional with a "when" statement. Care
must be taken when defining the "when" expression so that clients
that do not know about the augmenting module do not break.

Comment by Peter Kajsa [ 11/Jan/17 ]

https://git.opendaylight.org/gerrit/#/c/50305/

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