blob: e23f04c96cd962955573820ab4a205ead3cc67c2 [file] [log] [blame]
Gaurav Agrawale3ed0d92016-03-23 19:04:17 +05301module Test {
2 yang-version 1;
3 namespace http://huawei.com;
4 prefix Ant;
Gaurav Agrawalbd804472016-03-25 11:25:36 +05305 container food {
6 choice snack {
7 case sports-arena {
8 leaf pretzel {
9 type empty;
10 }
11 }
12 case late-night {
13 choice lunch {
14 case late {
15 leaf pretzel {
16 type empty;
17 }
18 }
19 }
20 }
21 }
Gaurav Agrawale3ed0d92016-03-23 19:04:17 +053022 }
Gaurav Agrawale3ed0d92016-03-23 19:04:17 +053023}