1 module config-test-impl {
3 namespace "urn:opendaylight:params:xml:ns:yang:controller:test:impl";
6 import config-test { prefix test; revision-date 2013-06-13;}
7 import config { prefix config; revision-date 2013-04-05; }
8 import ietf-inet-types { prefix inet; revision-date 2010-09-24;}
9 import rpc-context { prefix rpcx; revision-date 2013-06-17; }
10 import test-types { prefix tt; revision-date 2013-11-27; }
15 revision "2013-04-03" {
21 base config:module-type;
22 config:provided-service test:testing;
23 config:java-name-prefix TestImpl;
27 base config:module-type;
28 config:provided-service test:testing;
29 config:java-name-prefix DepTestImpl;
32 identity impl-netconf {
33 base config:module-type;
34 config:provided-service test:testing;
35 config:java-name-prefix NetconfTestImpl;
39 augment "/config:modules/config:module/config:configuration" {
41 when "/config:modules/config:module/config:type = 'impl'";
43 leaf-list allow-user {
45 description "A list of user name patterns to allow";
54 type inet:port-number;
83 augment "/config:modules/config:module/config:state" {
85 when "/config:modules/config:module/config:type = 'impl'";
87 leaf created-sessions {
93 augment "/config:modules/config:module/config:configuration" {
95 when "/config:modules/config:module/config:type = 'impl-dep'";
99 augment "/config:modules/config:module/config:configuration" {
101 when "/config:modules/config:module/config:type = 'impl-netconf'";
114 leaf extended-twice {
115 type tt:extend-twice;
127 container dto-a-inner {
132 container dto-a-inner-inner {
157 leaf simple-BigInteger {
174 leaf-list simple-list {
191 leaf-list simple-list {
195 list complex-dto-bInner {
196 leaf-list simple-list {
231 container testing-dep {
232 uses config:service-ref {
235 config:required-identity test:testing;
242 augment "/config:modules/config:module/config:state" {
244 when "/config:modules/config:module/config:type = 'impl-netconf'";
246 rpcx:rpc-context-instance "test-rpc";
249 leaf created-sessions {
264 list inner-running-data-additional {
265 config:inner-state-bean;
268 rpcx:rpc-context-instance "inner-test-rpc";
287 list inner-running-data {
288 config:inner-state-bean;
302 list inner-inner-running-data {
303 config:inner-state-bean;
305 rpcx:rpc-context-instance "inner-inner-test-rpc";
306 rpcx:rpc-context-instance "complex-output-rpc";
314 leaf-list list-of-strings {
318 list not-state-bean {
323 list not-state-bean-internal {
324 // This should be ignored
325 config:inner-state-bean;
344 identity inner-test-rpc;
345 identity inner-inner-test-rpc;
347 identity complex-output-rpc;
351 uses rpcx:rpc-context-ref {
352 refine context-instance {
353 rpcx:rpc-context-instance test-rpc;
368 rpc container-output {
370 uses rpcx:rpc-context-ref {
371 refine context-instance {
372 rpcx:rpc-context-instance complex-output-rpc;
378 container retValContainer {
390 rpc leaf-list-output {
392 uses rpcx:rpc-context-ref {
393 refine context-instance {
394 rpcx:rpc-context-instance complex-output-rpc;
408 uses rpcx:rpc-context-ref {
409 refine context-instance {
410 rpcx:rpc-context-instance complex-output-rpc;
430 uses rpcx:rpc-context-ref {
431 refine context-instance {
432 rpcx:rpc-context-instance inner-test-rpc;
438 rpc noArgInnerInner {
440 uses rpcx:rpc-context-ref {
441 refine context-instance {
442 rpcx:rpc-context-instance inner-inner-test-rpc;