Bharat saraswal | d14cbe8 | 2016-07-14 13:26:18 +0530 | [diff] [blame] | 1 | module test { |
2 | namespace "xpath:intra:single"; | ||||
3 | prefix test ; | ||||
4 | |||||
5 | organization ""; | ||||
6 | contact ""; | ||||
7 | |||||
8 | description | ||||
9 | "Defines basic service types for L3VPN service."; | ||||
10 | |||||
11 | revision "2015-12-16" { | ||||
12 | reference ""; | ||||
13 | } | ||||
14 | |||||
15 | grouping group1 { | ||||
16 | container cont1 { | ||||
17 | leaf leaf1 { | ||||
18 | type int32; | ||||
19 | } | ||||
20 | } | ||||
21 | } | ||||
22 | |||||
23 | container cont2 { | ||||
24 | uses group1; | ||||
25 | } | ||||
26 | |||||
Bharat saraswal | af413b8 | 2016-07-14 15:18:20 +0530 | [diff] [blame^] | 27 | augment /cont2/cont1 { |
Bharat saraswal | d14cbe8 | 2016-07-14 13:26:18 +0530 | [diff] [blame] | 28 | leaf a { |
29 | type int32; | ||||
30 | } | ||||
31 | } | ||||
32 | } | ||||
33 |