blob: 9675b79ac92502cf792aa8b5bd4caf53cf7e2ba0 (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
module leafref-module {
namespace "leafref:module";
prefix "lfrfmodule";
import referenced-module { prefix refmod; revision-date 2014-04-17;}
revision 2014-04-17 {
}
container cont {
leaf lf1 {
type instance-identifier;
}
leaf lf2 {
type leafref {
path "../lf1";
}
}
leaf lf3 {
type leafref {
path "/refmod:cont/refmod:lf1";
}
}
leaf lf4 {
type leafref {
path "/cont/lf1";
}
}
leaf lf5 {
type leafref {
path "../lf1";
}
}
list lst-with-lfref-key {
key "lfref-key";
leaf lfref-key {
type leafref {
path "/refmod:cont/refmod:id-ref";
}
}
}
}
}
|