YANG Tools¶
Overview¶
YANG Tools provides a set of libraries to deal with YANG models and data modeled using them.
Behavior/Feature Changes¶
The mapping of YANG augmentations in yang-data-api
has changed. Where previously these have
been supported by AugmetationNode
and addressable via AugmentationIdentifier
, any augmented
nodes are now direct children of their data tree
parent nodes.
YangTextSchemaSource
is now a CharSource
rather than a ByteSource
. This eliminates ambiguity
and assumptions made on the text encoding character set, pushing the responsibility down to users
introducing schema sources into the system.
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) |
---|---|---|---|---|
Unstable NodeWithValue.toString() |
Done |
11.0.6, 13.0.1 |
||
NormalizedNode.toString() changed |
Done |
13.0.1 |
||
{Yin,Yang}TextSource references require yang-model-spi |
Done |
13.0.0 |
||
Fail to parse YANG module with a node with if-feature augmented within grouping |
Done |
10.0.11, 11.0.4, 12.0.0, 9.0.9 |
||
Expose SchemaInferenceStack.effectiveStatus() |
Done |
11.0.4, 12.0.0 |
||
Do not allow empty YangInstanceIdentifier leaf/leaf-list values |
Done |
12.0.0 |
||
Remove references to java.util.EventListener |
Done |
12.0.0 |
||
Improve ImmutableOffsetMapTemplate error reporting |
Done |
10.0.13, 11.0.5, 12.0.0 |
||
Add AbstractHierarchicalIdentifier |
Done |
12.0.0 |
||
Do not use Optional in yang-data-tree-ri operations |
Done |
11.0.4, 12.0.0 |
||
Do not trim XML element text |
Done |
12.0.0 |
||
Validate ietf-restconf:yang-data substatements are unique |
Done |
10.0.10, 11.0.4, 12.0.0 |
||
Add Empty.{completed,immediate}Future() |
Done |
10.0.13, 11.0.6, 13.0.2 |
||
Reconsider design of yang.common.Revision |
Done |
12.0.0 |
||
Add utilities for reading/writing yang-ir |
Done |
12.0.0 |
||
Do not use yang.model.api.Module in AbstractModuleStringInstanceIdentifierCodec |
Done |
12.0.0 |
||
AugmentEffectiveStatementImpl should not be QNameModuleAware |
Done |
12.0.0 |
||
Split out immutable NormalizedNode implementations |
Done |
12.0.0 |
||
Remove support for pre-Magnesium binfmt versions |
Done |
12.0.0 |
||
Migrate to JUnit5 |
Done |
12.0.0 |
||
Remove NormalizedNode.getIdentifier() |
Done |
12.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) |
---|---|---|---|---|---|
Remove circular dependecy when parsing module with submodule |
Resolved |
13.0.0, 13.0.1, 13.0.2, 13.0.3 |
13.0.4 |
||
RPC output cannot be written out via JSON/XML codecs |
Resolved |
10.0.12, 11.0.6, 13.0.0, 9.0.10 |
11.0.7, 13.0.3 |