X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fconfig%2Fyang-jmx-generator%2Fsrc%2Ftest%2Fresources%2Fconfig-jmx-it-impl.yang;h=0cd0d15ad242044a1cd131e12d83f17aedf4466a;hb=3f25afcf0f3faa4d372329faf1a3c90c6711edbd;hp=97078e033a9d7df46a4d28c2e129b20ccf98ef13;hpb=9fb64948564e252018f9b1e13e7cea2c92f991aa;p=controller.git 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 97078e033a..0cd0d15ad2 100644 --- 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; } - - description "Testing IMPL"; @@ -51,7 +49,7 @@ module config-jmx-it-impl { } - leaf simpleInt { + leaf simpleInt1 { 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'"; @@ -101,7 +87,7 @@ module config-jmx-it-impl { } } - leaf simpleInt { + leaf simpleInt2 { type uint32; } @@ -205,13 +191,26 @@ 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; + } + } + 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; } } } + }