Code Review
/
mdsal.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
fdfa25ced7bbeb6042a9145fb202f76380fa0d2c
[mdsal.git]
/
code-generator
/
binding-type-provider
/
src
/
test
/
resources
/
leafref
/
leafref-valid.yang
1
module leafref-valid {
2
namespace "urn:xml:ns:yang:lrv";
3
prefix lrv;
4
revision "2015-02-25";
5
6
list neighbor {
7
description
8
"List of neighbors.";
9
leaf neighbor-id {
10
type leafref {
11
path "../../neighbor/mystring";
12
}
13
description "Neighbor.";
14
}
15
16
leaf neighbor2-id {
17
type leafref {
18
path "/lrv:neighbor/lrv:mystring";
19
}
20
}
21
22
leaf mystring {
23
type string;
24
}
25
}
26
}