X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=benchmark%2Frpcbenchmark%2Fsrc%2Fmain%2Fyang%2Frpcbenchmark-impl.yang;fp=benchmark%2Frpcbenchmark%2Fsrc%2Fmain%2Fyang%2Frpcbenchmark-impl.yang;h=b28de5163d7dc58f523c6fa53515597e5496edbf;hb=2bf2e52f7001e81608c8219f35a1bf4f637aa5f1;hp=0000000000000000000000000000000000000000;hpb=46939989aefff4b3f7cfec5c95abc8cae9c79c47;p=controller.git diff --git a/benchmark/rpcbenchmark/src/main/yang/rpcbenchmark-impl.yang b/benchmark/rpcbenchmark/src/main/yang/rpcbenchmark-impl.yang new file mode 100644 index 0000000000..b28de5163d --- /dev/null +++ b/benchmark/rpcbenchmark/src/main/yang/rpcbenchmark-impl.yang @@ -0,0 +1,35 @@ +module rpcbenchmark-impl { + yang-version 1; + namespace "urn:opendaylight:params:xml:ns:yang:rpcbenchmark:impl"; + prefix "rpcbenchmark-impl"; + + import config { prefix config; revision-date 2013-04-05; } + import opendaylight-md-sal-binding { prefix md-sal-binding; revision-date 2013-10-28;} + + description + "Service definition for rpcbenchmark project"; + + revision "2014-12-10" { + description + "Initial revision"; + } + + identity rpcbenchmark { + base config:module-type; + config:java-name-prefix Rpcbenchmark; + } + + augment "/config:modules/config:module/config:configuration" { + case rpcbenchmark { + when "/config:modules/config:module/config:type = 'rpcbenchmark'"; + container broker { + uses config:service-ref { + refine type { + mandatory true; + config:required-identity md-sal-binding:binding-broker-osgi-registry; + } + } + } + } + } +}