diff options
author | Ruslan Kashapov <ruslan.kashapov@pantheon.tech> | 2021-01-28 12:15:23 +0200 |
---|---|---|
committer | Ruslan Kashapov <ruslan.kashapov@pantheon.tech> | 2021-01-28 16:28:56 +0200 |
commit | c59254f9b7c604aa5f085e3f71971b6d67c70ba8 (patch) | |
tree | 2335ee7a3e701f5755fd10e3e091ad8d4cd04c41 /cps-service/src/test/resources/test-tree.yang | |
parent | b4164f104d61bcaff8d84d65b8a9fffcd3280dce (diff) |
Fix the datanode build logic (incorrect parsing of containers and mapped lists)
Issue-ID: CPS-198
Change-Id: Ideb89f777a1bc155603152991174680fad8bb513
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
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; + } + } + } + } +} |