diff options
Diffstat (limited to 'tests/yanglint/modules/modmandatory.yang')
-rw-r--r-- | tests/yanglint/modules/modmandatory.yang | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/yanglint/modules/modmandatory.yang b/tests/yanglint/modules/modmandatory.yang new file mode 100644 index 0000000..4d48540 --- /dev/null +++ b/tests/yanglint/modules/modmandatory.yang @@ -0,0 +1,14 @@ +module modmandatory { + namespace "urn:yanglint:modmandatory"; + prefix mm; + + container mmc { + leaf lft { + type int16; + mandatory true; + } + leaf lff { + type int16; + } + } +} |