blob: 63100657efbe3e120e799b5549b4bd1ec525e006 [file] [log] [blame]
Ruslan Kashapovc59254f2021-01-28 12:15:23 +02001module 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 }
ToineSiebelinkf0527c52021-07-06 13:03:03 +010023 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 Kashapovc59254f2021-01-28 12:15:23 +020035 }
36}