Gaurav Agrawal | e3ed0d9 | 2016-03-23 19:04:17 +0530 | [diff] [blame] | 1 | module Test { |
2 | yang-version 1; | ||||
3 | namespace http://huawei.com; | ||||
4 | prefix Ant; | ||||
Bharat saraswal | 6107111 | 2016-05-28 09:36:00 +0530 | [diff] [blame^] | 5 | container food { |
6 | choice snack { | ||||
7 | list sports-arena { | ||||
8 | key "pretzel"; | ||||
9 | leaf pretzel { | ||||
10 | type int32; | ||||
Gaurav Agrawal | bd80447 | 2016-03-25 11:25:36 +0530 | [diff] [blame] | 11 | } |
12 | } | ||||
13 | } | ||||
Gaurav Agrawal | e3ed0d9 | 2016-03-23 19:04:17 +0530 | [diff] [blame] | 14 | } |
Gaurav Agrawal | e3ed0d9 | 2016-03-23 19:04:17 +0530 | [diff] [blame] | 15 | } |
Bharat saraswal | 6107111 | 2016-05-28 09:36:00 +0530 | [diff] [blame^] | 16 |