Bug 4105: Add Cars RPC to test entity ownership
[controller.git] / opendaylight / md-sal / samples / clustering-test-app / model / src / main / yang / car.yang
index eb02be7f0f1220c725346210d285aafa192a9ef8..2f6079a32f95b50f745b92e1bb0635bf04bfb339 100644 (file)
@@ -76,5 +76,22 @@ module car {
     }
     
     rpc stop-stress-test {
+
+    }
+
+    rpc register-ownership {
+        input {
+            leaf car-id {
+                type string;
+              }
+        }
+    }
+    
+    rpc unregister-ownership {
+        input {
+            leaf car-id {
+                type string;
+              }
+        }
     }
 }
\ No newline at end of file