Bharat saraswal | d14cbe8 | 2016-07-14 13:26:18 +0530 | [diff] [blame^] | 1 | module test1 { |
2 | namespace "xpath:inter:single"; | ||||
3 | prefix test1 ; | ||||
4 | |||||
5 | import test2{ | ||||
6 | prefix test2; | ||||
7 | } | ||||
8 | |||||
9 | organization ""; | ||||
10 | contact ""; | ||||
11 | |||||
12 | description | ||||
13 | "Defines basic service types for L3VPN service."; | ||||
14 | |||||
15 | revision "2015-12-16" { | ||||
16 | reference ""; | ||||
17 | } | ||||
18 | |||||
19 | |||||
20 | container cont1 { | ||||
21 | leaf leaf1 { | ||||
22 | type int32; | ||||
23 | } | ||||
24 | } | ||||
25 | |||||
26 | augment /cont1 { | ||||
27 | container cont2 { | ||||
28 | leaf leaf1 { | ||||
29 | type int32; | ||||
30 | } | ||||
31 | container cont2 { | ||||
32 | leaf leaf1 { | ||||
33 | type int32; | ||||
34 | } | ||||
35 | } | ||||
36 | } | ||||
37 | } | ||||
38 | |||||
39 | augment /test2:cont1/test2:cont2 { | ||||
40 | leaf a { | ||||
41 | type int32; | ||||
42 | } | ||||
43 | |||||
44 | container cont2 { | ||||
45 | leaf leaf1 { | ||||
46 | type int32; | ||||
47 | } | ||||
48 | } | ||||
49 | } | ||||
50 | } | ||||
51 |