From c59254f9b7c604aa5f085e3f71971b6d67c70ba8 Mon Sep 17 00:00:00 2001 From: Ruslan Kashapov Date: Thu, 28 Jan 2021 12:15:23 +0200 Subject: Fix the datanode build logic (incorrect parsing of containers and mapped lists) Issue-ID: CPS-198 Change-Id: Ideb89f777a1bc155603152991174680fad8bb513 Signed-off-by: Ruslan Kashapov --- cps-service/src/test/resources/test-tree.yang | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 cps-service/src/test/resources/test-tree.yang (limited to 'cps-service/src/test/resources/test-tree.yang') 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; + } + } + } + } +} -- cgit 1.2.3-korg