yardstick.git
6 years agoMerge "Fix python lib path for ixload control subprocess" into stable/gambia
Rex Lee [Fri, 9 Nov 2018 02:01:46 +0000 (02:01 +0000)]
Merge "Fix python lib path for ixload control subprocess" into stable/gambia

6 years agoMerge "Cleanup of ixia_profile attribute for IxNetwork TG" into stable/gambia
Rex Lee [Fri, 9 Nov 2018 02:01:36 +0000 (02:01 +0000)]
Merge "Cleanup of ixia_profile attribute for IxNetwork TG" into stable/gambia

6 years agoMerge "Adding new test case for prox Standalone L3FWD." into stable/gambia
Rex Lee [Fri, 9 Nov 2018 02:01:22 +0000 (02:01 +0000)]
Merge "Adding new test case for prox Standalone L3FWD." into stable/gambia

6 years agoCleanup of ixia_profile attribute for IxNetwork TG 97/64797/1
Orest Voznyy [Thu, 1 Nov 2018 11:39:44 +0000 (13:39 +0200)]
Cleanup of ixia_profile attribute for IxNetwork TG

Remove obsolete attribute "ixia_profile" from
 - test cases using IxNetwork as a TG
 - from unit tests related to IxNetwork

Remove ixncfg files from repo.
Remove mention of ixncfg files from test case files

JIRA: YARDSTICK-1506

Change-Id: I5f8087cef74ac80ced0cfa310fdb5f91550d08f5
Signed-off-by: Orest Voznyy <orestx.voznyy@intel.com>
(cherry picked from commit fff1e25f3a882739b94458c741a5f86645f1210c)

6 years agoBugfix: Gambia ci job failed on apex and compass 85/64785/1
rexlee8776 [Thu, 8 Nov 2018 06:51:37 +0000 (06:51 +0000)]
Bugfix: Gambia ci job failed on apex and compass

update according to [1]

[1]
https://github.com/openstack/requirements/blob/stable/queens/upper-constraints.txt

Change-Id: If21e39470a33b9e7591cebe7f24b8f689edf4898
Signed-off-by: rexlee8776 <limingjiang@huawei.com>
(cherry picked from commit c6469463d18afa4833483e99f2fa61087874bbac)

6 years agoAdding new test case for prox Standalone L3FWD. 77/64777/1
Carey, Alan [Wed, 7 Nov 2018 07:58:20 +0000 (07:58 +0000)]
Adding new test case for prox Standalone L3FWD.

This contains two files: 2 & 4 port test cases.

JIRA: YARDSTICK-1515

Change-Id: I9b6b5fd47a854571bc4e9f67c570b183e65245db
Signed-off-by: Carey, Alan <alan.carey@intel.com>
(cherry picked from commit 6d68fedcff4f4cc3ff9d1a44ae2f57fe0ad10eab)

6 years agoMerge "Make OvS max_idle & queues configuration optional" into stable/gambia
Rex Lee [Thu, 8 Nov 2018 11:28:17 +0000 (11:28 +0000)]
Merge "Make OvS max_idle & queues configuration optional" into stable/gambia

6 years agoMerge "Allow to see steady state status in the yardstick logs" into stable/gambia
Abhijit Sinha [Wed, 7 Nov 2018 17:26:03 +0000 (17:26 +0000)]
Merge "Allow to see steady state status in the yardstick logs" into stable/gambia

6 years agoMerge "Add Testcase for Prox Standalone SRIOV." into stable/gambia
Abhijit Sinha [Wed, 7 Nov 2018 16:10:33 +0000 (16:10 +0000)]
Merge "Add Testcase for Prox Standalone SRIOV." into stable/gambia

6 years agoMake OvS max_idle & queues configuration optional 79/64679/2
Mytnyk, Volodymyr [Fri, 12 Oct 2018 16:53:17 +0000 (17:53 +0100)]
Make OvS max_idle & queues configuration optional

Remove hardcoded rx queue value

JIRA: YARDSTICK-1493

Change-Id: Ia4944db21d94399c724bcabf4e0eae809518e7e9
Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
(cherry picked from commit 68c127e17028e9961abcbd1c9a72fe2b878c427b)

6 years agoMerge "Update Multi Port Stats reading for PROX" into stable/gambia
Abhijit Sinha [Tue, 6 Nov 2018 16:53:10 +0000 (16:53 +0000)]
Merge "Update Multi Port Stats reading for PROX" into stable/gambia

6 years agoMerge "Test case override of traffic profile settings." into stable/gambia
Abhijit Sinha [Tue, 6 Nov 2018 16:53:02 +0000 (16:53 +0000)]
Merge "Test case override of traffic profile settings." into stable/gambia

6 years agoMerge "Add Testcase for Prox Standalone OvS-DPDK." into stable/gambia
Abhijit Sinha [Tue, 6 Nov 2018 16:52:22 +0000 (16:52 +0000)]
Merge "Add Testcase for Prox Standalone OvS-DPDK." into stable/gambia

6 years agoMerge "[docs] Add vEPC test case preparation steps" into stable/gambia
Abhijit Sinha [Tue, 6 Nov 2018 16:50:51 +0000 (16:50 +0000)]
Merge "[docs] Add vEPC test case preparation steps" into stable/gambia

6 years agoAdd Testcase for Prox Standalone SRIOV. 01/64601/1
Carey, Alan [Thu, 11 Oct 2018 06:15:04 +0000 (07:15 +0100)]
Add Testcase for Prox Standalone SRIOV.

No sample testcase for prox SRIOV standalone.

Renamed pod file so that other prox testcases can use this file

JIRA: YARDSTICK-1471

Change-Id: Icc20e395a3fb4c9d1398f85198d64682b2a9ee33
Signed-off-by: Carey, Alan <alan.carey@intel.com>
(cherry picked from commit 0eaa53d46f1f2ced9a1d40ebf820580bf314b4a1)

