Support text() condition
[cps.git] / cps-service / src / test / resources / test-tree.yang
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         }
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         }
35     }
36 }