Code Review
/
yangtools.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Populate data/ hierarchy
[yangtools.git]
/
model
/
yang-model-export
/
src
/
test
/
resources
/
bugs
/
bug2444
/
yang
/
unique.yang
1
module unique {
2
namespace unique;
3
prefix u;
4
5
list l {
6
key id;
7
leaf id {
8
type string;
9
}
10
ordered-by user;
11
unique "c1/c2/my-leaf-2";
12
unique "my-container/my-leaf-3";
13
leaf my-leaf-1 {
14
type string;
15
}
16
container c1 {
17
container c2 {
18
leaf my-leaf-2 {
19
type string;
20
}
21
}
22
}
23
container my-container {
24
leaf my-leaf-3 {
25
type string;
26
}
27
}
28
}
29
}