Bharat saraswal | d14cbe8 | 2016-07-14 13:26:18 +0530 | [diff] [blame] | 1 | module test { |
2 | namespace "test:test"; | ||||
3 | prefix test ; | ||||
4 | |||||
5 | |||||
6 | import test1{ | ||||
7 | prefix test1; | ||||
8 | } | ||||
9 | |||||
10 | import test2{ | ||||
11 | prefix test2; | ||||
12 | } | ||||
13 | |||||
14 | include acme-types; | ||||
15 | |||||
16 | organization ""; | ||||
17 | contact ""; | ||||
18 | |||||
19 | description | ||||
20 | "Defines basic service types for L3VPN service."; | ||||
21 | |||||
22 | revision "2015-12-16" { | ||||
23 | reference ""; | ||||
24 | } | ||||
25 | |||||
26 | container cont1 { | ||||
27 | container cont2 { | ||||
28 | leaf leaf { | ||||
29 | type int32; | ||||
30 | } | ||||
31 | } | ||||
32 | } | ||||
33 | |||||
34 | |||||
35 | augment /cont3 { | ||||
36 | leaf leaf1 { | ||||
37 | type int32; | ||||
38 | } | ||||
39 | } | ||||
40 | |||||
41 | augment /cont1/cont2 { | ||||
42 | leaf leaf2 { | ||||
43 | type int32; | ||||
44 | } | ||||
45 | } | ||||
46 | |||||
47 | augment /test1:cont1/test1:cont2 { | ||||
48 | leaf a { | ||||
49 | type int32; | ||||
50 | } | ||||
51 | } | ||||
52 | |||||
53 | augment /test1:cont1/test1:cont2/test1:cont1s/test1:cont1s { | ||||
54 | leaf a { | ||||
55 | type int32; | ||||
56 | } | ||||
57 | } | ||||
58 | |||||
59 | augment /test1:cont1/test1:cont2/test1:cont1s/test1:cont1s/test2:aa { | ||||
60 | leaf a { | ||||
61 | type int32; | ||||
62 | } | ||||
63 | container aa { | ||||
64 | } | ||||
65 | } | ||||
66 | |||||
67 | } | ||||
68 |