Code Review
/
yangtools.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Bug 8307: Add the option for activating deviation statements
[yangtools.git]
/
yang
/
yang-parser-impl
/
src
/
test
/
resources
/
bugs
/
bug4933
/
incorrect
/
foo.yang
1
module foo {
2
yang-version 1;
3
namespace "foo";
4
prefix foo;
5
6
import bar {
7
prefix bar;
8
}
9
10
deviation /bar:my-container/bar:my-leaf-list {
11
deviate add {
12
min-elements 1;
13
}
14
}
15
16
deviation /bar:my-container/bar:my-leaf-list {
17
deviate replace {
18
max-elements 10;
19
}
20
}
21
22
deviation /bar:my-container/bar:my-leaf-list {
23
deviate delete {
24
must "0 != 1";
25
}
26
}
27
28
deviation /bar:my-container2 {
29
deviate not_supported;
30
}
31
}