Bug 8015, Bug 7800: Do not block when publishing notifications
[controller.git] / opendaylight / md-sal / samples / clustering-test-app / model / src / main / yang / car.yang
index f279949b5eb3412005775617765ea0a7c662d3b7..50df56f78cea88482211ed5960ebd2d91138143a 100644 (file)
@@ -6,7 +6,7 @@ module car {
 
     prefix car;
 
-       import ietf-inet-types { prefix "inet"; revision-date 2010-09-24; }
+       import ietf-inet-types { prefix "inet"; revision-date 2013-07-15; }
        
     organization "Netconf Central";
 
@@ -80,7 +80,19 @@ module car {
     }
     
     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 {
@@ -116,4 +128,13 @@ module car {
     rpc unregister-logging-dtcls {
         description "Unregisters the logging DTCL(s) for the cars container.";
     }
-}
\ No newline at end of file
+
+    rpc register-commit-cohort {
+        description "Registers a sample commit cohort that validates car entry input.";
+    }
+
+    rpc unregister-commit-cohort {
+        description "Unregisters the sample commit cohort.";
+    }
+
+}