Code Review
/
yangtools.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Add YangError.getErrorTag()
[yangtools.git]
/
yang
/
yang-data-impl
/
src
/
test
/
resources
/
yt776.yang
1
module yt776 {
2
namespace yt776;
3
prefix yt776;
4
5
container box {
6
list object {
7
key object-id;
8
9
leaf object-id {
10
type string;
11
}
12
13
leaf-list attributes {
14
type string;
15
min-elements 1;
16
max-elements 2;
17
}
18
19
list nested {
20
key nested-attribute;
21
max-elements 1;
22
23
leaf nested-attribute {
24
type string;
25
}
26
}
27
}
28
29
choice any-of {
30
leaf some-leaf {
31
type string;
32
}
33
list some-list {
34
key some-leaf;
35
min-elements 1;
36
37
leaf some-leaf {
38
type string;
39
}
40
}
41
}
42
}
43
}
44