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

  prefix "refmodule";
  revision 2014-04-17 {
  }

    container cont {
        leaf lf1 {
            type instance-identifier;
        }

        leaf id-ref {
            type leafref {
                path "../../id";
            }
        }
    }

    leaf id {
        type string;
    }
}