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;
133 container dto-a-inner {
138 container dto-a-inner-inner {
163 leaf simple-BigInteger {
180 leaf-list simple-list {
197 leaf-list simple-list {
201 list complex-dto-bInner {
202 leaf-list simple-list {
237 container testing-dep {
238 uses config:service-ref {
241 config:required-identity test:testing;
248 augment "/config:modules/config:module/config:state" {
250 when "/config:modules/config:module/config:type = 'impl-netconf'";
252 rpcx:rpc-context-instance "test-rpc";
255 leaf created-sessions {
270 list inner-running-data-additional {
271 config:inner-state-bean;
274 rpcx:rpc-context-instance "inner-test-rpc";
293 list inner-running-data {
294 config:inner-state-bean;
308 list inner-inner-running-data {
309 config:inner-state-bean;
311 rpcx:rpc-context-instance "inner-inner-test-rpc";
312 rpcx:rpc-context-instance "complex-output-rpc";
320 leaf-list list-of-strings {
324 list not-state-bean {
329 list not-state-bean-internal {
330 // This should be ignored
331 config:inner-state-bean;
350 identity inner-test-rpc;
351 identity inner-inner-test-rpc;
353 identity complex-output-rpc;
357 uses rpcx:rpc-context-ref {
358 refine context-instance {
359 rpcx:rpc-context-instance test-rpc;
374 rpc container-output {
376 uses rpcx:rpc-context-ref {
377 refine context-instance {
378 rpcx:rpc-context-instance complex-output-rpc;
384 container retValContainer {
396 rpc leaf-list-output {
398 uses rpcx:rpc-context-ref {
399 refine context-instance {
400 rpcx:rpc-context-instance complex-output-rpc;
414 uses rpcx:rpc-context-ref {
415 refine context-instance {
416 rpcx:rpc-context-instance complex-output-rpc;
436 uses rpcx:rpc-context-ref {
437 refine context-instance {
438 rpcx:rpc-context-instance inner-test-rpc;
444 rpc noArgInnerInner {
446 uses rpcx:rpc-context-ref {
447 refine context-instance {
448 rpcx:rpc-context-instance inner-inner-test-rpc;