Delete netconf
[controller.git] / opendaylight / md-sal / sal-rest-connector / src / test / resources / modules / nested-module.yang
1 module nested-module {
2     namespace "urn:nested:module";
3     prefix "nested";
4     revision "2014-06-3";
5
6     container depth1-cont {
7         list depth2-cont1 {
8             container depth3-cont1 {
9                 container depth4-cont1 {
10                     leaf depth5-leaf1 {
11                         type string;
12                     }
13                 }
14
15                 leaf depth4-leaf1 {
16                     type string;
17                 }
18             }
19
20             leaf depth3-leaf1 {
21                 type string;
22             }
23         }
24
25         /* list depth2-list2 was added to test keyed list */
26         list depth2-list2 {
27             key "depth3-lf1-key depth3-lf2-key";
28             leaf depth3-lf1-key {
29                 type string;
30             }
31             leaf depth3-lf2-key {
32                 type string;
33             }
34             leaf depth3-lf3 {
35                 type string;
36             }
37         }
38
39         leaf-list depth2-lfLst1 {
40             type string;
41         }
42
43         container depth2-cont2 {
44             container depth3-cont2 {
45                 container depth4-cont2 {
46                     leaf depth5-leaf2 {
47                         type string;
48                     }
49                 }
50
51                 leaf depth4-leaf2 {
52                     type string;
53                 }
54             }
55
56             leaf depth3-leaf2 {
57                 type string;
58             }
59         }
60
61         leaf depth2-leaf1 {
62             type string;
63         }
64     }
65 }