blob: 0c43edd5a281798a3356fb625a8ef5b013a18c15 [file] [log] [blame]
Vidyashree Ramaf42405d2017-02-09 19:38:10 +05301module check {
2 yang-version 1;
3 namespace "modelObjectTest";
4 prefix nd;
5 container cont50 {
6 leaf leaf51 {
7 type int32;
8 }
9 }
10 list list52 {
11 key leaf52;
12 leaf leaf52 {
13 type int32;
14 }
15 }
16
17 container cont53 {
18 leaf-list leaf54 {
19 type string;
20 }
21 leaf leaf55 {
22 type string;
23 }
24 }
25
26 list list56 {
27 config false;
28 leaf-list leaf57 {
29 type string;
30 }
31 leaf leaf58 {
32 type string;
33 }
34 }
Bharat saraswal49120772017-03-10 17:06:10 +053035
36 augment /list56 {
37 container cont56 {
38 leaf cl56 {
39 type int32;
40 }
41 }
42 }
43
44 augment /list56/cont56 {
45 container cont57 {
46 leaf cl57 {
47 type int32;
48 }
49 uses group1;
50 }
51 }
52
53 grouping group1 {
54 container cont58 {
55 leaf cl58 {
56 type int32;
57 }
58 }
59 list list57 {
60 key "gl57";
61 leaf gl57 {
62 type string;
63 }
64 }
65 }
Vidyashree Ramaf42405d2017-02-09 19:38:10 +053066}