X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fconfig%2Fyang-jmx-generator%2Fsrc%2Ftest%2Fresources%2Ftest-config-threads-java.yang;h=4af5b9569a445dfba4d601d18c7f76bf0f64ba0a;hb=ac65af650d550ae56dd02b660e1c5eef24b78740;hp=2972cec04fc7eefe607fd94e0441a92656ca93b1;hpb=9fb64948564e252018f9b1e13e7cea2c92f991aa;p=controller.git diff --git a/opendaylight/config/yang-jmx-generator/src/test/resources/test-config-threads-java.yang b/opendaylight/config/yang-jmx-generator/src/test/resources/test-config-threads-java.yang index 2972cec04f..4af5b9569a 100644 --- a/opendaylight/config/yang-jmx-generator/src/test/resources/test-config-threads-java.yang +++ b/opendaylight/config/yang-jmx-generator/src/test/resources/test-config-threads-java.yang @@ -241,4 +241,25 @@ module config-threads-java { } } } + + identity threadpool-registry-impl { + base config:module-type; + config:java-name-prefix ThreadPoolRegistryImpl; + } + + augment "/config:modules/config:module/config:configuration" { + case threadpool-registry-impl { + when "/config:modules/config:module/config:type = 'threadpool-registry-impl'"; + + // list of dependencies: + list threadpools { + uses config:service-ref { + refine type { + mandatory true; + config:required-identity th2:threadpool; + } + } + } + } + } }