b54027e0bc9ee7de4a655bfcb74c26824f6594ab
[netconf.git] / restconf / restconf-nb-bierman02 / src / test / resources / nn-to-json / leafref / cont-augment-module.yang
1 module cont-augment-module {
2   namespace "cont:augment:module";
3
4   prefix "cntaugmod";
5
6   import main-module {prefix mamo; revision-date 2013-12-02;}
7
8   revision 2013-12-02 {
9
10   }
11
12   augment "/mamo:cont" {
13         leaf-list lflst1 {
14                 type leafref {
15                         path "../mamo:lf1";
16                 }
17         }
18
19         leaf lf4 {
20                 type leafref {
21                         path "../mamo:lf1";
22                 }
23         }
24
25         /* reference to not leaf element */
26         leaf lf6 {
27                 type leafref {
28                         path "../lflst1";
29                 }
30         }
31
32         leaf lf7 {
33                 type leafref {
34                         path "../lf4";
35                 }
36         }
37   }
38   
39 }