[YANGTOOLS-861] Support for conformance-type of the ietf-yang-library Created: 09/Mar/18  Updated: 09/Mar/18  Resolved: 09/Mar/18

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

Type: New Feature Priority: Medium
Reporter: Peter Verthez Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates YANGTOOLS-837 Add support for varied model conformance Resolved

 Description   

In the YANG module library https://tools.ietf.org/html/rfc7895 there is a field called 'conformance-type' with 2 possible values.   The values basically mean:

  • "implement": the server supports the full module
  • "import": the server does not support the actual top level data nodes of the module, only the imports, groupings, ...

It would be useful if we could pass the list of "only-import" modules to the YANG parser, and that the YANG parser would then automatically ignore the top level data nodes of those modules.



 Comments   
Comment by Robert Varga [ 09/Mar/18 ]

The 'only-import' is supported via addLibSources(), the bits to expose figure out and expose actual conformance are part of YANGTOOLS-837.

Comment by Peter Verthez [ 09/Mar/18 ]

ok, thanks

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