aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2015-05-21fix flake8 complaintsHans Feldt1-2/+2
run_tests.sh now runs clean Change-Id: Idadebabfa9306cf750207326f5f0b5a35530af34 JIRA: - Signed-off-by: Hans Feldt <hans.feldt@ericsson.com>
2015-05-21fix run_tests exit statusHans Feldt1-0/+2
previously run_tests always returned 0 no matter the result. It can now be hooked up to a gerrit gate job. Change-Id: I2c4bccec71c179fd2b1b965613c34179da830ac5 JIRA: - Signed-off-by: Hans Feldt <hans.feldt@ericsson.com>
2015-05-21add package runners and a few runnersHans Feldt4-0/+294
The "duration" runner will run a test for an amount of time. The "arithmetic" runner will increase an input value of the test for every run until a limit is reached. Change-Id: I31c9864604110ce3f5d19ec110144d1c886c7620 JIRA: - Signed-off-by: Hans Feldt <hans.feldt@ericsson.com>
2015-05-20add ping benchmark typeHans Feldt3-0/+100
This simple benchmark can be used to measure network latency. Change-Id: I41f5b9f32544b2e668d39220fcfb87ed493f4baa JIRA: - Signed-off-by: Hans Feldt <hans.feldt@ericsson.com>
2015-05-20add ssh moduleHans Feldt1-0/+256
The ssh module is used when executing benchmark scenarios using remote login to a VM. ssh.py originates from rally but is stripped down and slightly modified (some dependencies removed). Change-Id: I0dc479fa1cb06e7469c20e24d3124f020b97a73c JIRA: - Signed-off-by: Hans Feldt <hans.feldt@ericsson.com>
2015-05-19add package scenarios with module baseHans Feldt3-0/+42
The Scenario class is a base class for all "real" scenarios. Change-Id: I4891321bdf489bce3e5c7e25c0c75e6882e344e4 JIRA: - Signed-off-by: Hans Feldt <hans.feldt@ericsson.com>
2015-05-19add package common with module utilsHans Feldt2-0/+62
The utils module supports finding subclasses of a class. This is used to find Runner and Scenarios types. utils.py originates from rally but is stripped down and slightly modified (some dependencies removed). Change-Id: Ibc196698e1212899b0836988d0345696b00c5caf JIRA: - Signed-off-by: Hans Feldt <hans.feldt@ericsson.com>
2015-05-19Merge "add cmdparser"Hans Feldt1-0/+71
2015-05-15add sample benchmark configuration filesHans Feldt5-0/+191
Change-Id: I21a9e2db57d12e16bc0358bfa6c34c4d1d6a4de0 JIRA: - Signed-off-by: Hans Feldt <hans.feldt@ericsson.com>
2015-05-13add cmdparserHans Feldt1-0/+71
cmdparser.py is the parser for the command line tool yardstick Change-Id: I0a27be35ad21d54d8c5cc7c2ab72aa60ed8f5d1f JIRA: - Signed-off-by: Hans Feldt <hans.feldt@ericsson.com>
2015-05-13Add yardstick packageJörgen Karlsson1-0/+18
JIRA: - Change-Id: Icb1c08befb66e883c11166eb36670252d63e9cf9 Signed-off-by: Jörgen Karlsson <jorgen.w.karlsson@ericsson.com>
2015-05-13add README and scripts for build and testHans Feldt4-0/+481
README.rst is work in progress and probably not proper rst format yet but should still contain valuable information. run_tests.sh is a script that runs unit and style tests on the code. It can be used as a gate check in gerrit. Similar scripts are standard practice in other open source projects. JIRA: - Change-Id: I5e586b346ff45f1151960a0e7fda2fe6072422c0 Signed-off-by: Hans Feldt <hans.feldt@ericsson.com>
2015-05-13Merge "Adding .gitreview to yardstick JIRA:0000 more information at ↵Ana C1-0/+23
https://wiki.opendaylight.org/view/Git-review_Workflow"
2015-05-12add gitignore fileHans Feldt1-0/+26
JIRA: - Change-Id: Ibddb67cd6699f84e2adafcef9fc5d53796d546d2 Signed-off-by: Hans Feldt <hans.feldt@ericsson.com>
2015-04-29Adding .gitreview to yardstick JIRA:0000 more information at ↵Aric Gardner2-0/+28
https://wiki.opendaylight.org/view/Git-review_Workflow Change-Id: I801aed126c0980c871e0ce7c795273a176efc98b Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2015-04-29Adding .gitreview to yardstick JIRA:0000 more information at ↵Aric Gardner1-0/+5
https://wiki.opendaylight.org/view/Git-review_Workflow Change-Id: I801aed126c0980c871e0ce7c795273a176efc98b Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2015-04-29Initial empty repositoryAric Gardner0-0/+0