Gaurav Agrawal | be2b331 | 2016-08-17 18:58:17 +0530 | [diff] [blame] | 1 | module Testmodule { |
2 | yang-version 1; | ||||
3 | namespace http://huawei.com; | ||||
4 | prefix Ant; | ||||
5 | container testcontainer { | ||||
6 | leaf testleaf { | ||||
7 | type "uint16"; | ||||
8 | } | ||||
9 | choice snack { | ||||
10 | case sports-arena { | ||||
11 | leaf pretzel { | ||||
12 | type empty; | ||||
13 | } | ||||
14 | } | ||||
15 | } | ||||
16 | } | ||||
Gaurav Agrawal | 61edaa0 | 2016-08-31 16:52:56 +0530 | [diff] [blame^] | 17 | notification testnotification1 { |
18 | leaf type { | ||||
19 | type string; | ||||
20 | } | ||||
21 | leaf severity { | ||||
22 | type string; | ||||
23 | } | ||||
24 | } | ||||
Gaurav Agrawal | be2b331 | 2016-08-17 18:58:17 +0530 | [diff] [blame] | 25 | } |