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
/
deviation-target.yang
1
module deviation-target {
2
namespace deviation-target;
3
prefix tgt;
4
yang-version 1.1;
5
6
revision 2017-01-20;
7
8
leaf-list my-leaf-list {
9
type int32;
10
default 50;
11
}
12
13
list my-list {
14
key key-leaf;
15
16
leaf key-leaf {
17
type string;
18
}
19
20
leaf my-leaf-a {
21
type string;
22
}
23
24
leaf my-leaf-b {
25
type string;
26
}
27
28
leaf my-leaf-c {
29
type string;
30
}
31
32
leaf my-leaf-d {
33
type string;
34
}
35
}
36
37
choice my-choice {
38
case c1 {
39
leaf c1-leaf {
40
type string;
41
default "heaven";
42
}
43
}
44
45
case c2 {
46
leaf c2-leaf {
47
type string;
48
default "hell";
49
}
50
}
51
container shortcase {
52
}
53
}
54
55
rpc my-rpc {
56
input {
57
leaf my-rpc-input-leaf {
58
type string;
59
}
60
}
61
62
output {
63
leaf my-rpc-output-leaf {
64
type string;
65
}
66
}
67
}
68
69
notification my-notification {
70
71
}
72
73
anyxml my-anyxml {
74
75
}
76
}