[YANGTOOLS-638] Milestone: Deviation statements should be resolved during SchemaContext assembly Created: 25/Jul/16 Updated: 10/Apr/22 Resolved: 26/Apr/17 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Igor Foltin | Assignee: | Igor Foltin |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Issue Links: |
|
||||||||
| External issue ID: | 6261 | ||||||||
| Description |
|
When assembling a SchemaContext, target nodes of deviations should be updated according to the deviate type (not-supported, add, replace, delete). |
| Comments |
| Comment by Igor Foltin [ 25/Jan/17 ] |
| Comment by Peter Verthez [ 25/Apr/17 ] |
|
I'm looking through the implementation for this, and I don't find anywhere how we can announce to the parser which deviations are supported. As far as I see from the YANG RFC (e.g. https://tools.ietf.org/html/rfc6020#section-5.6.4.3), the hello message describes which deviations are actually applicable, and only those should be in effect. So we should be able to pass this in the parser, like the list of supported features. Is this missing from the implementation? |
| Comment by Peter Verthez [ 26/Apr/17 ] |
|
I have submitted https://bugs.opendaylight.org/show_bug.cgi?id=8307 for this. |