diff options
author | Toine Siebelink <toine.siebelink@est.tech> | 2021-01-29 11:18:03 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-01-29 11:18:03 +0000 |
commit | f470af59fa9148f6e5c3031a61ec64ee501d4ecd (patch) | |
tree | 9559571c02c1f5aec4281c152f1ea2f69cd535b9 /cps-service/src/test/resources/test-tree.yang | |
parent | 4bcccd1a0b84f637c9383b31299ee9bd84f5f486 (diff) | |
parent | c59254f9b7c604aa5f085e3f71971b6d67c70ba8 (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.yang | 24 |
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; + } + } + } + } +} |