6 years agoTest case override of traffic profile settings. 87/64587/1
DanielMartinBuckley [Thu, 12 Jul 2018 12:11:00 +0000 (13:11 +0100)]
Test case override of traffic profile settings.

JIRA: YARDSTICK-1298

Allow the test case file e.g. "tc_prox_baremetal_l2fwd-4.yaml"
settings to override the values in the traffic_profile file
e.g. "prox_binsearch.yaml"

This is done by adding the "traffic_config" section to the
"options" section in the "test case file".

See below :-

  options:
    interface_speed_gbps: 10

    traffic_config:
      tolerated_loss: 0.001
      test_precision: 0.1
      packet_sizes: [64]
      duration: 30
      lower_bound: 0.0
      upper_bound: 100.0

    vnf__0:
      prox_path: /opt/nsb_bin/prox
      prox_config: "configs/handle_l2fwd-4.cfg"
      prox_args:
        "-t": ""

    tg__0:
      prox_path: /opt/nsb_bin/prox
      prox_config: "configs/gen_l2fwd-4.cfg"
      prox_args:
        "-e": ""
        "-t": ""

Precedence of the traffic settings.

1. Values provided in the "traffic_config" section, inside
   the "options" section, of the test case file
2. values provided in the "traffic_profile" section of the
   traffic_profile file

Change-Id: I6b4e123e865c9dab548f9ad28647f95b53410e8f
Signed-off-by: Daniel Martin Buckley <daniel.m.buckley@intel.com>
(cherry picked from commit 383c438cda94a1004bc9552a5993fe3ff3e6da8f)

6 years agoUpdate Multi Port Stats reading for PROX 85/64585/1
DanielMartinBuckley [Thu, 5 Jul 2018 16:55:29 +0000 (17:55 +0100)]
Update Multi Port Stats reading for PROX

JIRA: YARDSTICK-1458

Removed excessive jitter by removing extra sleeps in start/stop/reset
  ssh
Removed extra retries when bad data returned
Added a slep at end of test to give runner a chance to empty the queue
  on shutdown
Added a timeout on port retry attempts

Change-Id: Ica60b11c7af242817a83c154157827581f60d16a
Signed-off-by: Daniel Martin Buckley <daniel.m.buckley@intel.com>
(cherry picked from commit b2fd601c33e3322ccc9e675242f091dba2eeb644)

6 years agoMerge "[docs] Test case documentation for vEPC testing" into stable/gambia
Rex Lee [Tue, 6 Nov 2018 06:36:58 +0000 (06:36 +0000)]
Merge "[docs] Test case documentation for vEPC testing" into stable/gambia

6 years agoMerge changes I526c328f,I7bb14112,Idfe77900 into stable/gambia
Rex Lee [Tue, 6 Nov 2018 06:35:15 +0000 (06:35 +0000)]
Merge changes I526c328f,I7bb14112,Idfe77900 into stable/gambia

* changes:
  [docs] Update on Yardstick installation
  [docs] Add conventions for writing unit tests.
  [docs] Add developer guidelines for contribution

6 years ago[docs] Add vEPC test case preparation steps 01/64501/1
Orest Voznyy [Wed, 31 Oct 2018 15:27:04 +0000 (17:27 +0200)]
[docs] Add vEPC test case preparation steps

Add documentation to review the changes to original vEPC infrastructure
files to configure NSB test run in a specific test setup.

Add initial steps to prepare NSB to use Spirent Landslide for vEPC tests.

JIRA: YARDSTICK-1459

Change-Id: I3b937b1a21d6ec6851a92946e46c679385fdff9c
Signed-off-by: Orest Voznyy <orestx.voznyy@intel.com>
(cherry picked from commit dc55a775f7aa62be7ed17cc33aa1b0bac54c081f)

6 years agoFix python lib path for ixload control subprocess 91/64491/1
Chornyi, TarasX [Fri, 28 Sep 2018 08:43:19 +0000 (11:43 +0300)]
Fix python lib path for ixload control subprocess

JIRA: YARDSTICK-1390

Change-Id: I3ef5242862c98d3b389ba127f909f47e26c0711d
Signed-off-by: Chornyi, TarasX <tarasx.chornyi@intel.com>
(cherry picked from commit 376720a9ff56a9e71b6bc63b1d621f0c600088e1)

6 years ago[docs] Test case documentation for vEPC testing 95/64395/1
Abhijit Sinha [Wed, 24 Oct 2018 17:04:35 +0000 (18:04 +0100)]
[docs] Test case documentation for vEPC testing

JIRA: YARDSTICK-1349

The test case document will cover the following:
- test purpose
- test configuration
- pre-test conditions
- test sequence
- test verdict

Change-Id: I2841a7ff3d248bb3e4739579fad722dc02b5504f
Signed-off-by: Abhijit Sinha <abhijit.sinha@intel.com>
(cherry picked from commit c8bde3b59031b352bf09302ae7644436860602d7)

6 years agoMake OvS to listen on TCP by default 79/64379/1
Mytnyk, Volodymyr [Thu, 11 Oct 2018 17:16:06 +0000 (18:16 +0100)]
Make OvS to listen on TCP by default

JIRA: YARDSTICK-1492

Change-Id: I81c682d473ffe3d70ecbb42cce40c2d16e608b41
Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
6 years agoMerge changes Ia8783de8,I61421095 into stable/gambia
Emma Foley [Thu, 1 Nov 2018 11:04:16 +0000 (11:04 +0000)]
Merge changes Ia8783de8,I61421095 into stable/gambia

* changes:
  Update: Trex KPI not collected no rabbitmq user
  Trex KPI are not collected due to rabbitmq user

6 years agoMerge "Fix default IPv4 mask for IxNetwork traffic config" into stable/gambia
Abhijit Sinha [Thu, 1 Nov 2018 10:07:30 +0000 (10:07 +0000)]
Merge "Fix default IPv4 mask for IxNetwork traffic config" into stable/gambia

