Vidyashree Rama | 7142d9c | 2016-04-26 15:06:06 +0530 | [diff] [blame] | 1 | module 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 | } |