blob: b9fd60df02936f7995ba90c757cd5a4dea29d736 [file] [log] [blame]
Mahesh Poojary S6986df32016-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 "hello";
21 }
22 }
23}