6 years agoUpdate: Trex KPI not collected no rabbitmq user 47/64347/1
Stepan Andrushko [Wed, 31 Oct 2018 17:07:08 +0000 (19:07 +0200)]
Update: Trex KPI not collected no rabbitmq user

Update of review #63707: missed yardstick password hash.
This must be set on top of changes on review.

JIRA: YARDSTICK-1479

Change-Id: Ia8783de81ad91ea7421c6bbff87a30c59db2d44c
Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
6 years agoTrex KPI are not collected due to rabbitmq user 45/64345/1
Stepan Andrushko [Thu, 18 Oct 2018 18:16:09 +0000 (21:16 +0300)]
Trex KPI are not collected due to rabbitmq user

Changed the way rabbitmq-server user is created. Fix is needed to
collect KPIs from Trex.

JIRA: YARDSTICK-1479

Change-Id: I6142109563fcdb27e0ec554dd08567a1a43237e7
(cherry picked from commit d06e6da19db545dfcc6fdfdc706b9cccdb75c498)
formerly: I54369535fdb7af6af76de30f758227736f83db78
Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
6 years agoMerge "Adding Grafana dashboard for visualizing the vEPC default bearer metrics....
Abhijit Sinha [Wed, 31 Oct 2018 18:25:26 +0000 (18:25 +0000)]
Merge "Adding Grafana dashboard for visualizing the vEPC default bearer metrics." into stable/gambia

6 years agoMerge "Revert "Trex KPI are not collected due to rabbitmq user"" into stable/gambia
Abhijit Sinha [Wed, 31 Oct 2018 17:19:58 +0000 (17:19 +0000)]
Merge "Revert "Trex KPI are not collected due to rabbitmq user"" into stable/gambia

6 years agoRevert "Trex KPI are not collected due to rabbitmq user" 27/64327/1
Emma Foley [Wed, 31 Oct 2018 16:34:59 +0000 (16:34 +0000)]
Revert "Trex KPI are not collected due to rabbitmq user"

This causes the docker-build jobs to fail in the CI.

This reverts commit ce809669d3051524508edf5a3d69e83dde8a9080.

Change-Id: Iea66bc92eaee39c5b7427ea55c190f8c0dbf5ad4
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
6 years agoAdding Grafana dashboard for visualizing the vEPC default bearer metrics. 15/64315/1
Carey, Alan [Tue, 30 Oct 2018 09:02:28 +0000 (09:02 +0000)]
Adding Grafana dashboard for visualizing the vEPC default bearer metrics.

The dashboard will highlight the Network metrics captured from Spirent landslide traffic generator.

JIRA: YARDSTICK-1350

Change-Id: I47920446181355a97e875fd82afd633b336c8da6
Signed-off-by: Carey, Alan <alan.carey@intel.com>
(cherry picked from commit 5bf76a7a2ead6e8c3a0d8bc05c7ec89d9faaa5a5)

6 years agoMerge "[docs] Update the glossary" into stable/gambia
Emma Foley [Wed, 31 Oct 2018 12:44:22 +0000 (12:44 +0000)]
Merge "[docs] Update the glossary" into stable/gambia

6 years agoFix default IPv4 mask for IxNetwork traffic config 03/64303/1
Serhiy Pshyk [Fri, 19 Oct 2018 08:46:05 +0000 (09:46 +0100)]
Fix default IPv4 mask for IxNetwork traffic config

IP mask is set depending on the IP range provided by the user in the
traffic profile. In case of single IP in range, IPV4LENGTH value is
used as mask should cover all address bits.

JIRA: YARDSTICK-1478

Change-Id: I5ad40d1f3def52ebcda4400b708b71faf11e12ab
Signed-off-by: Serhiy Pshyk <serhiyx.pshyk@intel.com>
6 years agoMerge "Adds option parameters to TC074" into stable/gambia
Rex Lee [Wed, 31 Oct 2018 11:28:56 +0000 (11:28 +0000)]
Merge "Adds option parameters to TC074" into stable/gambia

6 years agoMerge "Dashboard with Network and Platform NFVi metrics" into stable/gambia
Emma Foley [Wed, 31 Oct 2018 10:06:37 +0000 (10:06 +0000)]
Merge "Dashboard with Network and Platform NFVi metrics" into stable/gambia

6 years agoMerge "Add RFC2544 iteration status field" into stable/gambia
Abhijit Sinha [Wed, 31 Oct 2018 09:39:29 +0000 (09:39 +0000)]
Merge "Add RFC2544 iteration status field" into stable/gambia

6 years agoMerge "Add test library name update in DMF and mainflows" into stable/gambia
Emma Foley [Tue, 30 Oct 2018 20:36:49 +0000 (20:36 +0000)]
Merge "Add test library name update in DMF and mainflows" into stable/gambia

6 years agoAdd RFC2544 iteration status field 49/64249/1
Mytnyk, Volodymyr [Mon, 20 Aug 2018 19:16:36 +0000 (20:16 +0100)]
Add RFC2544 iteration status field

 Added new RFC2544 iteration status field into the
testcase result to be able to exctract the best
RX/TX throughput value from each iteration.

 The field equal "Success" if the trhoughput value is in the
given drop percentage range and "Failure" otherwise.

JIRA: YARDSTICK-1389

Change-Id: I2fb2ef036b63a0e7bbf3d6c6568d3bdffa488e1f
Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
(cherry picked from commit 0ff5b131fa3f93f8d47b46c2f13661c5b88d37a1)

6 years agoDashboard with Network and Platform NFVi metrics 47/64247/1
Abhijit Sinha [Fri, 5 Oct 2018 14:44:52 +0000 (15:44 +0100)]
Dashboard with Network and Platform NFVi metrics

Added the PROX L3FWD Grafana dashboard with NFVi metrics
collected from barometer collectd container.

