Age | Commit message (Collapse) | Author | Files | Lines |
|
A simple test case is added that will ping an external server on
the internet. See samples/ping-ext-ip.yaml
Change-Id: I15eb3cb6ab9e5c1cf280f2aade2bf4c9646d6cd4
JIRA: -
Signed-off-by: Hans Feldt <hans.feldt@ericsson.com>
|
|
|
|
Change-Id: Ibd98cdcc0ed56ab376d0c2f8f37d2b53e07f2d2b
JIRA:-
Signed-off-by: Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com>
|
|
|
|
Running of unittest from run_test.sh is NOT enabled.
JIRA:-
Change-Id: I741d63e8ab37570c3cf67353fafc7f5210382219
Signed-off-by: Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com>
|
|
An external HOT template is a separate yaml file in native
Heat format HOT. The external template is referenced in the task
file and used as template for a "context". Parameters required at
template instantiation are also configured in the task file.
See new sample file ping-hot.yaml
Change-Id: Ie2b7ea96ea90b75ca4e08a29e2223ceeb1474724
JIRA: YARDSTICK-24
Signed-off-by: Hans Feldt <hans.feldt@ericsson.com>
|
|
Two scripts are added. One that will be installed in user's PATH
and one that is an example of how to modify an image from within.
See README for example and script for more info
Change-Id: Iab743f6e9105d5ba872ffba0512ffee954c6d830
JIRA: YARDSTICK-28
Signed-off-by: Hans Feldt <hans.feldt@ericsson.com>
|
|
Change-Id: Ibc18a2652d3e8f4656fc58d7a5b45daeb36178d1
JIRA: YARDSTICK-30
Signed-off-by: Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com>
|
|
A list of contexts can be specified, cross referencing between
contexts is supported and shown in the added sample file.
TBD can placement group work between stacks?
Change-Id: I26dbe94e52ba0be5e49f50fd70540a57de2204cb
JIRA: YARDSTICK-31
Signed-off-by: Hans Feldt <hans.feldt@ericsson.com>
|
|
Supports measuring network throughput UDP.
SLA can be verified for packet lost per million packets (ppm)
Change-Id: Ie5972f189bbe58b39a2fae98630b2f117c176ae5
JIRA: YARDSTICK-5
Signed-off-by: Jorgen Karlsson <jorgen.w.karlsson@ericsson.com>
|
|
tested by changing SLA action to assert and lower rtt, yardstick
command should exit non zero
Change-Id: I2dd091941fb4359add849f218cacc04f364142cd
JIRA: YARDSTICK-25
Signed-off-by: Hans Feldt <hans.feldt@ericsson.com>
|
|
Supports measuring network throughput using TCP and UDP.
SLA can be verified for bytes per second compared against the
summary from iperf3.
Change-Id: Ia387aac64932b9c01a64acdcba152fc46b32e382
JIRA: YARDSTICK-20
Signed-off-by: Hans Feldt <hans.feldt@ericsson.com>
|
|
Since we have no tests yet, just run flake8
Change-Id: I623d96c924524b2992175d345e176b7fd743413d
JIRA: -
Signed-off-by: Hans Feldt <hans.feldt@ericsson.com>
|
|
cidr defaults to '10.0.1.0/24' if not specified
Change-Id: I12b25be8d4e4be3b56cf71096dfab439f91cf7d1
JIRA: -
Signed-off-by: Jörgen Karlsson <jorgen.w.karlsson@ericsson.com>
|
|
Prepare for "service type" of scenarios that e.g. needs to start
a service in setup and shut it down in teardown.
In the runners, instantiation of the scenario is moved after the
"worker START" log to get a more logical sequence logged.
Change-Id: Idfaf5bb396eab9261e820291885b5a1dbc32f71e
JIRA: -
Signed-off-by: Hans Feldt <hans.feldt@ericsson.com>
|
|
This allows running yardstick from a container not using a
virtualenv.
Example commands to build and run:
docker build -t opnfv/yardstick .
docker run -it --rm opnfv/yardstick
Change-Id: Ia5a433c116d61e8d27e5ddb7186ef4b3ecd35e87
JIRA: -
Signed-off-by: Hans Feldt <hans.feldt@ericsson.com>
|
|
Some necessary setup fixes (after the pbr 1.0.1 release)
JIRA: -
Change-Id: I6259f7211b2f446e57461b7b6ac0e42387b92f5c
Signed-off-by: Hans Feldt <hans.feldt@ericsson.com>
|
|
The "model" module contains classes that helps the main logic of yardstick
to maintain a logical model/representation of the context as described in
the yaml file.
The main class Context has methods to deploy and undeploy the context
into/from some target cloud.
Change-Id: Ia04d9132ab8ef5de5dab686929e4b7ac05d7af30
JIRA: -
Signed-off-by: Hans Feldt <hans.feldt@ericsson.com>
|
|
The heat module contains two classes, Template and Stack. Resources
are added to a Template instance and then deployed. This returns a
Stack instance that holds the output values from the deployment and
that also has a method to undeploy - delete the stack.
Change-Id: Ief3f75bbb015e5d43023b8d8e8ece49673572b13
JIRA: -
Signed-off-by: Hans Feldt <hans.feldt@ericsson.com>
|
|
yardstick for now uses a pre-generated ssh key
Change-Id: Iac9f76c82c58e45f1ec8ac1bf529c3ba3562da4e
JIRA: -
Signed-off-by: Hans Feldt <hans.feldt@ericsson.com>
|
|
run_tests.sh now runs clean
Change-Id: Idadebabfa9306cf750207326f5f0b5a35530af34
JIRA: -
Signed-off-by: Hans Feldt <hans.feldt@ericsson.com>
|
|
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>
|
|
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>
|
|
This simple benchmark can be used to measure network latency.
Change-Id: I41f5b9f32544b2e668d39220fcfb87ed493f4baa
JIRA: -
Signed-off-by: Hans Feldt <hans.feldt@ericsson.com>
|
|
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>
|
|
The Scenario class is a base class for all "real" scenarios.
Change-Id: I4891321bdf489bce3e5c7e25c0c75e6882e344e4
JIRA: -
Signed-off-by: Hans Feldt <hans.feldt@ericsson.com>
|
|
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>
|
|
|
|
Change-Id: I21a9e2db57d12e16bc0358bfa6c34c4d1d6a4de0
JIRA: -
Signed-off-by: Hans Feldt <hans.feldt@ericsson.com>
|
|
cmdparser.py is the parser for the command line tool yardstick
Change-Id: I0a27be35ad21d54d8c5cc7c2ab72aa60ed8f5d1f
JIRA: -
Signed-off-by: Hans Feldt <hans.feldt@ericsson.com>
|
|
JIRA: -
Change-Id: Icb1c08befb66e883c11166eb36670252d63e9cf9
Signed-off-by: Jörgen Karlsson <jorgen.w.karlsson@ericsson.com>
|
|
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>
|
|
https://wiki.opendaylight.org/view/Git-review_Workflow"
|
|
JIRA: -
Change-Id: Ibddb67cd6699f84e2adafcef9fc5d53796d546d2
Signed-off-by: Hans Feldt <hans.feldt@ericsson.com>
|
|
https://wiki.opendaylight.org/view/Git-review_Workflow
Change-Id: I801aed126c0980c871e0ce7c795273a176efc98b
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
|
|
https://wiki.opendaylight.org/view/Git-review_Workflow
Change-Id: I801aed126c0980c871e0ce7c795273a176efc98b
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
|
|
|