blob: e8127eae03c33a292b01ee9d98606b4a4b7d528c [file] [log] [blame]
Vidyashree Rama7142d9c2016-04-26 15:06:06 +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 }
21 }
22}