Code Review
/
yangtools.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Adjust test suite parser update to conform with API changes
[yangtools.git]
/
yang
/
yang-parser-impl
/
src
/
test
/
resources
/
bugs
/
bug5946
/
foo.yang
1
module foo {
2
namespace "foo";
3
prefix foo;
4
yang-version 1;
5
6
revision 2016-05-26 {
7
description "test";
8
}
9
10
list without-unique {
11
key "k";
12
leaf k {
13
type string;
14
}
15
}
16
17
list simple-unique {
18
key "k";
19
leaf k {
20
type string;
21
}
22
unique "l1 c/l3";
23
leaf l1 {
24
type string;
25
}
26
leaf l2 {
27
type string;
28
}
29
container c {
30
leaf l3 {
31
type string;
32
}
33
}
34
}
35
36
list multiple-unique {
37
key "k";
38
leaf k {
39
type string;
40
}
41
unique "l1 c/l3";
42
unique "c/l3 l2";
43
unique "l1 l2";
44
leaf l1 {
45
type string;
46
}
47
leaf l2 {
48
type string;
49
}
50
container c {
51
leaf l3 {
52
type string;
53
}
54
}
55
}
56
}