aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-08-24Merge "add ppm into result of pktgen to make result clear"Ross Brattain2-11/+12
2017-08-24Merge "nsb: update HEAT testcases"Ross Brattain3-14/+183
2017-08-24Added proxy setup for standard cloudimage playbooks.Maciej Skrocki2-0/+4
Change-Id: I4f29f584395d58b2fcece1ca8fcbda78a64e3a66 Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com>
2017-08-24Standardized TRex client library pathMaciej Skrocki35-1546/+189
- path should be defined via TREX_CLIENT_LIB environmental variable e.g. TREX_CLIENT_LIB=/opt/trex_client/stl - refactored unit tests Change-Id: I18767e48daf774432c010f1b88d18a4f0ee4e156 Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com> Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-08-24nsb: update HEAT testcasesRoss Brattain3-14/+183
use yardstick-samplevnfs image name always create DPDK flavor, we require 1 socket, 10 cores remove hardcoded external network add gateway_ip: null to prevent multiple default gateways ssh bug with Heat add enable_dhcp: false Change-Id: I85787b72bf6ebf1c330f20f50f7a7a2b12aa995e Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-08-23ansible: update dpdk, trex and samplevnf installRoss Brattain38-420/+315
we now clone samplevnf from git repo made install_samplevnf role that takes as parameter VNF name added ubuntu_server_cloudimg_modify_samplevnfs playbook Change-Id: I5724e3b844b3137542a5c293516893a5c80f5c61 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-08-24Add function to upload image from local/url in GUIchenjiankun16-267/+723
JIRA: YARDSTICK-782 As user, we need to upload image from local/url. If upload image from local, user need to choose local image, then we will load it to openstack. If upload image from url, we will download it and load it to openstack. Change-Id: Ia9a42fda15a1dfc91476643635343a2f77a94a6b Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2017-08-23Fixed invalid vfw/vacl rulw config issuesDeepak S1-2/+2
Change-Id: Ib96bc4bec359005e04e4a839846779d918881ba4 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-08-23Fixed 1C/2T configuration issues.Deepak S1-1/+1
Change-Id: I361d88043076c2f901ff6df22f2849edc7559ba0 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-08-23Fix Scale-up issue in HWLBDeepak S1-2/+12
Change-Id: I62e23bf0c9811ecf0eedb1cd8adc8cf541cd4b7e Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-08-24Merge "Add common openstack opertation scenarios: volume & floating ip"Jing Lu9-0/+411
2017-08-23Merge "samplevnf_helper: use network address"Ross Brattain2-43/+67
2017-08-23Merge "Re-define the framesize and flow dynamic define in testcase"Ross Brattain46-493/+482
2017-08-23Merge "ssh: add new get_file_obj method to fetch remote files"Ross Brattain2-2/+16
2017-08-23improve tc002 to make packet size parameterizerexlee87761-2/+3
JIRA: YARDSTICK-793 Change-Id: I95d014ad3d2e19dd2df1f5e72d994da2f44d4544 Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2017-08-23Add test case file, document and related scripts of yardsticktjuyinkanglin10-1/+416
tc057(HA_TC014) JIRA: YARDSTICK-779 Change-Id: I6a812b1c88229b20a0dd0ce5bc135c9ba15266db Signed-off-by: tjuyinkanglin <14_ykl@tongji.edu.cn>
2017-08-22Add rpm,image directories and SLA options to LivemigrationRajithaY1-1/+16
This patch includes adding of rpm and image directories in addition to scripts directory for execution of live migration test case and SLA options for downtime,totaltime and setuptime. Change-Id: I22747b978aa16b6c3ee9e3cdd05cf77a10207626 Signed-off-by:RajithaY<rajithax.yerrumsetty@intel.com>
2017-08-23Test case: add test config file for TC078 and TC079JingLu52-0/+93
Change-Id: I47c6f1bf85caa814f019a8aec446c99bb8d99f0d Signed-off-by: JingLu5 <lvjing5@huawei.com>
2017-08-23Add common openstack opertation scenarios: volume & floating ipJingLu59-0/+411
JIRA: YARDSTICK-781 This patch adds some common openstack opertation scenarios Change-Id: I1300a61b389202242f112b6d280ab47746379546 Signed-off-by: JingLu5 <lvjing5@huawei.com>
2017-08-23Merge "Add test case file and document of Tardstick TC056(HA_TC013)"Jing Lu2-0/+230
2017-08-23Merge "Add test case file, document and related scripts of yardstick ↵Jing Lu5-1/+309
tc058(HA_TC015)"
2017-08-22Collectd FixesDhaval Patel1-23/+13
This fixes collectd installation as well as configuration: 1) Proxy fix, avoid overriding env proxy if already specified under 'http_proxy' env var and not specified on cmd 2) Install 'libvirt-dev' for 'virt' collectd plugin 3) Using dpdk already downloaded by nsb_setup rather than getting latest , because master branch dpdk is failing while building eal_memory 4) Fix typo while checkout new branch Change-Id: I0cc36f49d48d80f7edc35634dfe77016bd35978a Signed-off-by: Dhaval Patel <dhaval.r.patel@intel.com>
2017-08-22Test case: Fio volume benchmark testcase using job fileJingLu54-37/+280
JIRA: YARDSTICK-791 In some use cases, Fio is used with a job file instead of parameters. This work is about adding support for the job file and add a new test case for volume testing. Change-Id: I312d61bf6e7d95f23eedb0b6487f6103b7d76355 Signed-off-by: JingLu5 <lvjing5@huawei.com>
2017-08-22DRAFT: update yardstick generic test cases dashboardrexlee877625-5540/+11419
current dashboard is obselete and hard to understand add local grafana dashboard automatically import by "yardstick env grafana" update grafana version to latest steady Change-Id: Iffae9170231d3e0867a52a1f6b5e99c4650b7326 Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2017-08-22Merge "Add common openstack opertation scenarios: subnet & port"Jing Lu13-0/+669
2017-08-22Merge "Enable vnf/tg instantiate as blocking call."Ross Brattain1-1/+0
2017-08-21ssh: add new get_file_obj method to fetch remote filesRoss Brattain2-2/+16
We can either cat remote files, or we can just sftp get them. use sftp get for /proc/cpuinfo since it can be so very large on systems with 88+ cores. Change-Id: I420b8c5eefdce8bb3e3b13dcc8257583dee537c1 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-08-22Merge "test_vsperf_dpdk: remove unused and incorrect mock open"Ross Brattain1-2/+0
2017-08-21samplevnf_helper: use network addressRoss Brattain2-43/+67
use network address with netmasks to be proper ports_mac_list is no longer valid, remove it nd_route_tbl needs to default to something otherwise the VNF will segfault if it receives IPv6 on the port, which it will because something in Neutron is sending out IPv6 packets. disable use of the routing table gateways to set arp add. We set the next hop IP to always be the TG IP address, so we need to always use the TG IP in arp add to send to the TG MAC address don't use gateways to get local addresses. we can't use gateways because with OpenStack if we define a gateway is breaks the default route and we can no longer connect to the instance via floating IP. Change-Id: I0ebefe8ac09812b6030046f73bf772edda1c7d27 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-08-21Re-define the framesize and flow dynamic define in testcaseDeepak S46-493/+482
This patch adds the framesize and flow into test option instead of adding a seperate file to avoid the multiple file update incase of ip change. Change-Id: Ic473c73773ad36422ecc02618b8c646a5336b70a Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-08-21Merge "Refactor to make file sys more like class inheritance"Ross Brattain13-18/+23
2017-08-21Refactor to make file sys more like class inheritanceEdward MacGillivray13-18/+23
Change-Id: I5471d2e894ca78407a57f3ba01202264c69ad174 Signed-off-by: Edward MacGillivray <edward.s.macgillivray@intel.com>
2017-08-21add ppm into result of pktgen to make result clearrexlee87762-11/+12
Change-Id: I6649960dc9fbc61c22c9b7434805fc335634960b Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2017-08-20vnf_generic: fixup topology probe logicRoss Brattain1-4/+4
fix exception handling Change-Id: I46fd0dbf21f3d3308e4f38fcfae5df2716ad7190 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-08-21bugfix: tc063 fails to get the correct result in ubuntu noderexlee87761-2/+2
Change-Id: If96dc008d898a77445246aa7e9c98fab160626df Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2017-08-20test_vsperf_dpdk: remove unused and incorrect mock openRoss Brattain1-2/+0
need to use create=True with mock open anyway Change-Id: I3a35688cf8c367434db9d0cf057030d49deddd0d Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-08-20remove apexlake-verifyRoss Brattain1-29/+0
Change-Id: I5ac8e5d573c390460e2472c7b3b4649cc78dd295 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-08-21Add common openstack opertation scenarios: subnet & portJingLu513-0/+669
JIRA: YARDSTICK-781 This patch adds some common openstack opertation scenarios Change-Id: Ie59f0d5ae0842f8347824c961436b889a95b1a72 Signed-off-by: JingLu5 <lvjing5@huawei.com>
2017-08-21Merge "Add common openstack opertation scenarios: network"Jing Lu7-0/+316
2017-08-19Merge "import_modules_from_package: refactor with generators"Ross Brattain2-41/+20
2017-08-19Merge "Fix IxLoad traffic generator issue around running the traffic."Ross Brattain6-44/+107
2017-08-19Merge "Support traffic generator for testing more than 10 ports"Ross Brattain2-4/+4
2017-08-19Fix IxLoad traffic generator issue around running the traffic.Deepak S6-44/+107
Change-Id: Ic1f13c0d28c1a1b01bbf3c8a6a618a5b3ab5bbeb Signed-off-by: Deepak S <deepak.s@linux.intel.com> Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-08-19import_modules_from_package: refactor with generatorsRoss Brattain2-41/+20
remove ..... split and use os.path.relpath to remove prefix use set operations to find missing modules, so we don't need to check dict contains multiple times Change-Id: I9531360fb9b2999e83874f144f1d06d825b22b2c Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-08-19Fix parsing of the results from collectd pluginsDeepak S2-17/+19
Change-Id: I3f7b9ca17164564b11517116e7e73b47f42243b9 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-08-19Support traffic generator for testing more than 10 portsDeepak S2-4/+4
Change-Id: I9c027af082cedbadc23b0151d403dab4e9756da4 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-08-17Fix import error in IxNetworkDeepak S5-18/+15
This patch fixes import error related to ixnetwork and do not wait for TG server to start as IXIA is always running :) Change-Id: I49d6b100eadafad75431cb8974605a6faa496f23 Signed-off-by: Deepak S <deepak.s@linux.intel.com> Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-08-17improve tc055 resultsrexlee87761-7/+6
Change-Id: Ib1282c75c5f9cdc416bedf5c7a2e2d3f44c737f1 Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2017-08-17samplevnf: fix make_ip_addrRoss Brattain1-1/+1
we get TypeError sometimes, so we need to catch them Change-Id: I5fc58006f18acf84f62d8f4a21077d71b2fb0ed8 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-08-17Merge "utils: create TASK_LOG_DIR if it doesn't exist"Ross Brattain2-1/+3