summaryrefslogtreecommitdiffstats
path: root/netconf/restconf/restconf-nb-bierman02/src/test/resources/json-to-nn/leafref/leafref-module.yang
blob: 9b124a0fe6594e29c987d90773ef041fcfbe7f08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
module leafref-module {
  namespace "leafref:module";  

  prefix "lfrfmo";
  
  import augment-leafref-module {prefix augleafref; revision-date 2014-12-16;}
  revision 2013-11-18 {    
  }

    container cont {
        leaf lf1 {
            type int32;
        }
        leaf lf2 {
            type leafref {
                path "/cont/lf1"; 
            }
        }
        leaf lf4 {
            type augleafref:leafreftype;
        }
    }
  
}