Add singleton service based global rpc
[controller.git] / opendaylight / md-sal / samples / clustering-test-app / model / src / main / yang / rpc-test.yang
diff --git a/opendaylight/md-sal/samples/clustering-test-app/model/src/main/yang/rpc-test.yang b/opendaylight/md-sal/samples/clustering-test-app/model/src/main/yang/rpc-test.yang
new file mode 100644 (file)
index 0000000..ff34d87
--- /dev/null
@@ -0,0 +1,16 @@
+module basic-rpc-test {
+    yang-version 1;
+
+    namespace "urn:opendaylight:controller:basic-rpc-test";
+    prefix "base-endpoint";
+
+    revision "2016-01-20" {
+        description
+                "Initial revision.";
+    }
+
+    rpc basic-global {
+        description "Invoke a global rpc that should only have one implementation registered on one of the nodes.
+                     It has no input/output.";
+    }
+}
\ No newline at end of file