Changed the artifact id from 'benchmark-features' to 'features-benchmark'
[controller.git] / benchmark / rpcbenchmark / src / main / yang / rpcbenchmark-impl.yang
diff --git a/benchmark/rpcbenchmark/src/main/yang/rpcbenchmark-impl.yang b/benchmark/rpcbenchmark/src/main/yang/rpcbenchmark-impl.yang
new file mode 100644 (file)
index 0000000..b28de51
--- /dev/null
@@ -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;
+                    }
+                }
+            }
+        }
+    }
+}