summaryrefslogtreecommitdiffstats
path: root/tests/yanglint/modules/modconfig.yang
diff options
context:
space:
mode:
Diffstat (limited to 'tests/yanglint/modules/modconfig.yang')
-rw-r--r--tests/yanglint/modules/modconfig.yang17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/yanglint/modules/modconfig.yang b/tests/yanglint/modules/modconfig.yang
new file mode 100644
index 0000000..1d12ca6
--- /dev/null
+++ b/tests/yanglint/modules/modconfig.yang
@@ -0,0 +1,17 @@
+module modconfig {
+ namespace "urn:yanglint:modconfig";
+ prefix mc;
+
+ container mcc {
+ leaf lft {
+ type string;
+ config true;
+ mandatory true;
+ }
+ leaf lff {
+ type string;
+ config false;
+ mandatory true;
+ }
+ }
+}