uses car-entry;
}
}
+
+ rpc stress-test {
+ input {
+ leaf rate {
+ type uint16;
+ description "The rate is a measure of the number of car-entry(s) added per second.
+ Thus the rate is measured in terms of transactions per second. The
+ rate is not necessary achievable; the controller may not keep up with
+ the specified value. In this instance, rate is considered maximum rate.";
+ }
+
+ leaf count {
+ type uint16;
+ default 0;
+ description "Number of cars to create. Zero implies unlimited cars; use
+ stop-stress-test rpc to stop the test.";
+ }
+ }
+ }
+
+ 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