[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 |
||
| Issue Links: |
|
||||||||||||||||
| 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. |