The below table provides up-to-date information about various YANG schema language extensions and associated support within this module. All extensions are syntactically and lexically processed already, but the below table provides details on the status of extensions as it pertains to how it is processed by the compiler for implementing the intended behavior of each extension.
Basically, note that the unsupported status below indicates it is not compliant with expected behavior although it is properly parsed and processed by the compiler.
Most of the supported extensions and typedefs have a corresponding test case reference link which will contain the associated mocha test suite which contains the validation tests.
extension | status | notes |
---|---|---|
action | supported | v1.1 draft |
anydata | unsupported | semantic parsing only |
anyxml | unsupported | no plans to support this extension |
augment | supported | test case 1 test case 2 |
base | supported | identity reference verification |
belongs-to | supported | resolve prefix |
bit | unsupported | TBD (0.17) |
case | supported | test case |
choice | supported | test case |
config | supported | test case |
contact | supported | meta data only |
container | supported | test case |
default | supported | test case |
description | supported | meta data only |
deviate | unsupported | TBD merge/alter |
deviation | unsupported | TBD merge/alter |
enum | suported | test case |
error-app-tag | unsupported | TBD (0.16) |
error-message | unsupported | TBD (0.16) |
feature | supported | enable feature binding (test case TBD) |
fraction-digits | unsupported | TBD (0.16) |
grouping | supported | test case |
identity | supported | test case |
if-feature | supported | conditional verification on feature binding |
import | supported | test case |
include | supported | test case |
input | supported | test case |
key | supported | test case |
leaf | supported | test case |
leaf-list | supported | test case |
length | supported | test case |
list | supported | test case |
mandatory | supported | test case |
max-elements | supported | test case |
min-elements | supported | test case |
modifier | unsupported | v1.1 draft - TBD |
module | supported | test case |
must | unsupported | TBD |
namespace | supported | meta data only |
notification | unsupported | TBD |
ordered-by | unsupported | TBD |
organization | supported | meta data only |
output | supported | test case |
path | supported | test case |
pattern | supported | test case |
position | unsupported | TBD |
prefix | supported | test case |
presence | unsupported | TBD |
range | supported | test case |
reference | supported | meta data only |
refine | supported | test case |
require-instance | supported | test case |
revision | supported | meta data only |
revision-date | supported | meta data only |
rpc | supported | test case |
status | supported | meta data only |
submodule | supported | test case |
type | supported | test case |
typedef | supported | test case |
unique | supported | test case |
units | supported | test case |
uses | supported | test case |
value | supported | test case |
when | unsupported | TBD |
yang-version | supported | differentiates 1.0 and 1.1 |
yin-element | supported | internal extension implementation |
type | status | notes |
---|---|---|
binary | unsupported | TBD |
bits | unsupported | TBD |
boolean | supported | test case |
decimal64 | supported | test case |
empty | supported | test case |
enumeration | supported | test case |
identityref | unsupported | does not enforce |
leafref | supported | test case |
int8 | supported | test case |
int16 | supported | test case |
int32 | supported | test case |
int64 | supported | test case |
uint8 | supported | test case |
uint16 | supported | test case |
uint32 | supported | test case |
number | supported | test case |
string | supported | test case |
union | supported | test case |
instance-identifier | supported | test case |