[YANGTOOLS-775] yang-parser-impl: activation of deviation statement Created: 02/May/17 Updated: 10/Apr/22 Resolved: 02/May/17 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Robert Varga | Assignee: | Unassigned |
| Resolution: | Duplicate | 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: | 8348 | ||||||||
| Description |
|
As it turns out, based on https://mailarchive.ietf.org/arch/msg/netmod/FcseqgXgdNhOb3k_BgN1aa8By5M, the deviation statement needs to be explicitly activated and is not effective just by virtue of being present in the library. Fix handling of deviations so that the caller can tell us which module has enabled deviations, effectively passing in the information implied by https://tools.ietf.org/html/rfc6020#section-5.6.4. Note this requires API changes, which need to remain compatible with previous behavior. |