summaryrefslogtreecommitdiffstats
path: root/tests/yanglint/modules/modconfig-augment.yang
diff options
context:
space:
mode:
Diffstat (limited to 'tests/yanglint/modules/modconfig-augment.yang')
-rw-r--r--tests/yanglint/modules/modconfig-augment.yang15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/yanglint/modules/modconfig-augment.yang b/tests/yanglint/modules/modconfig-augment.yang
new file mode 100644
index 0000000..d94b366
--- /dev/null
+++ b/tests/yanglint/modules/modconfig-augment.yang
@@ -0,0 +1,15 @@
+module modconfig-augment {
+ yang-version 1.1;
+ namespace "urn:yanglint:modconfig-augment";
+ prefix "mca";
+
+ import modconfig {
+ prefix mc;
+ }
+
+ augment "/mc:mcc" {
+ leaf alf {
+ type string;
+ }
+ }
+}