Code Review
/
yangtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Bug 8307: Add the option for activating deviation statements
[yangtools.git]
/
yang
/
yang-parser-impl
/
src
/
test
/
resources
/
deviation-resolution-test
/
deviation-not-supported
/
root.yang
diff --git
a/yang/yang-parser-impl/src/test/resources/deviation-resolution-test/deviation-not-supported/root.yang
b/yang/yang-parser-impl/src/test/resources/deviation-resolution-test/deviation-not-supported/root.yang
index 6e448640a0971b8b9e8b791070659b3c0152d7ac..6a19cbc59654c40938b073854496d16946c75cc7 100644
(file)
--- a/
yang/yang-parser-impl/src/test/resources/deviation-resolution-test/deviation-not-supported/root.yang
+++ b/
yang/yang-parser-impl/src/test/resources/deviation-resolution-test/deviation-not-supported/root.yang
@@
-9,47
+9,19
@@
module root {
revision 2017-01-20;
revision 2017-01-20;
- deviation "/
my-cont-a/
my-leaf-a1" {
+ deviation "/
imp:my-cont-a/imp:
my-leaf-a1" {
deviate not-supported;
}
deviate not-supported;
}
- deviation "/
my-cont-a/
my-leaf-a2" {
+ deviation "/
imp:my-cont-a/imp:
my-leaf-a2" {
deviate not-supported;
}
deviate not-supported;
}
- deviation "/my-cont-b" {
+ deviation "/
imp:
my-cont-b" {
deviate not-supported;
}
deviation "/imp:my-cont-c/imp:my-leaf-c3" {
deviate not-supported;
}
deviate not-supported;
}
deviation "/imp:my-cont-c/imp:my-leaf-c3" {
deviate not-supported;
}
-
- container my-cont-a {
- leaf my-leaf-a1 {
- type int8;
- }
-
- leaf my-leaf-a2 {
- type int16;
- }
-
- leaf my-leaf-a3 {
- type int32;
- }
- }
-
- container my-cont-b {
- leaf my-leaf-b1 {
- type int8;
- }
-
- leaf my-leaf-b2 {
- type int16;
- }
-
- leaf my-leaf-b3 {
- type int32;
- }
- }
}
\ No newline at end of file
}
\ No newline at end of file