blob: 55c0bfbe62d40d14391171c2ada7fd4da1783ddc [file] [log] [blame]
Lena Peukere7f24d32022-11-29 15:38:00 +01001module yang-with-choice-node {
2 yang-version 1.1;
3 namespace "org:onap:cps:test:yang-with-choice-node";
4 prefix "yang-with-choice-node";
5
6 container container-with-choice-leaves {
7 leaf leaf-1 {
8 type string;
9 }
10
11 choice choicenode {
12 case case-1 {
13 leaf choice-case1-leaf-a {
14 type string;
15 }
16 leaf choice-case1-leaf-b {
17 type string;
18 }
19 }
20 case case-2 {
21 leaf choice-case2-leaf-a {
22 type string;
23 }
24 }
25 }
26 }
27}