Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Added the 'number of data changes' parameter to dsbenchmark test start outputs
[controller.git]
/
benchmark
/
api
/
src
/
main
/
yang
/
dsbenchmark.yang
diff --git
a/benchmark/api/src/main/yang/dsbenchmark.yang
b/benchmark/api/src/main/yang/dsbenchmark.yang
index 062cc8548616fc01201de2474d8dd04236faeb36..7a8d727134430282cca370dcfa259114536d20c6 100644
(file)
--- a/
benchmark/api/src/main/yang/dsbenchmark.yang
+++ b/
benchmark/api/src/main/yang/dsbenchmark.yang
@@
-125,24
+125,46
@@
module dsbenchmark {
"Data format:-binding-aware or binding-independent";
}
"Data format:-binding-aware or binding-independent";
}
+ leaf data-store {
+ mandatory true;
+ type enumeration {
+ enum "CONFIG" {
+ value 1;
+ }
+ enum "OPERATIONAL" {
+ value 2;
+ }
+ enum "BOTH" {
+ value 3;
+ }
+ }
+ }
leaf outerElements {
type uint32;
default 100000;
description
"Number of elements in the OuterList";
leaf outerElements {
type uint32;
default 100000;
description
"Number of elements in the OuterList";
-
}
+ }
leaf innerElements {
type uint32;
default 1;
description
"Number of elements in the InnerList";
leaf innerElements {
type uint32;
default 1;
description
"Number of elements in the InnerList";
-
}
+ }
leaf putsPerTx {
type uint32;
default 1;
description
leaf putsPerTx {
type uint32;
default 1;
description
- "Number of write operations (PUT, MERGE, or DELETE) per transaction submit";
- }
+ "Number of write operations (PUT, MERGE, or DELETE)
+ per transaction submit";
+ }
+ leaf listeners {
+ type uint32;
+ default 0;
+ description
+ "Number of data tree change listeners listening for
+ changes on the test exec tree.";
+ }
}
output {
leaf status {
}
output {
leaf status {
@@
-160,32
+182,39
@@
module dsbenchmark {
}
description
"Indicates whether the test finished successfuly";
}
description
"Indicates whether the test finished successfuly";
-
}
+ }
leaf listBuildTime {
type uint32;
leaf listBuildTime {
type uint32;
- default 1;
description
"The time it took to build the list of lists";
description
"The time it took to build the list of lists";
-
}
+ }
leaf execTime {
type uint32;
leaf execTime {
type uint32;
- default 1;
description
"The time it took to execute all transactions";
description
"The time it took to execute all transactions";
-
}
+ }
leaf txOk {
type uint32;
leaf txOk {
type uint32;
- default 1;
description
"The number of successful transactions";
description
"The number of successful transactions";
-
}
+ }
leaf txError {
type uint32;
leaf txError {
type uint32;
- default 1;
description
"The number of failed transactions";
description
"The number of failed transactions";
- }
-
+ }
+ leaf ntfOk {
+ type uint32;
+ description
+ "The number of successfully received data tree change
+ notifications";
+ }
+ leaf dataChangeEventsOk {
+ type uint32;
+ description
+ "The number of data change events received in data tree
+ change notifications";
+ }
}
}
}
}