The dashboard has template field for HOST/SUT name
to get the collectd metrics from that SUT.

JIRA: YARDSTICK-1412

Update:
- Added table and graphs for TG NFVi metrics
- Added TG and SUT templates as IP address
- Added IPC(instruction per cycles) metric

Change-Id: I1f8971f551df27ad6a16241693527285610fc82d
Signed-off-by: Abhijit Sinha <abhijit.sinha@intel.com>
(cherry picked from commit e63084495f47a9f5b5b61b23529792d6898841bb)

6 years agoMerge "Pod file fix for Prox 2 port" into stable/gambia
Abhijit Sinha [Tue, 30 Oct 2018 17:06:19 +0000 (17:06 +0000)]
Merge "Pod file fix for Prox 2 port" into stable/gambia

6 years agoAdd Testcase for Prox Standalone OvS-DPDK. 41/64241/1
Carey, Alan [Tue, 16 Oct 2018 06:55:03 +0000 (07:55 +0100)]
Add Testcase for Prox Standalone OvS-DPDK.

No sample testcase for prox OvS-DPDK standalone.

JIRA: YARDSTICK-1475

Change-Id: Ide65444d08d6c90e7e98d59b7d1f4cba8ca7397f
Signed-off-by: Carey, Alan <alan.carey@intel.com>
(cherry picked from commit b0e92a357658f4ece21e356653e8eb52d7ab8d98)

6 years agoMerge "Fix latency for ACL test cases" into stable/gambia
Abhijit Sinha [Tue, 30 Oct 2018 16:19:30 +0000 (16:19 +0000)]
Merge "Fix latency for ACL test cases" into stable/gambia

6 years agoMerge "Add traffic duration support in test case" into stable/gambia
Abhijit Sinha [Tue, 30 Oct 2018 15:50:18 +0000 (15:50 +0000)]
Merge "Add traffic duration support in test case" into stable/gambia

6 years agoMerge "Trex KPI are not collected due to rabbitmq user" into stable/gambia
Abhijit Sinha [Tue, 30 Oct 2018 15:15:54 +0000 (15:15 +0000)]
Merge "Trex KPI are not collected due to rabbitmq user" into stable/gambia

6 years agoPod file fix for Prox 2 port 39/64239/1
Abhijit Sinha [Thu, 18 Oct 2018 09:53:24 +0000 (10:53 +0100)]
Pod file fix for Prox 2 port

Removing the "keyfile" from the pod file to align with other
pod files for 1 and 4 port. The file when used as such currently
gives an error. This change will fix that.

JIRA:YARDSTICK-1477

Change-Id: Ibfa9387d068a0098ea0eb0b31ad96108d0602abc
Signed-off-by: Abhijit Sinha <abhijit.sinha@intel.com>
(cherry picked from commit 31eac948bba5cf442981fdc7b1392992aaef1f15)

6 years agoFix latency for ACL test cases 37/64237/1
Patrice Buriez [Fri, 12 Oct 2018 17:03:33 +0000 (19:03 +0200)]
Fix latency for ACL test cases

JIRA: YARDSTICK-1460

Cores running "mode=lat" must be properly configured with a correct
"lat pos" parameter. When this parameter is missing, PROX exits with
an error message.
When the "lat pos" parameter is missing for cores running "mode=gen",
latency values are not written into the packets.
Also fixed some typos, packet inline format, IP len and UDP len.

Change-Id: Ice06c5d74686c80f09bc60f568993dbf3165b338
Signed-off-by: Patrice Buriez <patrice.buriez@intel.com>
(cherry picked from commit 7bc7bfb1b43e6329bbfc0ed7a7c5554ebcf10c2b)

6 years agoAllow to see steady state status in the yardstick logs 31/64231/1
Ameed Ashour [Tue, 25 Sep 2018 12:38:43 +0000 (15:38 +0300)]
Allow to see steady state status in the yardstick logs

Change-Id: Ic2281b300ed1de6ecd3daf14b5273db22688de8d
JIRA: YARDSTICK-1454
Signed-off-by: Ameed Ashour <Ameed.Ashour.Ext@nokia.com>
(cherry picked from commit ad08f101fa3a23e9a35fa9ba3e28dd22a054ef52)

6 years ago[docs] Update the glossary 27/64227/1
Emma Foley [Wed, 22 Aug 2018 18:09:15 +0000 (19:09 +0100)]
[docs] Update the glossary

Add some new terms (OpenStack, Docker, PROX).

JIRA: YARDSTICK-1335
Change-Id: I948957cf7b1540f7a027ab9da2d829e5e05c87c8
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
(cherry picked from commit 78b5a19e3071cbc080eeae0bdf22f5ab80c03180)

6 years agoMerge "Add OvS 2.8.1 support into SA context" into stable/gambia
Emma Foley [Tue, 30 Oct 2018 14:32:37 +0000 (14:32 +0000)]
Merge "Add OvS 2.8.1 support into SA context" into stable/gambia

6 years ago[docs] Update on Yardstick installation 25/64225/2
Stepan Andrushko [Fri, 14 Sep 2018 17:05:13 +0000 (20:05 +0300)]
[docs] Update on Yardstick installation

Added details how to install Yardstick using install.yaml.

Updated:
 - 04-installation.rst
 - 13-nsb-installation.rst

JIRA: YARDSTICK-1335

Change-Id: I526c328f1b197833a2cf496cfef15ba89c11fab1
Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
6 years ago[docs] Add conventions for writing unit tests. 23/64223/2
Emma Foley [Wed, 15 Aug 2018 08:55:07 +0000 (09:55 +0100)]
[docs] Add conventions for writing unit tests.

Added details of conventions used when writing unit tests.

JIRA: YARDSTICK-1335
Change-Id: I7bb141126968c88c8a2d7e0dce4f33ed6f79cee4
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
6 years ago[docs] Add developer guidelines for contribution 21/64221/2
Emma Foley [Thu, 2 Aug 2018 17:20:15 +0000 (18:20 +0100)]
[docs] Add developer guidelines for contribution

