Added ability to choose the version of iperf to test for multi-threading

The QA engineer can choose now the utility (version) of the iperf tool
to verify the multiple threads test cases.
Set 'iperf' to use 'iperf' tool (v2).
Set 'iperf3' to use iperf v3 tool.

Change-Id: Ie11fb6d148779b53183f362b27847e9880af3542
diff --git a/utils/__init__.py b/utils/__init__.py
index 8b04bab..8cfe897 100644
--- a/utils/__init__.py
+++ b/utils/__init__.py
@@ -72,3 +72,13 @@
                 global_config[param] = os.environ[param]
 
     return global_config
+
+
+def check_iperf_utility(actual_iperf_utility):
+    valid_values = ["iperf", "iperf3"]
+    if actual_iperf_utility not in valid_values:
+        raise BaseException("The iperf utility for multiple threads test case "
+                            "is not correct. Valid value is one of {}. Actual "
+                            "value is {}. Please set the correct value in "
+                            "global_config.yaml:multiple_threads_iperf_utility"
+                            "".format(valid_values, actual_iperf_utility))