blob: b9fd60df02936f7995ba90c757cd5a4dea29d736 [file] [log] [blame]
Vidyashree Rama1db15562016-05-17 16:16:15 +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}