[YANGTOOLS-774] No API available to pass the supported deviations to the YANG parser Created: 26/Apr/17  Updated: 10/Apr/22  Resolved: 15/Sep/17

Status: Resolved
Project: yangtools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Peter Verthez 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:
Duplicate
is duplicated by YANGTOOLS-775 yang-parser-impl: activation of devia... Resolved
External issue ID: 8307

 Description   

This is related to the implementation of https://bugs.opendaylight.org/show_bug.cgi?id=6261.

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 to which modules, and only those should be in effect. So we should be able to pass this in the parser, like the list of supported features.



 Comments   
Comment by Igor Foltin [ 03/May/17 ]

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

Comment by Robert Varga [ 18/May/17 ]

Carbon: https://git.opendaylight.org/gerrit/57333

Comment by Peter Verthez [ 15/Sep/17 ]

I see in the change:

This patch handles only the statement reactor part. SchemaContextFactory should be fixed in a separate patch.

By which ticket is this tracked?

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