Lena Peuker | e7f24d3 | 2022-11-29 15:38:00 +0100 | [diff] [blame] | 1 | module 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 | } |