aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-09-18Terminate the ixia traffic generator at the end of the test runDeepak S1-19/+22
Change-Id: I80501ab3662a58930939d849f0bde0e810154a39 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-09-18Added multi-port testcases for vFWDeepak S5-104/+204
Change-Id: I6cf8675c83fc081dd22ae7896e63ff7725ed3c13 Signed-off-by: Deepak S <deepak.s@linux.intel.com> Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-18rename odl_l3 tests to just odlRoss Brattain3-0/+166
Change-Id: I664437d598db9f9dcc7036e306b8a4edc40287cf Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-18Fix the offset bug for UDP dst port in the traffic profileMartin Banszel2-11/+14
Also sends a new line to the VNF when waiting for prompt. Change-Id: Ib8641093974cd6713594aac9b418595ad5268e87 Signed-off-by: Martin Banszel <martinx.banszel@intel.com>
2017-09-18vnf_generic: adjust ssh timeout for number of VNFsRoss Brattain1-4/+9
we assume the time it takes to start multiple instances is proportional to the number of instances so we scale the timeout based on the number of instances. Change-Id: I6901890d3f184ac4e38e1d6823b96c291579e04a Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-18NSB: fix port topologyMartin Banszel75-1688/+2360
Add a new PortPair class to resolve the topology into list of public and private ports. Before we were calculating public/private in multiple locations and using different conventions. In addition for all the DPDK test we need to use the DPDK port number and no rely on interface ordering or interface naming conventions. We used to use xe0 -> 0, xe1 -> 1, etc. This is not the DPDK port number. Use the new dpdknicbind_helper class to parse the output of dpdk-devbind.py to find the actual DPDK port number at runtime. We then use this DPDK port number to correctly calculate the port_mask_hex. The port mask maps the DPDK port num (PMD ID) to the LINK ID used in the pipeline config We also need to make sure we only use the interfaces matched to the topology and not use all the interfaces, because in some cases we will have unused interfaces. In particular TRex always requires an even number of interfaces, so for single port TRex tests we have to create the second port and not use it. Thus we had to modify the traffic generator stats code to only dump stats for used ports and no unused ports. Ixia was using interface ordering to map to Ixia ports, instead we use the dpdk_port_num which must be hardcoded for Ixia. Renamed traffic_profile.execute to traffic_profile.execute_traffic so we can trace the code easier. We pass the port used by the traffic profile to generate_samples so we don't get stats for unused ports. Fixed up vPE config creation and bring up issues. Fixed up CGNAPT and UDP_Replay to work correctly. Tested with 4-port scale-out Change-Id: I2e4f328bff2904108081e92a4bf712333fa73869 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com> Signed-off-by: Edward MacGillivray <edward.s.macgillivray@intel.com>
2017-09-15Merge "add tc083 rst and tc073/tc083 netperf local dashboard"Rex Lee3-0/+713
2017-09-15Merge "bugfix: show testcase api return type error"Rex Lee1-1/+7
2017-09-15Merge "tc006: fio job_file.ini the volume should be configed"Rex Lee1-1/+2
2017-09-15Merge "KVMFORNFV: Update Grafana config for Packet Forwarding test cases."Rex Lee1-51/+2811
2017-09-15Merge "improve logging, clear using print"Rex Lee9-43/+40
2017-09-15Merge "[DRAFT] add yardstick cli info in userguide"Rex Lee1-2/+136
2017-09-15Merge "tc063: make node parameter can be pass"Rex Lee1-2/+2
2017-09-15add tc083 rst and tc073/tc083 netperf local dashboardrexlee87763-0/+713
Change-Id: I382b2a711d6659f94982c4386c2f25c144705831 Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2017-09-15Merge "Create opnfv_k8-ovn-lb-noha_daily.yaml test suite file"Jing Lu1-0/+18
2017-09-15Merge "tc011: make parameters to be able to config"Rex Lee1-4/+8
2017-09-14Merge "ssh fix, always wait"Ross Brattain3-2/+5
2017-09-14KVMFORNFV: Update Grafana config for Packet Forwarding test cases.kalyanreddy1-51/+2811
JIRA: YARDSTICK-783 This patch is used for updating the configuration file of opnfv grafana dashboard for kvmfornfv packet forwarding to publish the throughput results of test cases added as part of kvmfornfv daily job. Change-Id: I913bbc5172eefbbfeee86f7ca74b2b99c521c248 Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
2017-09-14bugfix: show testcase api return type errorrexlee87761-1/+7
segmentation_id should be number, provider should be string Change-Id: Iabdc08cb0989f4d585013b5a8ef3662442eeda45 Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2017-09-14tc011: make parameters to be able to configrexlee87761-4/+8
Change-Id: Ic8a85b762f5204a9b759bf57c3189df97aa52d0c Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2017-09-14tc006: fio job_file.ini the volume should be configedrexlee87761-1/+2
Change-Id: Ie03dfe7d1227578bb50e5e4460e50b9dc59dd202 Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2017-09-14Create opnfv_k8-ovn-lb-noha_daily.yaml test suite filechenjiankun1-0/+18
JIRA: RDSTICK-811 We need to create opnfv_k8-ovn-lb-noha_daily.yaml so that we can run kubernetes test in k8-ovn-lb-noha scenario. Change-Id: I9c18b6d68c96ef917f3b65e494e3c2d9e1beefdd Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2017-09-13Heat: support non-mesh network toplogyRoss Brattain7-86/+95
Previsouly we added all servers to every network in Heat in a full mesh. To more closely replicate test topology and to limit then number of ports we need to all each server to specify which ports should be connected to each network. This should also allow for some kind of multiport setup. Add optional network_ports dict to each server with network to port_list mapping match inteface based on port name or vld_id replace vld_id matching with network name matching, since network_name == vld_id Change-Id: I5de46b8f673949e3c17d8df6fa96f055c43886ce Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-14improve logging, clear using printrexlee87769-43/+40
Change-Id: I744353f631cf1771d75f750543e8612f81be71ee Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2017-09-13ssh fix, always waitRoss Brattain3-2/+5
Change-Id: I1c529eeb0ef47752ed15e3e7941f57f7793ebfd4 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-13Removed special networking from yardstick container when started by nsb_setup.Maciej Skrocki1-1/+0
Change-Id: Ief1cfd7c018948a9125549400bb5bf0e5c20d730 Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com>
2017-09-13tc063: make node parameter can be passrexlee87761-2/+2
Change-Id: I7af9706085508f2391957dc5633db4152f828bfc Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2017-09-12Merge "Added line parser to INI parser"Ross Brattain2-125/+226
2017-09-12Merge "Bugfix: cleanup command not found"Jing Lu1-1/+3
2017-09-12[DRAFT] add yardstick cli info in userguiderexlee87761-2/+136
Change-Id: Ib52f0f0629c27b35774804be81276427ac29bac2 Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2017-09-12Merge "KVMFORNFV:Livemigration testcase changes in Yardstick"Rex Lee2-2/+6
2017-09-11Added line parser to INI parserEdward MacGillivray2-125/+226
Line parser handles comments, keys and values and makes exceptions. Change-Id: I5cd3612ffd8cb08b14051bd0ef4b757c310f77bd Signed-off-by: Edward MacGillivray <edward.s.macgillivray@intel.com>
2017-09-11Merge "change outage_time from 20 to 30s"Kubi9-18/+18
2017-09-11Merge "Add API(v1) to get real time log"Rex Lee2-0/+51
2017-09-11Bugfix: cleanup command not foundchenjiankun1-1/+3
JIRA: YARDSTICK-808 This bug is from CI, see log: https://build.opnfv.org/ci/view/yardstick/job/yardstick-joid-baremetal-daily-master/1560/consoleFull The reason is we don not have cleanup function in the script. It is in another script clean_image.sh. so I remove it, and call clean_image.sh when in openstack scenario. Change-Id: I844cd9e8f0b6e1e8ff7a6094be37789d35a2c345 Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2017-09-08Merge "testcase: add rate parameter for spec cpu 2006"Jing Lu2-1/+8
2017-09-08Merge "Adding nfvi flag to enable data collection"Ross Brattain22-0/+23
2017-09-08Merge "Adding latency test for vfw"Ross Brattain2-0/+50
2017-09-08Merge "Yardstick TC083: Move sample test case netperf"Ross Brattain1-0/+90
2017-09-08Merge "Yardstick TC082: move sample test case perf.yaml"Ross Brattain1-0/+64
2017-09-08change outage_time from 20 to 30srexlee87769-18/+18
Change-Id: I255c71a75d748f8e7401815a2a5890111a1ee2f5 Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2017-09-07Merge "Adding ixia latency support for dynamic cgnapt"Ross Brattain6-26/+129
2017-09-07Adding ixia latency support for dynamic cgnaptDeepak S6-26/+129
Change-Id: I346f6064c39cb5662c2b17ca0f520addbe5eae4c Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-09-07Merge "updating the traffic profile to enable static cgnapt for ixnet"Ross Brattain5-1/+6
2017-09-07Merge "update yardstick ha test cases dashboard"Kubi7-31/+2430
2017-09-07Merge "Bugfix: ha test case criteria pass when sla not pass"Kubi6-11/+60
2017-09-06Merge "decrease default hugepages, depends on VNF of course"Ross Brattain1-1/+1
2017-09-06Merge "test_kubernetes: mock file operations in test_ssh_key"Ross Brattain1-1/+6
2017-09-06Merge "test_vsperf_dpdk: mock time to speedup unitests"Ross Brattain1-11/+14
2017-09-06Addition of Prox NSB tests in yardstickAbhijit Sinha23-0/+6963
JIRA: YARDSTICK-802 Added Prox L3FWD and Packet buffering tests - The tests supports BM and Openstack Heat - L3FWD tests suports 2 and 4 ports - Packet flow buffering test is a 1 port test - Grafana Dashboards are added TODO: Latency stats are missing in KPI collection Need to invetigate that Coverage if needed! Change-Id: I216a170488d5578622cf8c3748a6277b380f016a Signed-off-by: Abhijit Sinha <abhijit.sinha@intel.com>