Ruslan Kashapov | c59254f | 2021-01-28 12:15:23 +0200 | [diff] [blame] | 1 | module test-tree { |
2 | yang-version 1.1; | ||||
3 | |||||
4 | namespace "org:onap:cps:test:test-tree"; | ||||
5 | prefix tree; | ||||
6 | revision "2020-02-02"; | ||||
7 | |||||
8 | container test-tree { | ||||
9 | list branch { | ||||
10 | key "name"; | ||||
11 | leaf name { | ||||
12 | type string; | ||||
13 | } | ||||
14 | container nest { | ||||
15 | leaf name { | ||||
16 | type string; | ||||
17 | } | ||||
18 | leaf-list birds { | ||||
19 | type string; | ||||
20 | } | ||||
21 | } | ||||
22 | } | ||||
ToineSiebelink | f0527c5 | 2021-07-06 13:03:03 +0100 | [diff] [blame] | 23 | list fruit { |
24 | key "name color"; | ||||
25 | |||||
26 | leaf name { | ||||
27 | type string; | ||||
28 | } | ||||
29 | |||||
30 | leaf color { | ||||
31 | type string; | ||||
32 | } | ||||
33 | |||||
34 | } | ||||
Ruslan Kashapov | c59254f | 2021-01-28 12:15:23 +0200 | [diff] [blame] | 35 | } |
36 | } |