[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: |
|
||||||||
| 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:
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 |
| Comment by Peter Verthez [ 09/Mar/18 ] |
|
ok, thanks |