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


Issue Links:
Blocks
is blocked by YANGTOOLS-704 Document parser-impl package structure Resolved
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 ]

Fix: https://git.opendaylight.org/gerrit/#/c/51008/

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.

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