summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-08-15Enable vnf/tg instantiate as blocking call.Deepak S1-1/+0
untill we fix the sequence issue, we need to make the instantiate blocking call to avoid hangs Change-Id: Ie337372625d506e6b3c74a5248204a87fec1ca2c Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-08-15Merge "gitignore: ignore .tox/"Ross Brattain1-0/+2
2017-08-14gitignore: ignore .tox/Ross Brattain1-0/+2
Change-Id: If021ed0f099c81492fd7509317efc31f020e6d18 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-08-15Merge "Update release note for Danube.3.2"Ross Brattain1-8/+19
2017-08-15Merge "ACL: remove failing testing"Ross Brattain1-24/+0
2017-08-15Merge "task: initialize result"Ross Brattain1-0/+2
2017-08-14task: initialize resultRoss Brattain1-0/+2
Change-Id: I8d6b9bed24c9afa4be54296515e6aa91e84fe650 Signed-off-by: Martin Banszel <martinx.banszel@intel.com> Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-08-15dynamictp: fix flake8 warningRoss Brattain1-1/+1
flake8 warns about indent Change-Id: Ib7a57dcb8462de24a2ccb1fdbc60db995cc60d33 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-08-14ACL: remove failing testingRoss Brattain1-24/+0
test_instantiate_panic fails randomly sometimes in Jenkins, the test doesn't really do anything useful, so remove it Change-Id: Ia44ebbe778b812ae1b4660d64e88bf029fed3701 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-08-15Merge "KVMFORNFV: Update Grafana config for Packet Forwarding test cases."Rex Lee2-68/+713
2017-08-15Integrate vsperf in Tgen modeJing Zhang7-0/+984
Problem: Running Vsperf in Tgen mode is supported but the integration is not complete at the code level i.e. not ready-to-use, and dpdk loopback is not supported inside the VM. Solution: (1) Completely automates VM image generation and supports 1G huge pages. (2) Adds a new test scenario VsperfDPDK for testpmd based loopback inside the VM. Update 1-2: Fixed "line too long" issues not reported by local run_tests.sh (why?) Update 3: Per comment change to use SSH.from_node() and add unit test cases Update 4: Add more unit test cases for coverage and ready the code for merge JIRA: YARDSTICK-661 Change-Id: Iea3014d4c83e1b0c079019a4ed27771d40a7eed8 Signed-off-by: Jing Zhang <jing.c.zhang@nokia.com>
2017-08-15Update release note for Danube.3.2JingLu51-8/+19
Note: This patch should be merger to stable branch. Change-Id: I7f07a7c367fc387494f2313143a300fef85a8fd1 Signed-off-by: JingLu5 <lvjing5@huawei.com>
2017-08-15Merge "Add yardstick report for each task"Ross Brattain4-0/+75
2017-08-14Ansible typo fix, whitespaceRoss Brattain3-2/+1
Change-Id: I3639ab84ab5b9e802e1bbd23674b0fbda46fdc66 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-08-14PROX VNF and TGRoss Brattain66-31/+40815
PROX was added to samplevnf project https://git.opnfv.org/samplevnf/tree/VNFs/DPPD-PROX JIRA: YARDSTICK-638 Change-Id: If9875b1130c6bed87deb8720b0d8b28ede9289d9 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-08-14Merge "cli: typo, s/dispath/dispatch/g"Ross Brattain1-4/+4
2017-08-14Add yardstick report for each taskchenjiankun4-0/+75
JIRA: YARDSTICK-784 Currently we have yardstick report in GUI. But if users do not use GUI, they can't see this report. So we need generate a report each task. After run each test case, we can see report: http://ip:port/report/report.html Change-Id: Ic76cf57f55aa6680b91272e210135136f0225373 Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2017-08-13cli: typo, s/dispath/dispatch/gRoss Brattain1-4/+4
Change-Id: I3df6bc606f2ac78baf611aee22b9247f6f9d5136 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-08-12Move the comment above the config parameter line to avoid the expectionDeepak S1-1/+2
Traceback (most recent call last): File "/opt/nsb_bin/yardstick_venv/lib/python2.7/site-packages/yardstick-0.1.dev0-py2.7.egg/yardstick/cmd/commands/task.py", line 54, in do_start result = Task().start(param, **kwargs) File "/opt/nsb_bin/yardstick_venv/lib/python2.7/site-packages/yardstick-0.1.dev0-py2.7.egg/yardstick/benchmark/core/task.py", line 148, in start self._do_output(output_config, result) File "/opt/nsb_bin/yardstick_venv/lib/python2.7/site-packages/yardstick-0.1.dev0-py2.7.egg/yardstick/benchmark/core/task.py", line 227, in _do_output dispatchers = DispatcherBase.get(output_config) File "/opt/nsb_bin/yardstick_venv/lib/python2.7/site-packages/yardstick-0.1.dev0-py2.7.egg/yardstick/dispatcher/base.py", line 46, in get for out_type in config['DEFAULT']['dispatcher']] File "/opt/nsb_bin/yardstick_venv/lib/python2.7/site-packages/yardstick-0.1.dev0-py2.7.egg/yardstick/dispatcher/base.py", line 38, in get_cls raise RuntimeError("No such dispatcher_type %s" % dispatcher_type) RuntimeError: No such dispatcher_type Http # setup multiple dipatcher with comma deperted e.g. file Change-Id: I497d0d9ce7fdb7ea2913af6ebeb4bb9008344fed Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-08-11Add Ansible executor class for node contextRoss Brattain5-22/+853
import the AnsibleCommon class to execute Ansible playbooks Update node context support to use AnsibleCommon needs unittests We must call ansible-playbook as an executable, so we must create temp files for inventory, and for the playbooks. AnsibleCommon has evolved to be quite flexible, it auto-generates the inventory from the context['nodes'] and generates groups from the node Role. We also support either a single playbook filename, or a list of filenames. If given a list we dynamically generate a playbook that includes the other playbooks. We support adding any number of extra_vars using a temp JSON file. Also designed to be extended by subclassing. Change-Id: I5bd0a2b4547feaadd70b7e2b8801f19371b99df0 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-08-11ixia: VNF id must match class nameRoss Brattain1-2/+2
The class name is IxiaTrafficGen Change-Id: Ie18be44c7b58d50f13e9a5df50afa3e02fc0cce3 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-08-11Merge "yardstick setup ansible, including load_images"Ross Brattain129-3/+5265
2017-08-11KVMFORNFV: Update Grafana config for Packet Forwarding test cases.kalyanreddy2-68/+713
JIRA: YARDSTICK-783 This patch is used for updating the configuration file of opnfv grafana dashboard for kvmfornfv packet forwarding to publish the results of new test cases added as part of kvmfornfv daily job. Also used for updating the config file of opnfv grafana dashboard for kvmfornfv cyclictest test cases to correct the alias colours. Change-Id: I34aa155e2782e58147e55f974134673a892eb93b Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
2017-08-11Add real time log view in GUIchenjiankun13-21/+159
JIRA: YARDSTICK-775 We have GUI now, but we can't see real time log in GUI view. So I add real time log view in GUI. Change-Id: Ie83f327ef0a94302afa6b3def764fec6ef5818d1 Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2017-08-11Merge "Add common openstack opertation scenarios: image & volume"Jing Lu9-0/+467
2017-08-11Merge "bugfix: tc038 ssh default wait 3600s"Kubi2-3/+4
2017-08-11Merge "Add common openstack opertation scenarios: flavor & server"Kubi9-62/+433
2017-08-11bugfix: tc038 ssh default wait 3600srexlee87762-3/+4
JIRA: YARDSTICK-771 Change-Id: Ibcd2228505d341feb09b0d477e5f4ed6062c1e89 Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2017-08-11Merge "UDP relay"Ross Brattain5-0/+732
2017-08-11Merge "New storage test case: Bonnie++"Jing Lu6-0/+337
2017-08-11Add common openstack opertation scenarios: image & volumeJingLu59-0/+467
JIRA: YARDSTICK-781 This patch adds some common openstack opertation scenarios Change-Id: I3de7dbb30eaebac4feebcf07dd6a0d2bdcf428d9 Signed-off-by: JingLu5 <lvjing5@huawei.com>
2017-08-10UDP relayDeepak S5-0/+732
Change-Id: I598f6f98f94f70334139966cc170832c90ea9aa6 Signed-off-by: Deepak S <deepak.s@linux.intel.com> Signed-off-by: Edward MacGillivray <edward.s.macgillivray@intel.com> Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-08-11Merge "Sample CGNAPT VNF"Ross Brattain18-0/+2707
2017-08-10Sample VFW VNFDeepak S18-0/+2556
Change-Id: I32ca166cd6d818b57bbcfaf7c7e5a65b7147ba8d Signed-off-by: Deepak S <deepak.s@linux.intel.com> Signed-off-by: Edward MacGillivray <edward.s.macgillivray@intel.com> Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-08-10Sample CGNAPT VNFDeepak S18-0/+2707
Change-Id: I0f5555a1674a5ecb7e2afb508d495b7872c90757 Signed-off-by: Deepak S <deepak.s@linux.intel.com> Signed-off-by: Edward MacGillivray <edward.s.macgillivray@intel.com> Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-08-11Add common openstack opertation scenarios: flavor & serverJingLu59-62/+433
JIRA: YARDSTICK-781 This patch adds some common openstack opertation scenarios Change-Id: I9e84a8894fe9b9c1754a45a0ddfdf93739164b9a Signed-off-by: JingLu5 <lvjing5@huawei.com>
2017-08-10Merge "NSB fixes: docstring, whitespace, etc."Ross Brattain4-6/+3
2017-08-10Merge "bugfix: tc037/38 multiprocessing failed sometimes"Kubi1-4/+4
2017-08-10Merge "pip_license: quick hack script to add license info to requirements.txt"Ross Brattain1-0/+80
2017-08-10Merge "requirements.txt: add license info"Ross Brattain1-87/+89
2017-08-09NSB fixes: docstring, whitespace, etc.Ross Brattain4-6/+3
remove unused docstring params remove whitespace fix sudo vnf_build command ignore stdout Signed-off-by: Ross Brattain <ross.b.brattain@intel.com> Change-Id: I6fcdbb0ed4bc6b7fc2f557529f5ff9fd960c05e9
2017-08-10Merge "Collectd"Ross Brattain5-99/+483
2017-08-10Merge "constants: cache YAML config values"Ross Brattain3-18/+27
2017-08-10Merge "IXIA traffic generator"Ross Brattain22-0/+4210
2017-08-10Merge "Sample ACL VNF"Ross Brattain29-0/+3153
2017-08-10bugfix: tc037/38 multiprocessing failed sometimesrexlee87761-4/+4
set runner.join timeout JIRA: YARDSTICK-771 Change-Id: Iec7d04549a45c0fbd0eb48dcaad7770fd5ca1f4e Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2017-08-10Merge "bugfix: tc025 and tc054 fail"Kubi4-23/+41
2017-08-10Merge "bugfix: hosts should be clean if update_hosts twice"Kubi1-3/+11
2017-08-09requirements.txt: add license infoRoss Brattain1-87/+89
Change-Id: I9de6a51e7efb9e49da5bbd541c466f106c3a52e3 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-08-09Bugfix: remove ping package for it is GPL licensechenjiankun1-1/+0
JIRA: YARDSTICK-777 In migrate test case, we use ping to count downtime. But ping package is GPL license, so we need remove it. Since ping command tool can not set timeout less then 1 second, and the downtime is less then 1 second, so we need find another package to replace. For now, I find most ping tool is GPL license, so maybe later we need to implement ping ourselves. And the migrate case can not calculate downtime unless user install ping themselves. Change-Id: I78cba5e4af9de2e3c0bb16b27570bed951caf440 Signed-off-by: chenjiankun <chenjiankun1@huawei.com>