[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
Platform: All


Issue Links:
Duplicate
duplicates YANGTOOLS-774 No API available to pass the supporte... Resolved
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.


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