aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-09-20SA: Fix private key file name generation issueMytnyk, Volodymyr1-1/+1
In current implementation of Yardstick, SA context uses the same SSH key file name for each VM created. E.g. the Yardstick overrides the key file context each time the new VM is created. As a result, the key file is valid only for last VM created by Yardstick causing the connection problem for other VMs. Solution is to generate different key file name for each VM name separately. JIRA: YARDSTICK-1436 Change-Id: I22ae2874695736255aa3314654a2cced9338b53d Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
2018-09-18Add IxNextgen API for creating Vlans configurationsSerhiy Pshyk2-0/+109
New IxNextgen API allows to configure Vlans(vlan id, priority, tp id) to Ethernet layer of device group. JIRA: YARDSTICK-1420 Change-Id: I1c5fe37b5beb11daf1c539933fcad60832553bb9 Signed-off-by: Serhiy Pshyk <serhiyx.pshyk@intel.com>
2018-09-14Fix Yardstick Docker image ARM buildPatrice Buriez1-1/+1
Soften sed pattern, in order to cope with new contents of ansible/install.yaml, recently modified by change 61173. Previous sed pattern does not work anymore against this changed line: https://gerrit.opnfv.org/gerrit/#/c/61173/4/ansible/install.yaml@39 JIRA: YARDSTICK-1411 Change-Id: I1e1ebd454900252c29263e746470e18e3139e016 Signed-off-by: Patrice Buriez <patrice.buriez@intel.com>
2018-09-13Merge "Cleanup unittests for test_lmbench"Abhijit Sinha1-29/+27
2018-09-13Assign IXIA ports in one call instead of one by oneMytnyk, Volodymyr2-6/+11
Assigning IXIA ports one by one takes more time than assign all ports by once. Also, assigning ports in one call resolves the assign port issues caused on some IXIA chassis versions. JIRA: YARDSTICK-1425 Change-Id: Ibb08e40ee1a8762573f6752bdd1f583c5a1d9d2a Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com> Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
2018-09-13Merge "Add UT: ArithmeticRunner exception handling"Emma Foley1-1/+227
2018-09-13IXIA traffic mac address is set incorrectlyMytnyk, Volodymyr1-2/+2
IXIA API sets the src/dst mac of the traffic always into default value. The `srcmac`/`dstmac` is never set in `traffic_param` map [1]. Instead the src/dst mac is stored in traffic_param[`outer_l2`]. [1] https://gerrit.opnfv.org/gerrit/gitweb?p=yardstick.git;a=blob;f=yardstick/network_services/traffic_profile/ixia_rfc2544.py;h=44bf2eafc7f8cf03ebd2c8520d316358fe1e5fc2;hb=HEAD#l92 JIRA: YARDSTICK-1423 Change-Id: Iabab7a54404b284d3b95bbea6c8624233c138351 Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
2018-09-13Merge "Update configure_uwsgi run in baremetal/container"Rex Lee2-1/+9
2018-09-13Merge "Revert "Bugfix: ansible version should be the same both in Dockerfile ↵Rex Lee2-2/+2
and requirements.txt""
2018-09-13Merge "Create a sample fio test case base on kubernetes"Rex Lee1-2/+28
2018-09-13Merge "Create a sample lmbench test case base on kubernetes"Rex Lee1-5/+28
2018-09-13Merge "tc046 kill keystone process condition incorrect - dovetail"Rex Lee1-2/+2
2018-09-11Update configure_uwsgi run in baremetal/containerStepan Andrushko2-1/+9
Now "daemonize" prevents from installing Yardstick on baremetal. Configuring: "daemonize" in case "container" installation mode; "logto" in case "baremetal" installation mode; JIRA: YARDSTICK-1395 Change-Id: Ie390464db9c0816583edc711ed6526629d091bd3 Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
2018-09-11Merge "Add IxNextgen API for creating PPPoX configurations"Abhijit Sinha2-0/+218
2018-09-11Create a sample fio test case base on kubernetesrexlee87761-2/+28
make samples/fio.yaml to support both Openstack and K8s with context_type specified. It defaultly use Heat context, if for k8s, yardstick -d task start samples/fio.yaml --task-args '{"context_type": "Kubernetes"}' JIRA: YARDSTICK-1309 Change-Id: I2b0d61cf2f197ec8c60bda0ab4ff51594709f482 Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2018-09-11Merge "Add container pull option to install.yaml"Rodolfo Alonso Hernandez3-13/+50
2018-09-11Create a sample lmbench test case base on kubernetesrexlee87761-5/+28
make samples/lmbench.yaml to support both Openstack and K8s with context_type specified. It defaultly use Heat context, if for k8s, yardstick -d task start samples/lmbench.yaml --task-args '{"context_type": "Kubernetes"}' JIRA: YARDSTICK-1310 Change-Id: Ifa542e830fb5ab7823bd4f994ab5d7a8e8a5b415 Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2018-09-11Merge "Add k8s scenario test suite in Gambia"Rex Lee5-0/+90
2018-09-10Revert "Bugfix: ansible version should be the same both in Dockerfile and ↵Rex Lee2-2/+2
requirements.txt" This reverts commit 662de49b9f6c116d15882aed9e678cd3cf67494b. JIRA: YARDSTICK-1411 Change-Id: Id277aa8711c9ff77e085d26c90546eecc3490535 Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2018-09-10tc046 kill keystone process condition incorrect - dovetailrexlee87761-2/+2
Change-Id: If01abfd5a99b4cea74f835e258f3a982af9446cd Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2018-09-07Add IxNextgen API for creating PPPoX configurationsSerhiy Pshyk2-0/+218
New IxNextgen API allows to perform the following configurations on IxNetwork: - add topology - add device group to topology - add ethernet protocol layer to device group - add ipv4 protocol layer to device group - add pppox protocol layer to device group JIRA: YARDSTICK-1408 Change-Id: Icf5bb5f24784cf2c167c515b04c81471ac425e38 Signed-off-by: Serhiy Pshyk <serhiyx.pshyk@intel.com>
2018-09-07Add k8s scenario test suite in Gambiarexlee87765-0/+90
JIRA: YARDSTICK-1410 Change-Id: I23b4c0bcfa9aa431e259930a41d4171ff5b4e8a1 Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2018-09-04Fix CLI argument handling in nsb_setup.shPatrice Buriez1-10/+67
CLI argument $1 was used for both admin-openrc file with OpenStack credentials and Yardstick Docker image, so obviously one of them would be wrong, and NSB setup would fail at some point. Historically, admin-openrc could be supplied as CLI argument $1, but change https://gerrit.opnfv.org/gerrit/56493 broke it, which means specifying Yardstick Docker image as CLI argument never worked. This fix implements support for the following CLI options: -o openrc Specify admin-openrc file with OpenStack credentials -i image Specify Yardstick Docker image -h Provide usage information For backward compatibility reasons, admin-openrc file can be supplied either with the -o option, or as a CLI argument. JIRA: YARDSTICK-1137 Change-Id: I3e9904970560468c24b21738203bc67b7591f9e4 Signed-off-by: Patrice Buriez <patrice.buriez@intel.com>
2018-09-04Merge "Merge latest changes to Dashboard from L2FWD to L3FWD dashboard"Abhijit Sinha2-12735/+12491
2018-09-04Merge "NSB NFVi PROX Missing VNF Statistics for CPU Utilization"Abhijit Sinha38-7/+155
2018-09-04Merge latest changes to Dashboard from L2FWD to L3FWD dashboardDanielMartinBuckley2-12735/+12491
Come changes re: Status == "Result" and Status == "Success" and L3FWD changes onto latest L3FWD Dashboard Change-Id: I62d0cfc30167085ad5efe348ab118f1defbc4901 Signed-off-by: Daniel Martin Buckley <daniel.m.buckley@intel.com>
2018-09-04NSB NFVi PROX Missing VNF Statistics for CPU UtilizationDanielMartinBuckley38-7/+155
JIRA: YARDSTICK-1404 The test scripts require an extra argument to support collectd. Also the CPU utilization is a different variable name structure in the JSON file. Change-Id: I127b7e86c0f93f7743331a2d71eb81d690e42471 Signed-off-by: Daniel Martin Buckley <daniel.m.buckley@intel.com>
2018-09-04Add UT: ArithmeticRunner exception handlingMiikka Koistinen1-1/+227
* Use time.sleep to avoid multiprocessing.Queue broken pipe error. JIRA: YARDSTICK-1245 Change-Id: I1ef1f8e68a553278996b38c226314c13dd974faa Signed-off-by: Miikka Koistinen <miikka.koistinen@nokia.com>
2018-08-31TRex IMIX data must return percentage valueRodolfo Alonso Hernandez2-3/+10
Function "_create_imix_data" must return the weight in percentage, not in absolute value. JIRA: YARDSTICK-1406 Change-Id: I3bc409bab17ae5778a6783f4319699009a5437fa Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
2018-08-31Add container pull option to install.yamlStepan Andrushko3-13/+50
Supported Yardstick installation modes in yardstick.yaml: baremetal and container. First is used to install Yardstick on baremetal, another is used during docker build to install Yardstick in container. Added third option: 'container pull': to pull docker image (opnfv/yardstick) from Docker hub and start container. JIRA: YARDSTICK-1392 Change-Id: I4158de3eb6fcbe0018a15fdda89a3e3ab29c26bb Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
2018-08-30Merge "Adopt infra_deploy to spawn VM on LTS Ubuntu 18"Rodolfo Alonso Hernandez4-2/+61
2018-08-30Merge "Add source and destination seed value in IXIA RFC2544"Rodolfo Alonso Hernandez7-20/+39
2018-08-30Adopt infra_deploy to spawn VM on LTS Ubuntu 18Stepan Andrushko4-2/+61
Add possibility ro reuse infra_deploy.yaml to spawn VMs on jump host, depending on jump host Ubuntu version: either 16 or 18. JIRA: YARDSTICK-1396 Change-Id: Id0682c03098e611fe3a51cbd24d8ff2dda7c552a Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
2018-08-30Merge "Assign static IP to VM for standalone context"Rodolfo Alonso Hernandez6-23/+62
2018-08-29Updated documentation for stanalone contextStepan Andrushko1-15/+85
Added details about hosts configurations in order to run tests for standalone context. Changes made to '13-nsb-installation.rst'. JIRA: YARDSTICK-1402 Change-Id: I4e3304065343014a80b85fc712cdde3ca62d8b2e Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
2018-08-29Assign static IP to VM for standalone contextStepan Andrushko6-23/+62
During VM spawning IP address should be assigned by DHCP server in the local network. Sometimes DHCP server is not capable to assign IP address. So, need to add static IP address. JIRA: YARDSTICK-1402 Change-Id: Ie59c340eb88eddcaff043496fc20aa48b49205ec Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
2018-08-29Bugfix: ansible version should be the same both in Dockerfile and ↵rexlee87762-2/+2
requirements.txt Because Dockerfile is using ansible script to install yardstick requirements. Or it may lead to exception when installing Yardstick. Change-Id: Ia83cf76675a7f3f1d0aa5c311e7b72be5c7ca5c3 Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2018-08-28Merge "Bugfix: openstack router list broken in Yardstick container - dovetail"Rex Lee2-2/+2
2018-08-27Merge "Change tc_trex files to execute standalone tests"Rodolfo Alonso Hernandez9-53/+53
2018-08-27Add source and destination seed value in IXIA RFC2544Rodolfo Alonso Hernandez7-20/+39
Add source and destination seed value in IXIA RFC2544 traffic profile. The default value for both parameters is 1. JIRA: YARDSTICK-1401 Change-Id: I3351194c8be9ac42cbf5655996d50b9b69884c72 Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
2018-08-27Merge "Make TRex IMIX traffic mode configurable"Rodolfo Alonso Hernandez3-9/+60
2018-08-27ping bottlenecks failed when security group rule do not support ipv6 - dovetailrexlee87761-0/+12
JIRA: YARDSTICK-1380 Change-Id: I2163eeb9ab17e4f0216ddaed688e78acdf51a1ff Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2018-08-27Merge "Make security group configurable - dovetail"Jing Lu5-58/+165
2018-08-24Bugfix: openstack router list broken in Yardstick container - dovetailrexlee87762-2/+2
Dependancy of python-openstackclient is not constrained. This patch specify openstacksdk and openstackclient's version according to [1]. This patch apply for bugfix and need to backported to fraser stable branch. Continual work need to be done in Gambia according to YARDSTICK-1398. [1] https://github.com/openstack/requirements/blob/stable/pike/upper-constraints.txt JIRA: DOVETAIL-728 Change-Id: I57c718e192699ac322150458d18508b06c93d22b Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2018-08-23Make TRex IMIX traffic mode configurableRodolfo Alonso Hernandez3-9/+60
Enable TRex IMIX generation using two modes: - Distribution in packages. - Distribution in byes. The default one will be distribution in packages, like the default one in IxNetwork. JIRA: YARDSTICK-1397 Change-Id: I86b2527968496218b0515349fc0a2680a84261e5 Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
2018-08-23Merge "Fix setting `flow` configuration in TC yaml"Rodolfo Alonso Hernandez3-10/+12
2018-08-23Merge "Fix issues with 'Success_' stats reported by ProxBinSearchProfile"Abhijit Sinha3-200/+243
2018-08-23Merge "Runners crash on test startup."Abhijit Sinha2-3/+5
2018-08-23Merge "Provide access to VM in Standalone context"Rodolfo Alonso Hernandez6-52/+261
2018-08-23Merge "Provide average latency results in IXIA KPIs"Rodolfo Alonso Hernandez2-14/+60