commit | aa28569db11ed4532c185ab1ac351e057ac9265e | [log] [tgz] |
---|---|---|
author | aPiecek <piecek@cesnet.cz> | Wed Apr 05 13:36:25 2023 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Fri Jun 02 15:48:29 2023 +0200 |
tree | d10b5cd66b1ec644fae014fc2d94fedfc0f3107c | |
parent | e75fce588f3b2c4d4f5c30b81b4ed7dad74997ef [diff] [blame] |
yanglint TEST option --present
diff --git a/tools/lint/tests/modules/modmandatory.yang b/tools/lint/tests/modules/modmandatory.yang new file mode 100644 index 0000000..4d48540 --- /dev/null +++ b/tools/lint/tests/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; + } + } +}