A new section was added to the devguide, stating
expectations for code contributions.

* What to include in a change
* Code style guidelines
* How to run tests

JIRA: YARDSTICK-1335
Change-Id: Idfe7790042a3a3fe6cd8763374b10f2268bd63cd
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
6 years agoAdds option parameters to TC074 89/63989/2
Ameed Ashour [Tue, 10 Jul 2018 13:42:36 +0000 (16:42 +0300)]
Adds option parameters to TC074

Add option parameters to TC074 to allow the user to specify
volume type, volume count, availability zone, stack name,
and subnet cidr.

JIRA:YARDSTICK-1294
Change-Id: I161f44b5f2c7e70fcfb80a3b916efc34bd06824c
Signed-off-by: Ameed Ashour <Ameed.Ashour.Ext@nokia.com>
(cherry picked from commit 43c28852a9c9abfe7fc66fca0dcc703b468db0cf)

6 years agoConfigure n_rxq DPDK port option when adding the port 19/64219/1
Mytnyk, Volodymyr [Thu, 4 Oct 2018 14:24:56 +0000 (15:24 +0100)]
Configure n_rxq DPDK port option when adding the port

On some platform, setting n_rxq option on port separately
does not work well and causes issues like port link down,
so changed the logic to set n_rxq DPDK port option during
adding the port to the bridge which help to resolve
the problem.

JIRA: YARDSTICK-1463

Change-Id: Icdb064153a38afd53b835de8742e6fcef08f66bb
Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
(cherry picked from commit adcc29e56130f0f047b99528ce72b6f149643da7)

6 years agoAdd OvS 2.8.1 support into SA context 17/64217/1
Mytnyk, Volodymyr [Thu, 4 Oct 2018 12:05:27 +0000 (13:05 +0100)]
Add OvS 2.8.1 support into SA context

JIRA: YARDSTICK-1462

Change-Id: I001a173fc728be6e88f5ae6d38c64b740e536ff2
Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
(cherry picked from commit ad63af7f42d07cffde73c32727f170973ce5ba46)

6 years agoAdd test library name update in DMF and mainflows 97/64197/1
Orest Voznyy [Mon, 22 Oct 2018 15:27:31 +0000 (18:27 +0300)]
Add test library name update in DMF and mainflows

Add automatic update of traffic profile items library name update, as well
as update of session profile Dmf library name, to avoid the need of user
changing it in template files.

Update affected unit tests.

JIRA: YARDSTICK-1474

Change-Id: I18cc8ca99a47da862753329c87d1a560a97f76fa
Signed-off-by: Orest Voznyy <orestx.voznyy@intel.com>
(cherry picked from commit 1fd3806d6a6bac19f3173da4d6cb94cef81fd7f5)

6 years agoAdd traffic duration support in test case 89/64189/1
Orest Voznyy [Mon, 8 Oct 2018 17:06:02 +0000 (20:06 +0300)]
Add traffic duration support in test case

Implement code to support traffic_duration field in test case options.
This updates the 'duration' in Landslide session profile.
traffic_duration should always be much less than runner duration/timeout.

JIRA: YARDSTICK-1427

Change-Id: I51094bade683ca8758136ccb619e8894a2ecef72
Signed-off-by: Orest Voznyy <orestx.voznyy@intel.com>
(cherry picked from commit ae2ceba66519555749c67eefe2170ea716a1411b)

6 years agoTrex KPI are not collected due to rabbitmq user 85/64085/2
Stepan Andrushko [Thu, 18 Oct 2018 18:16:09 +0000 (21:16 +0300)]
Trex KPI are not collected due to rabbitmq user

Changed the way rabbitmq-server user is created. Fix is needed to
collect KPIs from Trex.

JIRA: YARDSTICK-1479

Change-Id: I54369535fdb7af6af76de30f758227736f83db78
Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
(cherry picked from commit d06e6da19db545dfcc6fdfdc706b9cccdb75c498)

6 years agofix yardstick verify job 89/64089/1
rexlee8776 [Wed, 24 Oct 2018 02:49:54 +0000 (02:49 +0000)]
fix yardstick verify job

The regex is not compatible with pip version 18.

JIRA: INFRA-310

Change-Id: I6eaf1e3fac183f85c277934929e9065efa88d877
Signed-off-by: rexlee8776 <limingjiang@huawei.com>
(cherry picked from commit a4084d27de22c64ecb690369c7bed49175703adf)

6 years agoUpdate Ixia tg to use new API for traffic model creation 01/63201/1
Serhiy Pshyk [Fri, 5 Oct 2018 11:15:43 +0000 (12:15 +0100)]
Update Ixia tg to use new API for traffic model creation

JIRA: YARDSTICK-1464

Change-Id: Ibbced9e0e04e077ec5c23fc15e97308dd11b7004
Signed-off-by: Serhiy Pshyk <serhiyx.pshyk@intel.com>
(cherry picked from commit 81ed5cdea4c36d45c6463523c6a0bc38495e544a)

6 years agoMerge "Fix influxdb "field type conflict" error" into stable/gambia
Abhijit Sinha [Thu, 4 Oct 2018 16:16:49 +0000 (16:16 +0000)]
Merge "Fix influxdb "field type conflict" error" into stable/gambia

6 years agoMerge "Fix NSB PROX L3FWD dropping packets" into stable/gambia
Emma Foley [Thu, 4 Oct 2018 09:56:55 +0000 (09:56 +0000)]
Merge "Fix NSB PROX L3FWD dropping packets" into stable/gambia

6 years agoMerge "NSB PROX NFVi Test does not stop after reaching expected precision" into stabl...
Emma Foley [Thu, 4 Oct 2018 09:56:37 +0000 (09:56 +0000)]
Merge "NSB PROX NFVi Test does not stop after reaching expected precision" into stable/gambia

