Switched multi-threads testing from iperf3 to iperf
Switched multi-threads testing from iperf3 to iperf because the
iperf3 was not designed for the multiple threads, see [1] and [2].
So, iperf (v2) will be used for measuring tests with -P option.
Made the number of threads as an configurable option (10 by default).
* installing iperf package
* allowing 5001 port
* starting iperf as well as iperf3 at VMs
* added 'multiple_threads_number' option (10 by default)
* added details which tool was used (iperf3 or iperf) in the final table
* changed the default image from Ubuntu18 to Ubuntu20
[1] https: //fasterdata.es.net/performance-testing/network-troubleshooting-tools/iperf/multi-stream-iperf3/
[2] https: //github.com/esnet/iperf/issues/289
Related-PROD: PROD-36943
Change-Id: I39d2c44723344c87836bf7b5fa02b546a08f2ca5
diff --git a/fixtures/base.py b/fixtures/base.py
index 2ecfc21..630e69f 100644
--- a/fixtures/base.py
+++ b/fixtures/base.py
@@ -37,7 +37,7 @@
os_actions = os_client.OSCliActions(openstack_clients)
os_resource = {}
config = utils.get_configuration()
- image_name = config.get('image_name', 'Ubuntu-18.04')
+ image_name = config.get('image_name', 'cvp.ubuntu.2004')
flavor_name = config.get('flavor_name', 'spt-test')
flavor_ram = config.get('flavor_ram', 1536)
flavor_vcpus = config.get('flavor_vcpus', 1)