Details
-
Bug
-
Status: Resolved
-
Medium
-
Resolution: Done
-
None
-
None
Description
Yang spec [0] states that child elements appearing in different case statements of a choice must be unique.
The identifiers of all these child nodes MUST be unique within all cases in a choice
This is violated at a few places in bgpcep yang files resulting in issues such as one reported in [1]. Opening this ticket to fix the usage in yang files
Attachments
Issue Links
- relates to
-
YANGTOOLS-857 YANG parser should honor RFC7950 section 6.2.1 restrictions
-
- Resolved
-
-
YANGTOOLS-1026 Choice/Case children conflict does not seem to be detected
-
- Resolved
-
| # | Subject | Branch | Project | Status | CR | V |
|---|---|---|---|---|---|---|
| 85290,5 | Fix rsvp.yang | stable/neon | bgpcep | Status: MERGED | +2 | +1 |
| 85291,7 | Fix bgp-segment-routing | stable/neon | bgpcep | Status: MERGED | +2 | +1 |
| 85324,2 | Fix bgp-segment-routing | master | bgpcep | Status: MERGED | +2 | +1 |
| 85343,3 | Fix rsvp.yang | stable/sodium | bgpcep | Status: MERGED | +2 | +1 |
| 85344,3 | Fix rsvp.yang | master | bgpcep | Status: MERGED | +2 | +1 |
| 85356,2 | Fix bgp-segment-routing | stable/sodium | bgpcep | Status: MERGED | +2 | +1 |