6 years agoFix NSB PROX L3FWD dropping packets 17/63117/3
Patrice Buriez [Mon, 24 Sep 2018 14:59:02 +0000 (16:59 +0200)]
Fix NSB PROX L3FWD dropping packets

JIRA: YARDSTICK-1037

Adjusted number of RX/TX descriptors to 2048, instead of default 256,
in order to cope with interrupts during which no packets are received
by the core, which results in the NIC dropping packets when it gets out
of available descriptors to buffer them.
Also adjusted mempool size, because more descriptors need more mbufs.

This change aligns L3FWD test case with other test cases, for which
number of RX/TX descriptors is already set to 2048.

Change-Id: I11378c078398aca799295b619bb3d14dbee04ca3
Signed-off-by: Patrice Buriez <patrice.buriez@intel.com>
(cherry picked from commit 3adfba6bac0133bdbaa3db62e16f662e11d84fb8)

6 years agoMerge "Modify IxNextgen API for traffic model configuration" into stable/gambia
Emma Foley [Thu, 4 Oct 2018 09:18:17 +0000 (09:18 +0000)]
Merge "Modify IxNextgen API for traffic model configuration" into stable/gambia

6 years agoFix influxdb "field type conflict" error 19/63119/2
Patrice Buriez [Mon, 1 Oct 2018 11:36:33 +0000 (13:36 +0200)]
Fix influxdb "field type conflict" error

JIRA: YARDSTICK-1457

Field types must be consistent across points in a measurement, otherwise
influxdb rejects newer points with "field type conflict" error.

This error was faced when "theor_max_throughput" field, meant to be
assigned as a float from "TxThroughput" sample, was instead assigned as
an int from initial value of theor_max_thruput variable. This especially
occured for subsequent packet sizes, when theor_max_thruput variable was
reset to its default int value.

This fix changes the default value of theor_max_thruput variable to 0.0,
and also makes sure that the default value for "Actual_throughput" field
is consistently a float.

Change-Id: If8d4f1297094709fe9657ab3e2b8adaad09815b2
Signed-off-by: Patrice Buriez <patrice.buriez@intel.com>
(cherry picked from commit 2f4418798a3cf245f863a617410403f226062ac8)

6 years agoNSB PROX NFVi Test does not stop after reaching expected precision 15/63115/2
DanielMartinBuckley [Mon, 10 Sep 2018 18:02:10 +0000 (19:02 +0100)]
NSB PROX NFVi Test does not stop after reaching expected precision

JIRA: YARDSTICK-1419

When using prox_binsearch algorithm, a binary search is
performed, increasing lower bound when step was successful
and decreasing upper bound when the step was a failure.

This runs until the test_precision (as specified in the
traffic profile) is reached. When the test precision
is reached, the test is not completed until the
runner duration is reached.

As runner duration is usually high (e.g. 1800sec), the
tests take much too long to execute.
This makes it difficult to create test suites.

Change-Id: I6cc503a09fb534a556c61c805e6df4786bb8cc4b
Signed-off-by: Daniel Martin Buckley <daniel.m.buckley@intel.com>
(cherry picked from commit 7d5ff45a3b793f5e50b4a32b2438ab11fed6c899)

6 years agoModify IxNextgen API for traffic model configuration 13/63113/1
Serhiy Pshyk [Tue, 25 Sep 2018 16:37:05 +0000 (17:37 +0100)]
Modify IxNextgen API for traffic model configuration

Changes to IxNextgen API:
 - modify API for traffic model configuration so that it can be used
   to create/configure different models
 - add methods to start and stop protocols on IxNetwork
 - add method for getting assigned ports

JIRA: YARDSTICK-1455

Change-Id: I43c10fea9ba83994caf373ceff8b0252a45439b3
Signed-off-by: Serhiy Pshyk <serhiyx.pshyk@intel.com>
(cherry picked from commit 7237241a396871d637f9906c1fc93a8587a7b726)

6 years agoUpdate the pinned sampleVNF version 23/62923/1
Patrice Buriez [Tue, 18 Sep 2018 09:52:48 +0000 (11:52 +0200)]
Update the pinned sampleVNF version

JIRA: YARDSTICK-1414

Updated the sampleVNF version to the most recent validated commit.
Provided comments on accepted version types and values, and on where
users can find alternative values, in case they want to try something
different than the version recommended and validated for Yardstick/NSB.

Change-Id: I336f96237fcfa8b580c91c787d722d368cc6c015
Signed-off-by: Patrice Buriez <patrice.buriez@intel.com>
(cherry picked from commit ee5d6413dbcbab40234e47ed3e74b85b704d6493)

6 years agoMerge "SA: Fix private key file name generation issue"
Abhijit Sinha [Fri, 21 Sep 2018 16:48:02 +0000 (16:48 +0000)]
Merge "SA: Fix private key file name generation issue"

6 years agoMerge "[NSB] Adds support for running "black box" test cases for VNFs"
Abhijit Sinha [Fri, 21 Sep 2018 16:36:23 +0000 (16:36 +0000)]
Merge "[NSB] Adds support for running "black box" test cases for VNFs"

6 years ago[NSB] Adds support for running "black box" test cases for VNFs 79/61979/7
Chornyi, TarasX [Fri, 7 Sep 2018 09:11:04 +0000 (12:11 +0300)]
[NSB] Adds support for running "black box" test cases for VNFs

Using AgnosticVNF is now possible to create a "black box"
testcase for any VNF.

Example rfc2544 test with TRex as trafficgen

samples/vnf_samples/nsut/agnostic/tc_baremetal_rfc2544_ipv4_64B_trex.yaml

and Ixia

samples/vnf_samples/nsut/agnostic/tc_baremetal_rfc2544_latency_ipv4_64B_ixia.yaml

NOTE:
    Yardstick will not interact with VNF.
    No KPIs from VNF will be collected

