aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-09-20prox: fix TG KPIsRoss Brattain4-12/+21
The problem is that we share the same ProxResourceHelper for both VNF and TG. For VNF we want to talk to resource.py and get collectd KPIs. For TG we need to read from the queue the TG calculated KPIs and we also want collectd KPIs. workaround is to use a different method name collect_collectd_kpi for VNFs Change-Id: Icc2132758e37ce210f5600a0cd433077930208e5 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-20Merge "prox testcases: private -> uplink,public -> downlink, vnf_0, tg_0"Ross Brattain22-258/+346
2017-09-20Merge "prox: pass prox_config_dict between Processes using queue"Ross Brattain9-93/+86
2017-09-19add opnfv_os-odl-fdio-dvr-ha_daily.yaml scenarioRoss Brattain1-0/+38
Change-Id: I723477edf810a220816a2e67aa80f7f144efb3a6 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-19prox: pass prox_config_dict between Processes using queueRoss Brattain9-93/+86
we generate the prox_config_dict in the _run Process, but we also need it in the _traffic_runner Process to get core info. use a queue to pass the config list between the processes enable collect_kpi Change-Id: Ibaf41d606e559a87addf43d6ddaed206dbd2d20c Signed-off-by: Ross Brattain <ross.b.brattain@intel.com> Signed-off-by: Edward MacGillivray <edward.s.macgillivray@intel.com>
2017-09-19Merge "Fixed few gaps when running on a minimal version of system"Ross Brattain2-1/+2
2017-09-19Fixed few gaps when running on a minimal version of systemMaciej Skrocki2-1/+2
- we need to make sure we have lsof installed - we need to update cache inside the image, because we are unable to install some of them Change-Id: Ic555489779e9096540001cb9c62ea2ab25c1ae90 Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com>
2017-09-19Merge "UDP_Replay: enable collectd KPIs"Ross Brattain1-1/+1
2017-09-19Merge "add scenario opnfv_os-nosdn-bar-ha_daily.yaml for Barometer"Ross Brattain2-0/+223
2017-09-19prox testcases: private -> uplink,public -> downlink, vnf_0, tg_0Ross Brattain22-258/+346
Change-Id: I85afff4582bf538fcd0be5b4db1405a4da2573f9 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-19UDP_Replay: enable collectd KPIsRoss Brattain1-1/+1
Change-Id: I92146411707a9ec29864d164dbd63b96d05bffe0 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-19Merge "apiserver: mock socket.gethostbyname"Ross Brattain1-0/+6
2017-09-18add scenario opnfv_os-nosdn-bar-ha_daily.yaml for BarometerRoss Brattain2-0/+223
For now just copied and renamed opnfv_os-nosdn-nofeature-ha_daily.yaml Change-Id: Idbd37a3e21220aa407d053157da71b449bad15ee Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-18NSB: count from 0, vnf_0, tg_9, private->uplink, public->downlinkRoss Brattain151-1062/+1088
Also rename private to uplink, public to downlink for scale-out template we need to count from 0 so we can use range() without +1/-1 errors vnf_0, vnf_1 tg_0, tg_1 also fix Ixia defaults Change-Id: I6aecfbb95f99af20f012a9df19c19be77d1b5b77 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com> Signed-off-by: Edward MacGillivray <edward.s.macgillivray@intel.com>
2017-09-18Merge "NSB test: remove vld_id it is not needed"Ross Brattain8-16/+0
2017-09-18Merge "Fixing vPE config creation anf bring up issues."Ross Brattain1-2/+0
2017-09-18NSB test: remove vld_id it is not neededRoss Brattain8-16/+0
we get vld_id from the topology, we don't need it in Heat context Change-Id: I42c2309dda919e5b2026065dda851555df76ba57 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-18Merge "Fix all the exception while genereating the latency traffic"Ross Brattain2-23/+19
2017-09-18Merge "vnf_generic: adjust ssh timeout for number of VNFs"Ross Brattain1-4/+9
2017-09-17Fixing vPE config creation anf bring up issues.Deepak S1-2/+0
Change-Id: Icf7a01a053495e6d96bd664d6ceda8964fa437eb Signed-off-by: Deepak S <deepak.s@linux.intel.com> Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-17Fix all the exception while genereating the latency trafficDeepak S2-23/+19
Change-Id: I0b25e704b29fc68678eaa29d9e1d1eb04ee94e3e Signed-off-by: Deepak S <deepak.s@linux.intel.com> Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-17Terminate 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-18Merge "Added multi-port testcases for vFW"Ross Brattain5-104/+204
2017-09-17Added 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-17rename odl_l3 tests to just odlRoss Brattain3-0/+166
Change-Id: I664437d598db9f9dcc7036e306b8a4edc40287cf Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-15Fix 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-15vnf_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-15Merge "NSB: fix port topology"Ross Brattain75-1688/+2360
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-14NSB: 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-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>