sourabh_sourabh | 17aab00 | 2023-08-15 12:15:33 +0100 | [diff] [blame^] | 1 | module test-tree { |
2 | yang-version 1.1; | ||||
3 | |||||
4 | namespace "org:onap:cps:test:test-tree"; | ||||
5 | prefix tree; | ||||
6 | |||||
7 | revision "2023-08-17" { | ||||
8 | description | ||||
9 | "added list of birds to nest"; | ||||
10 | } | ||||
11 | |||||
12 | revision "2020-09-15" { | ||||
13 | description | ||||
14 | "Sample Model"; | ||||
15 | } | ||||
16 | |||||
17 | container test-tree { | ||||
18 | list branch { | ||||
19 | key "name"; | ||||
20 | leaf name { | ||||
21 | type string; | ||||
22 | } | ||||
23 | container nest { | ||||
24 | leaf name { | ||||
25 | type string; | ||||
26 | } | ||||
27 | leaf-list birds { | ||||
28 | type string; | ||||
29 | } | ||||
30 | } | ||||
31 | } | ||||
32 | } | ||||
33 | } |