JIRA: YARDSTICK-1438

Change-Id: I408b3dcb90f29c7b41fcf8f883b5abfc4e9c3dbc
Signed-off-by: Chornyi, TarasX <tarasx.chornyi@intel.com>
6 years agoMerge changes from topics 'YARDSTICK-1354', 'YARDSTICK-1348', 'YARDSTICK-1359', ...
Abhijit Sinha [Thu, 20 Sep 2018 16:40:11 +0000 (16:40 +0000)]
Merge changes from topics 'YARDSTICK-1354', 'YARDSTICK-1348', 'YARDSTICK-1359', 'YARDSTICK-1356'

* changes:
  Add vEPC service request test cases
  Add network initiated dedicated bearers creation
  Add UE initiated dedicated bearer creation test
  Add vEPC infrastructure for Landslide TG
  Add vEPC default bearers relocation test case
  Add vEPC default bearers create/delete test case
  Add Spirent Landslide traffic profile templates
  Update LSResourceHelper unittests
  Add Spirent Landslide TG API
  Added Landslide Resource Helper implementation
  Add TclClients for Spirent Landslide TG

6 years agoSA: Fix private key file name generation issue 23/62623/1
Mytnyk, Volodymyr [Thu, 20 Sep 2018 09:13:03 +0000 (10:13 +0100)]
SA: Fix private key file name generation issue

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>
6 years agoAdd IxNextgen API for creating Vlans configurations 09/62109/3
Serhiy Pshyk [Tue, 11 Sep 2018 15:44:00 +0000 (16:44 +0100)]
Add IxNextgen API for creating Vlans configurations

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>
6 years agoAdd vEPC service request test cases 37/62337/2
Orest Voznyy [Fri, 14 Sep 2018 19:21:46 +0000 (22:21 +0300)]
Add vEPC service request test cases

Add UE and network initiated testcase and related session profiles.

JIRA: YARDSTICK-1429

Change-Id: I16d6c065cf346db31e235ac5add57509cfbc8009
Signed-off-by: Orest Voznyy <orestx.voznyy@intel.com>
6 years agoAdd network initiated dedicated bearers creation 35/62335/2
Orest Voznyy [Fri, 14 Sep 2018 18:27:41 +0000 (21:27 +0300)]
Add network initiated dedicated bearers creation

Adding related pod file, session profile and testcase file.

JIRA: YARDSTICK-1355

Change-Id: Ic97d59ef3a36ac05c6c369c36f917ae95d18d863
Signed-off-by: Orest Voznyy <orestx.voznyy@intel.com>
6 years agoAdd UE initiated dedicated bearer creation test 33/62333/2
Orest Voznyy [Fri, 14 Sep 2018 18:49:47 +0000 (21:49 +0300)]
Add UE initiated dedicated bearer creation test

Adding session profile and test case file.

JIRA: YARDSTICK-1353

Change-Id: Iaa98fd8cb3ed243f9ac157089de32fa23ec0e6b4
Signed-off-by: Orest Voznyy <orestx.voznyy@intel.com>
6 years agoAdd vEPC infrastructure for Landslide TG 69/62269/4
Orest Voznyy [Thu, 13 Sep 2018 10:30:08 +0000 (13:30 +0300)]
Add vEPC infrastructure for Landslide TG

1. Add yardstick topology and model for fully emulated environment.
2. Add support for black-box testing of real vEPC VNF vs Spirent Landslide
   traffic generator:
     - vEPC VNF pod file
     - topology and model files aware of vEPC VNF connection to Spirent
       Landslide TG
     - stub class for vEPC VNF, and related unit tests

JIRA: YARDSTICK-1424

Change-Id: If7b6d19919679347c4360f4a0f2e420716e7fd2d
Signed-off-by: Orest Voznyy <orestx.voznyy@intel.com>
6 years agoAdd vEPC default bearers relocation test case 77/60377/8
Orest Voznyy [Sat, 28 Jul 2018 19:25:05 +0000 (22:25 +0300)]
Add vEPC default bearers relocation test case

This test case runs on Spirent Landslide TG. All vEPC entities are
emulated on Landslide test servers.

Test case actions sequence:
 - create default bearers
 - start sending traffic
 - partial/full bearers relocation between two ENodeB's, Intra-MME
 - disconnect all bearers

JIRA: YARDSTICK-1354

Change-Id: I95c7b0001ddb363402013d83ae8617b88b2a4bd9
Signed-off-by: Orest Voznyy <orestx.voznyy@intel.com>
6 years agoAdd vEPC default bearers create/delete test case 73/60373/7
Orest Voznyy [Sat, 28 Jul 2018 13:25:02 +0000 (16:25 +0300)]
Add vEPC default bearers create/delete test case

This test case runs on Spirent Landslide TG. All vEPC entities are
emulated on Landslide test server.

Test run configuration is performed in following files:
 1. test case file
 2. pod file
 3. session profile file (landslide_session_default_bearer*.yaml)

The structure of these files represents configuration of different
parts of test cases in this test session. The order of test cases should
always match.
Spirent Landslide test types involved: "SGW_Node", "SGW_Nodal".

Test case actions sequence:
 - create default bearers (as per value of "Sessions" key) with
   specified rate (session profile key "StartRate")
 - send traffic flow(s) (pre-configured in traffic profile) for a number
   of seconds (specified in session profile key "duration")
 - remove N default bearers with specified rate (session profile key
   "DisconnectRate")

Parameters with ALL_CAPS values are placeholders.
User should replace them with their own condifuration.
Session profile file placeholders do not need to be replaced as long as
these parameters are overriden in other files (e.g. pod, test case).

Test results are dispatched according to runner configuration options.
For fully emulated test runs like this one, best suited runner is "Search"
type. In case of testing against real EPC VNFs, user could prefer
different runner type.

JIRA: YARDSTICK-1348

