YANG Tools
Overview
YANG Tools provides a set of libraries to deal with YANG models and data modeled using them.
Behavior/Feature Changes
There are no behavior changes.
New Features
No new features.
Removed Features
No removed features.
Deprecated Features
No deprecated features.
Resolved Issues
The following table lists the issues resolved in this release.
Type |
Key |
Summary |
Resolution |
Fix Version(s) |
|---|---|---|---|---|
StatementSupport.statementName() reports the wrong value |
Done |
14.0.24, 15.0.2 |
||
binding-data-codec-dynamic fails to load simple typedef codec |
Done |
15.0.2 |
||
rfc6536-parser-support does not cover RFC8431 |
Done |
14.0.24, 15.0.2 |
||
SubstatementValidator fails with cross-revision extensions |
Done |
14.0.24, 15.0.2 |
||
BindingReflections.getModuleInfo(Class) does not work |
Done |
15.0.1 |
||
Cover FooStatement.OptionalIn with unit tests |
Done |
15.0.1 |
||
Wrong effective config in input, output and notification trees |
Done |
15.0.0 |
||
Refactor yang-parser-rfc7950 and its extension wiring |
Done |
15.0.0 |
||
Improve AbstractBooleanStatementSupport error reporting |
Done |
15.0.2 |
||
Add ModuleInfoSnapshotResolver.registerModuleFeatures(RootMeta,Set) |
Done |
15.0.1 |
||
Guard access to read-only namespaces in ModelActionBuilder |
Done |
15.0.1 |
||
Fix StmtContext.Mutable.addToNs() |
Done |
15.0.1 |
||
Clarify parser.spi.meta.NamespaceStorage |
Done |
15.0.0 |
||
Expose ModuleEffectiveStatement from ImportEffectiveStatement |
Done |
15.0.0 |
||
Improve BitsTypeObject.getDefaultInstance() code generation |
Done |
15.0.0 |
||
Add CodeHelpers.copyArray(byte[]) |
Done |
15.0.0 |
||
Improve AbstractBaseTemplate.wrapToDocumentation() |
Done |
15.0.0 |
||
Make model.api.source.SourceIdentifier Comparable |
Done |
15.0.0 |
||
Do not use Plexus injection in yang-maven-plugin |
Done |
14.0.23, 15.0.0 |
||
Bind SourceSpecificContext.yangVersion() eagerly |
Done |
15.0.0 |
||
Transform parser library sources lazily |
Done |
15.0.0 |
||
Retain ArgumentDefinition in YangStmtMapping |
Done |
14.0.23, 15.0.0 |
||
Clean up SubstatementValidator error reporting |
Done |
15.0.0 |
||
Add model.api.stmt.ValueRanges |
Done |
15.0.0 |
||
model.api.PathExpression should be a record |
Done |
15.0.0 |
||
Improve SubstatementValidator reporting |
Done |
15.0.0 |
||
Use SchemaNodeIdentifier instead of ArgumentUtils.parseAbsoluteSchemaNodeIdentifier et al. |
Done |
15.0.0 |
||
Use SchemaNodeIdentifierParser instead of StmtContextUtils.parse(Node)Identifier() |
Done |
15.0.0 |
||
Define the notion of a parser.spi.meta SubtreePolicy |
Done |
15.0.0 |
||
Cross-reference RFC6536 and RFC6241 |
Done |
15.0.2 |
||
Clean up yang-parser-rfc7950 ANTLR interactions |
Done |
15.0.0 |
||
Improve leafref cycle detection |
Done |
15.0.0 |
||
Update {Min,Max}ElementsStatement design |
Done |
15.0.0 |
||
Replace and deprecate DataContainerCodecContext.isSubstitutionFor() |
Done |
15.0.0 |
||
Some of SOURCE_PRE_LINKAGE modifiers for statements were not resolved. |
Duplicate |
15.0.0 |
||
Remove EffectiveStmtCtx.cearbannog() |
Done |
15.0.0 |
||
Remove ModelProcessingPhase.SOURCE(_PRE)_LINKAGE |
Done |
15.0.0 |
||
QNameToStatementDefinition.get() without a QName |
Done |
15.0.0 |
||
Allow PrettyTree to be written into Appendable |
Done |
15.0.0 |
||
Add FooData.META and DataRoot.meta() |
Done |
15.0.0 |
||
Remove model.api.UnknownSchemaNode |
Done |
15.0.0 |
||
Add usecase/databind |
Done |
15.0.0 |
||
Improve Decimal64 validity checks |
Done |
15.0.0 |
||
Disconnect parseArgument() from StmtContext |
Done |
15.0.0 |
||
Convert UnionTemplate.xtend |
Done |
15.0.0 |
||
Introduce (Restricted)Decimal64Type |
Done |
15.0.0 |
||
Introduce UnionTypeObjectArchetype |
Done |
15.0.0 |
||
Introduce EnumTypeObjectArchetype |
Done |
15.0.0 |
||
Refactor binding.model.api.Type |
Done |
15.0.0 |
||
Add model.spi.source.SourceRef |
Done |
15.0.0 |
Known Issues
The following table lists the known issues that exist in this release.
Type |
Key |
Summary |
Status |
Affected Version(s) |
Fix Version(s) |
|---|---|---|---|---|---|
SourceLinkageResolver crashes with InferenceException on unused library submodules |
Resolved |
15.0.0, 15.0.1, 15.0.2, 15.1.0, 15.1.1, 15.1.2 |
15.1.3, 16.0.0 |
||
Codegen shape for restricted ‘type bits’ does not work |
Resolved |
13.0.10, 14.0.23, 15.0.2, 15.1.1 |
16.0.0 |
||
Empty augmentation leads to incorrect contract definition |
Resolved |
12.0.0, 14.0.23, 15.0.0, 15.0.2, 15.1.0 |
15.1.1, 16.0.0 |
Resolved Issues in SR1
The following table lists the issues resolved in this release.
Type |
Key |
Summary |
Resolution |
Fix Version(s) |
|---|---|---|---|---|
Codegen fails on empty patterns |
Done |
15.1.5, 16.0.0 |
||
KeyedListNotifications are not generated as they should be |
Done |
14.0.25, 15.1.3, 16.0.0 |
||
SourceLinkageResolver crashes with InferenceException on unused library submodules |
Done |
15.1.3, 16.0.0 |
||
Augment inference fails to detect schema tree overlap when target node is a choice |
Done |
14.0.24, 15.1.2, 16.0.0 |
||
SharedEffectiveModelContextFactory fails on cyclic sibling-submodule includes |
Done |
14.0.25, 15.1.3, 16.0.0 |
||
YangTextParser throws IAE on empty files |
Done |
15.1.2, 16.0.0 |
||
Yang-validation-tool missing runtime dependencies |
Duplicate |
14.0.24, 15.1.2, 16.0.0 |
||
Cannot augment notification with mandatory leaf |
Done |
14.0.24, 15.1.2, 16.0.0 |
||
DataContainer.nonnullFoo() forces empty container initialization |
Done |
14.0.24, 15.1.1, 16.0.0 |
||
BlockBuilder.toBlock() fails with VerifyException |
Done |
15.1.1, 16.0.0 |
||
Empty augmentation leads to incorrect contract definition |
Done |
15.1.1, 16.0.0 |
||
Generated files have environment-dependent output |
Done |
15.1.0 |
||
Submodule linkage conflict between distinct modules |
Done |
15.1.3, 16.0.0 |
||
Remove use of Xtend templates so we do not depend on xtend-maven-plugin |
Done |
15.1.0 |
||
Improve BuilderImplTemplate-generated code |
Done |
15.1.0 |
||
Add yang.common.Yang{Number,Integer,Uint} |
Done |
15.1.0 |
||
Switch to using yang-common serialization proxies |
Done |
15.1.0 |
||
Generated ScalarTypeObject specializations should have final getValue() |
Done |
15.1.0 |
||
Add BlockBuilder.{open,close}Block() |
Done |
15.1.0 |
||
Remove use of org.eclipse.xtext.xbase.lib |
Done |
15.1.0 |
||
Add utility classes for generating indented file content |
Done |
15.1.0 |
||
Control indentation via BlockBuilder.oB/cB/cS |
Done |
15.1.0 |
||
Add BlockBuilder argument verification |
Done |
15.1.0 |
||
Allow unsafe instantiation of generated ScalarTypeObjects |
Done |
15.1.0 |
||
Eliminate use of Xtend in binding-codegen |
Done |
15.1.0 |
||
Deprecate concepts.{Either,CheckedValue} |
Done |
15.1.0 |
||
Deprecate Uint{8,16,32,64}/Decimal64.Support classes |
Done |
15.1.0 |
||
Add binding.meta.UnsafeAccess |
Done |
15.1.0 |
||
Remove use of StringConcatenation |
Done |
15.1.0 |
||
Migrate users of StringExtensions |
Done |
15.1.0 |
||
Add XSD regular expression object model and parser |
Done |
15.1.0 |
||
Convert ClassTemplate.xtend |
Done |
15.1.0 |
||
Convert InterfaceTemplate.xtend |
Done |
15.1.0 |
||
Convert BuilderTemplate.xtend |
Done |
15.1.0 |
||
Convert BuilderImplTemplate.xtend |
Done |
15.1.0 |
||
Remove BlockBuilder.append(String) |
Done |
15.1.0 |
||
Use maven-assembly-plugin in yang-validation-tool |
Done |
14.0.24, 15.1.2, 16.0.0 |
Known Issues in SR1
The following table lists the known issues that exist in this release.
Type |
Key |
Summary |
Status |
Affected Version(s) |
Fix Version(s) |
|---|---|---|---|---|---|
binding-bundle-parent does not propagate dependencies |
Resolved |
14.0.25, 15.1.5 |
16.0.0 |
||
Augment mechanics does not account for deviations lifecycle |
Open |
13.0.10, 14.0.24, 15.1.2 |
FUTURE |
||
Codegen shape for restricted ‘type bits’ does not work |
Resolved |
13.0.10, 14.0.23, 15.0.2, 15.1.1 |
16.0.0 |