Gaurav Agrawal | f576642 | 2016-03-23 19:04:17 +0530 | [diff] [blame] | 1 | module Test { |
2 | yang-version 1; | ||||
3 | namespace http://huawei.com; | ||||
4 | prefix Ant; | ||||
Gaurav Agrawal | f6ccc97 | 2016-03-25 11:25:36 +0530 | [diff] [blame] | 5 | 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 Agrawal | f576642 | 2016-03-23 19:04:17 +0530 | [diff] [blame] | 22 | } |
Gaurav Agrawal | f576642 | 2016-03-23 19:04:17 +0530 | [diff] [blame] | 23 | } |