blob: 72b597b29f4e195dc2f879d12c8c39ba9ea09411 [file] [log] [blame]
Mahesh Poojary Sbbd48492016-07-19 10:58:07 +05301module Test {
2 yang-version 1;
3 namespace http://huawei.com;
4 prefix Ant;
5 container food {
6 choice snack {
7 case sports-arena {
8 leaf pretzel {
9 type string;
10 }
11 leaf beer {
12 type string;
13 }
14 }
15 case late-night {
16 leaf chocolate {
17 type string;
18 }
19 }
20 default "sports-arena";
21 }
22 }
23}