diff options
Diffstat (limited to 'tests/yanglint/modules/modmust.yang')
-rw-r--r-- | tests/yanglint/modules/modmust.yang | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/yanglint/modules/modmust.yang b/tests/yanglint/modules/modmust.yang new file mode 100644 index 0000000..99971bd --- /dev/null +++ b/tests/yanglint/modules/modmust.yang @@ -0,0 +1,13 @@ +module modmust { + namespace "urn:yanglint:modmust"; + prefix m; + + import modleaf { + prefix ml; + } + + leaf lfm { + type string; + must "/ml:lfl > 0"; + } +} |