Change-Id: I5caf4878fb212b38d4148a297c5dba03b8ab98a8
Signed-off-by: Orest Voznyy <orestx.voznyy@intel.com>
6 years agoAdd Spirent Landslide traffic profile templates 75/60375/7
Orest Voznyy [Sat, 28 Jul 2018 17:39:56 +0000 (20:39 +0300)]
Add Spirent Landslide traffic profile templates

These files are templates of Spirent Landslide data message flow (DMF)
representing traffic profile of one or multiple traffic flows.

Template files should not be edited directly. Instead, their parameters
could be overriden in test case YAML file, in section "dmf".

JIRA: YARDSTICK-1359

Change-Id: I4980a784a78ca870c18457227248e6e2ac0b8eda
Signed-off-by: Orest Voznyy <orestx.voznyy@intel.com>
6 years agoFix Yardstick Docker image ARM build 55/62255/3
Patrice Buriez [Thu, 13 Sep 2018 13:01:32 +0000 (15:01 +0200)]
Fix Yardstick Docker image ARM build

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>
6 years agoMerge "Cleanup unittests for test_lmbench"
Abhijit Sinha [Thu, 13 Sep 2018 16:23:25 +0000 (16:23 +0000)]
Merge "Cleanup unittests for test_lmbench"

6 years agoAssign IXIA ports in one call instead of one by one 59/62259/4
Mytnyk, Volodymyr [Thu, 13 Sep 2018 13:36:24 +0000 (14:36 +0100)]
Assign IXIA ports in one call instead of one by one

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>
6 years agoUpdate LSResourceHelper unittests 45/62245/1
Emma Foley [Thu, 6 Sep 2018 17:26:55 +0000 (18:26 +0100)]
Update LSResourceHelper unittests

New unit tests have been added to make sure the right
commands are sent to Spirent LS.
This helps to ensure that the correct commands are sent
to Spirent, so that potentially breaking changes can be
flagged.

JIRA: YARDSTICK-1356
Change-Id: I23f452355afcec2705da7d4665a34b178e2ba729
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
6 years agoMerge "Add UT: ArithmeticRunner exception handling"
Emma Foley [Thu, 13 Sep 2018 10:49:41 +0000 (10:49 +0000)]
Merge "Add UT: ArithmeticRunner exception handling"

6 years agoIXIA traffic mac address is set incorrectly 13/62213/1
Mytnyk, Volodymyr [Thu, 13 Sep 2018 08:46:09 +0000 (09:46 +0100)]
IXIA traffic mac address is set incorrectly

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>
6 years agoMerge "Update configure_uwsgi run in baremetal/container"
Rex Lee [Thu, 13 Sep 2018 08:26:52 +0000 (08:26 +0000)]
Merge "Update configure_uwsgi run in baremetal/container"

6 years agoMerge "Revert "Bugfix: ansible version should be the same both in Dockerfile and...
Rex Lee [Thu, 13 Sep 2018 01:30:23 +0000 (01:30 +0000)]
Merge "Revert "Bugfix: ansible version should be the same both in Dockerfile and requirements.txt""

6 years agoMerge "Create a sample fio test case base on kubernetes"
Rex Lee [Thu, 13 Sep 2018 01:30:08 +0000 (01:30 +0000)]
Merge "Create a sample fio test case base on kubernetes"

6 years agoMerge "Create a sample lmbench test case base on kubernetes"
Rex Lee [Thu, 13 Sep 2018 01:29:18 +0000 (01:29 +0000)]
Merge "Create a sample lmbench test case base on kubernetes"

6 years agoMerge "tc046 kill keystone process condition incorrect - dovetail"
Rex Lee [Thu, 13 Sep 2018 01:27:36 +0000 (01:27 +0000)]
Merge "tc046 kill keystone process condition incorrect - dovetail"

6 years agoAdd Spirent Landslide TG API 01/61601/5
Emma Foley [Thu, 30 Aug 2018 12:54:57 +0000 (13:54 +0100)]
Add Spirent Landslide TG API

New TG class "LandslideTrafficGen" represents an interface to use Spirent
Landslide API to configure and execute vEPC test cases on
hardware/software Spirent environment. For that purpose this class and its
helper classes use Spirent Landslide REST API calls and Landslide TCL API
calls via library module lsapi.py.

Change-Id: Ib6560d5cd2483c6c9f5c95568345ac39bfebbd4d
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
Signed-off-by: Orest Voznyy <orestx.voznyy@intel.com>
6 years agoUpdate configure_uwsgi run in baremetal/container 59/61259/2
Stepan Andrushko [Wed, 22 Aug 2018 16:01:28 +0000 (19:01 +0300)]
Update configure_uwsgi run in baremetal/container

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>
6 years agoMerge "Add IxNextgen API for creating PPPoX configurations"
Abhijit Sinha [Tue, 11 Sep 2018 11:54:34 +0000 (11:54 +0000)]
Merge "Add IxNextgen API for creating PPPoX configurations"

6 years agoCreate a sample fio test case base on kubernetes 51/59751/3
rexlee8776 [Thu, 12 Jul 2018 12:18:03 +0000 (12:18 +0000)]
Create a sample fio test case base on kubernetes

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>
6 years agoMerge "Add container pull option to install.yaml"
Rodolfo Alonso Hernandez [Tue, 11 Sep 2018 07:10:24 +0000 (07:10 +0000)]
Merge "Add container pull option to install.yaml"

6 years agoCreate a sample lmbench test case base on kubernetes 57/59757/6
rexlee8776 [Thu, 12 Jul 2018 12:37:38 +0000 (12:37 +0000)]
Create a sample lmbench test case base on kubernetes

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>
6 years agoMerge "Add k8s scenario test suite in Gambia"
Rex Lee [Tue, 11 Sep 2018 01:12:22 +0000 (01:12 +0000)]
Merge "Add k8s scenario test suite in Gambia"