Delete netconf
[controller.git] / opendaylight / md-sal / sal-rest-connector / src / test / resources / xml-to-cnsn / leafref / leafref-module
1 module leafref-module {
2   namespace "leafref:module";
3
4   prefix "lfrfmo";
5   revision 2013-11-18 {
6   }
7
8   identity base {}
9
10     container cont {
11         leaf lf1 {
12             type int32;
13         }
14         leaf lf2 {
15             type leafref {
16                 path "/cont/lf1";
17             }
18         }
19
20         leaf lf-ident {
21             type identityref {
22                 base "lfrfmo:base";
23             }
24         }
25
26         leaf lf-ident-ref {
27             type leafref {
28                 path "/cont/lf-ident";
29             }
30         }
31
32         leaf lf-ident-ref-relative {
33             type leafref {
34                 path "../lf-ident";
35             }
36         }
37
38         leaf lf-ident-ref-relative-cnd {
39             type leafref {
40                 path "/lfrfmo:cont/lfrfmo:lis[lfrfmo:id='abc']/lf-ident-ref";
41             }
42         }
43
44
45         list lis {
46             key "id";
47
48             leaf id {
49                 type string;
50             }
51
52             leaf lf-ident-ref {
53                 type leafref {
54                     path "/cont/lf-ident";
55                 }
56             }
57         }
58
59     }
60
61 }