Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "BUG 720 - YANG leaf as JSON input *<*:* couldn't be saved"
[controller.git]
/
opendaylight
/
config
/
yang-jmx-generator
/
src
/
test
/
resources
/
config-jmx-it-impl.yang
diff --git
a/opendaylight/config/yang-jmx-generator/src/test/resources/config-jmx-it-impl.yang
b/opendaylight/config/yang-jmx-generator/src/test/resources/config-jmx-it-impl.yang
index 97078e033a9d7df46a4d28c2e129b20ccf98ef13..0cd0d15ad242044a1cd131e12d83f17aedf4466a 100644
(file)
--- a/
opendaylight/config/yang-jmx-generator/src/test/resources/config-jmx-it-impl.yang
+++ b/
opendaylight/config/yang-jmx-generator/src/test/resources/config-jmx-it-impl.yang
@@
-8,8
+8,6
@@
module config-jmx-it-impl {
import ietf-inet-types { prefix inet; revision-date 2010-09-24;}
import config-threads { prefix th; revision-date 2013-04-09; }
import ietf-inet-types { prefix inet; revision-date 2010-09-24;}
import config-threads { prefix th; revision-date 2013-04-09; }
-
-
description
"Testing IMPL";
description
"Testing IMPL";
@@
-51,7
+49,7
@@
module config-jmx-it-impl {
}
}
- leaf simpleInt {
+ leaf simpleInt
1
{
type uint32;
default 99L;
}
type uint32;
default 99L;
}
@@
-67,19
+65,7
@@
module config-jmx-it-impl {
}
}
}
}
- }
-
- augment "/config:modules/config:module/config:state" {
- case impl {
- when "/config:modules/config:module/config:type = 'impl'";
- // root runtime bean
- leaf created-sessions {
- type uint32;
- }
- }
- }
- augment "/config:modules/config:module/config:configuration" {
case impl-netconf {
when "/config:modules/config:module/config:type = 'impl-netconf'";
case impl-netconf {
when "/config:modules/config:module/config:type = 'impl-netconf'";
@@
-101,7
+87,7
@@
module config-jmx-it-impl {
}
}
}
}
- leaf simpleInt {
+ leaf simpleInt
2
{
type uint32;
}
type uint32;
}
@@
-205,13
+191,26
@@
module config-jmx-it-impl {
}
augment "/config:modules/config:module/config:state" {
}
augment "/config:modules/config:module/config:state" {
+ case impl {
+ when "/config:modules/config:module/config:type = 'impl'";
+ // root runtime bean
+ leaf created-sessions {
+ type uint32;
+ }
+ }
+
case impl-netconf {
when "/config:modules/config:module/config:type = 'impl-netconf'";
// root runtime bean
case impl-netconf {
when "/config:modules/config:module/config:type = 'impl-netconf'";
// root runtime bean
- leaf created-sessions {
+ leaf created-sessions-1 {
+ type uint32;
+ }
+
+ leaf created-sessions-2 {
type uint32;
}
}
}
type uint32;
}
}
}
+
}
}