summaryrefslogtreecommitdiffstats
path: root/cps-service/src/test/resources/test-tree.yang
diff options
context:
space:
mode:
Diffstat (limited to 'cps-service/src/test/resources/test-tree.yang')
-rw-r--r--cps-service/src/test/resources/test-tree.yang12
1 files changed, 12 insertions, 0 deletions
diff --git a/cps-service/src/test/resources/test-tree.yang b/cps-service/src/test/resources/test-tree.yang
index faba8a11d4..63100657ef 100644
--- a/cps-service/src/test/resources/test-tree.yang
+++ b/cps-service/src/test/resources/test-tree.yang
@@ -20,5 +20,17 @@ module test-tree {
}
}
}
+ list fruit {
+ key "name color";
+
+ leaf name {
+ type string;
+ }
+
+ leaf color {
+ type string;
+ }
+
+ }
}
}