Delete netconf
[controller.git] / opendaylight / md-sal / sal-rest-connector / src / test / resources / nn-to-json / leafref / main-module.yang
1 module main-module {
2     namespace "main:module";
3
4     prefix "mainmod";
5     revision 2013-12-2 {
6     }
7
8     container cont {
9         leaf lf1 {
10            /*
11             *FIX ME
12             * If is this leaf lf1 called from cont-augment-module.yang 
13             * from lf4, type that will be returned to the lf1 is string.
14             * Than there are failing tests because of we have string, 
15             * do not number(uint32) 
16             */
17 //            type uint32;
18             type string;
19         }
20
21         container cont1 {
22             leaf lf11 {
23                 /*
24                  * FIX ME TOO WITH BAD PARSING
25                  */
26 //              type boolean;
27                 type string;
28             }
29         }
30
31         leaf lf2 {
32             type leafref {
33                 path "../lf1";
34             }
35         }
36
37         leaf lf3 {
38             type leafref {
39                 path "/cont/cont1/lf11";
40             }
41         }
42
43         /* reference to nonexisting leaf */
44         leaf lf5 {
45             type leafref {
46                 path "/cont/lf";
47             }
48         }
49     }
50 }