Bug 6348 : car:stop-stress-test RPC to return success & failure counters
[controller.git] / opendaylight / md-sal / samples / clustering-test-app / model / src / main / yang / car.yang
index 2d552f447d602358191a2a5de06c7d9473b4f6d4..14f12e4217f359a1c0dd1a0ef1e7acc8fbae2f98 100644 (file)
@@ -80,7 +80,19 @@ module car {
     }
     
     rpc stop-stress-test {
     }
     
     rpc stop-stress-test {
+        output {
+            leaf success-count {
+              type uint32;
+              default 0;
+              description "Total number of cars created when running stess-test rpc";
+            }
 
 
+            leaf failure-count {
+              type uint32;
+              default 0;
+              description "Total number of cars failed when running stess-test rpc";
+            }
+        }
     }
 
     rpc register-ownership {
     }
 
     rpc register-ownership {