summaryrefslogtreecommitdiffstats
path: root/cps-service/src/test/resources/test-tree.yang
diff options
context:
space:
mode:
authorToine Siebelink <toine.siebelink@est.tech>2021-01-29 11:18:03 +0000
committerGerrit Code Review <gerrit@onap.org>2021-01-29 11:18:03 +0000
commitf470af59fa9148f6e5c3031a61ec64ee501d4ecd (patch)
tree9559571c02c1f5aec4281c152f1ea2f69cd535b9 /cps-service/src/test/resources/test-tree.yang
parent4bcccd1a0b84f637c9383b31299ee9bd84f5f486 (diff)
parentc59254f9b7c604aa5f085e3f71971b6d67c70ba8 (diff)
Merge "Fix the datanode build logic (incorrect parsing of containers and mapped lists)"
Diffstat (limited to 'cps-service/src/test/resources/test-tree.yang')
-rw-r--r--cps-service/src/test/resources/test-tree.yang24
1 files changed, 24 insertions, 0 deletions
diff --git a/cps-service/src/test/resources/test-tree.yang b/cps-service/src/test/resources/test-tree.yang
new file mode 100644
index 0000000000..faba8a11d4
--- /dev/null
+++ b/cps-service/src/test/resources/test-tree.yang
@@ -0,0 +1,24 @@
+module test-tree {
+ yang-version 1.1;
+
+ namespace "org:onap:cps:test:test-tree";
+ prefix tree;
+ revision "2020-02-02";
+
+ container test-tree {
+ list branch {
+ key "name";
+ leaf name {
+ type string;
+ }
+ container nest {
+ leaf name {
+ type string;
+ }
+ leaf-list birds {
+ type string;
+ }
+ }
+ }
+ }
+}