[YANGTOOLS-675] [Yang 1.1] Allow type "leafref" in unions Created: 06/Oct/16  Updated: 10/Apr/22

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

Type: New Feature
Reporter: Peter Kajsa Assignee: Unassigned
Resolution: Unresolved 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
is blocked by YANGTOOLS-664 Extend yang statement parser to suppo... Resolved
is blocked by YANGTOOLS-620 yang-model-api: define a structured t... Confirmed
is blocked by YANGTOOLS-819 Switch empty type representation from... Verified

 Comments   
Comment by Peter Kajsa [ 07/Oct/16 ]

Especially see the example in section 9.12.4. in RFC7950.

Comment by Peter Kajsa [ 11/Jan/17 ]

This is supported by Yang statement parser currently. However, this change affects mainly other parts of yangtools (e.g. codecs) and mdsal (e.g. binding specification). Due to these follow-up required changes the bug has been moved to nitrogen.

Comment by Robert Varga [ 22/Feb/18 ]

Type empty is already supported. Union will require YANGTOOLS-620 to capture the value and the datastore will need to be updated to morph the value based on the target existence – which is going to be a messy affair as it violates subtree encapsulation principle.

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