blob: 55c0bfbe62d40d14391171c2ada7fd4da1783ddc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
module yang-with-choice-node {
yang-version 1.1;
namespace "org:onap:cps:test:yang-with-choice-node";
prefix "yang-with-choice-node";
container container-with-choice-leaves {
leaf leaf-1 {
type string;
}
choice choicenode {
case case-1 {
leaf choice-case1-leaf-a {
type string;
}
leaf choice-case1-leaf-b {
type string;
}
}
case case-2 {
leaf choice-case2-leaf-a {
type string;
}
}
}
}
}
|