janani b | 6aceca3 | 2017-08-16 14:26:16 +0530 | [diff] [blame] | 1 | module module1 { |
2 | yang-version 1; | ||||
3 | |||||
4 | namespace | ||||
5 | "http://org/ns/module1"; | ||||
6 | |||||
7 | prefix m1; | ||||
8 | |||||
9 | import module3 { | ||||
10 | prefix m3; | ||||
11 | } | ||||
12 | |||||
13 | notification not1 { | ||||
14 | uses m3:group { | ||||
15 | augment "m1:cont2/m1:cont3/m1:cont4/cont5/cont6" { | ||||
16 | list listl1 { | ||||
17 | key "l2"; | ||||
18 | leaf l2 { | ||||
19 | type string; | ||||
20 | } | ||||
21 | } | ||||
22 | } | ||||
23 | } | ||||
24 | |||||
25 | leaf-list ref { | ||||
26 | type enumeration { | ||||
27 | enum ten; | ||||
28 | enum thousand; | ||||
29 | } | ||||
30 | } | ||||
31 | } | ||||
32 | } |