blob: a7b6b502059c000e16e564f1451a65f6cc330a26 [file] [log] [blame]
Gaurav Agrawale3ed0d92016-03-23 19:04:17 +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 empty;
10 }
11 leaf beer {
12 type empty;
13 }
14 }
15 case sports-arena {
16 leaf chocolate {
17 type enumeration {
18 enum dark;
19 enum milk;
20 enum first-available;
21 }
22 }
23 }
24 }
25 }
26}