Update results for Test Cases 6, 7, 20, 21 37/6737/1
authorVincenzo Riccobene <vincenzox.m.riccobene@intel.com>
Thu, 14 Jan 2016 13:55:57 +0000 (13:55 +0000)
committerJörgen Karlsson <jorgen.w.karlsson@ericsson.com>
Thu, 14 Jan 2016 17:04:04 +0000 (17:04 +0000)
JIRA: YARDSTICK-219

Change-Id: I06143f074592e05cd17b740eb9751414a56c9fde
Signed-off-by: Vincenzo Riccobene <vincenzo.m.riccobene@intel.com>
Signed-off-by: Vincenzo Riccobene <vincenzox.m.riccobene@intel.com>
(cherry picked from commit 9b8b765373abbb10289415312a24574ff122541a)

yardstick/benchmark/scenarios/networking/vtc_instantiation_validation.py
yardstick/benchmark/scenarios/networking/vtc_instantiation_validation_noisy.py
yardstick/benchmark/scenarios/networking/vtc_throughput.py
yardstick/benchmark/scenarios/networking/vtc_throughput_noisy.py
yardstick/vTC/apexlake/apexlake.conf

index 509fa84..bec23fc 100644 (file)
@@ -72,8 +72,9 @@ class VtcInstantiationValidation(base.Scenario):
         test_case['params']['vlan_receiver'] = \
             str(self.options['vlan_receiver'])
 
+        res = dict()
         try:
-            result = api.FrameworkApi.execute_framework(
+            res = api.FrameworkApi.execute_framework(
                 [test_case],
                 iterations,
                 heat_template,
@@ -82,4 +83,5 @@ class VtcInstantiationValidation(base.Scenario):
                 openstack_credentials)
         except Exception as e:
             LOG.info('Exception: {}'.format(e.message))
-        LOG.info('Got output: {}'.format(result))
+        LOG.info('Got output: {}'.format(res))
+        result.update(res)
index 4834a5f..57b9758 100644 (file)
@@ -79,8 +79,9 @@ class VtcInstantiationValidationNoisy(base.Scenario):
         test_case['params']['number_of_cores'] = \
             str(self.options['number_of_cores'])
 
+        res = dict()
         try:
-            result = api.FrameworkApi.execute_framework(
+            res = api.FrameworkApi.execute_framework(
                 [test_case],
                 iterations,
                 heat_template,
@@ -89,4 +90,5 @@ class VtcInstantiationValidationNoisy(base.Scenario):
                 openstack_credentials)
         except Exception as e:
             LOG.info('Exception: {}'.format(e.message))
-        LOG.info('Got output: {}'.format(result))
+        LOG.info('Got output: {}'.format(res))
+        result.update(res)
index fe7a884..ff20279 100644 (file)
@@ -72,8 +72,9 @@ class VtcThroughput(base.Scenario):
         test_case['params']['vlan_receiver'] = \
             str(self.options['vlan_receiver'])
 
+        res = dict()
         try:
-            result = api.FrameworkApi.execute_framework(
+            res = api.FrameworkApi.execute_framework(
                 [test_case],
                 iterations,
                 heat_template,
@@ -82,4 +83,5 @@ class VtcThroughput(base.Scenario):
                 openstack_credentials)
         except Exception as e:
             LOG.info('Exception: {}'.format(e.message))
-        LOG.info('Got output: {}'.format(result))
+        LOG.info('Got output: {}'.format(res))
+        result.update(res)
index ad3832f..703e06c 100644 (file)
@@ -78,8 +78,9 @@ class VtcThroughputNoisy(base.Scenario):
         test_case['params']['number_of_cores'] = \
             str(self.options['number_of_cores'])
 
+        res = dict()
         try:
-            result = api.FrameworkApi.execute_framework(
+            res = api.FrameworkApi.execute_framework(
                 [test_case],
                 iterations,
                 heat_template,
@@ -88,4 +89,5 @@ class VtcThroughputNoisy(base.Scenario):
                 openstack_credentials)
         except Exception as e:
             LOG.info('Exception: {}'.format(e.message))
-        LOG.info('Got output: {}'.format(result))
+        LOG.info('Got output: {}'.format(res))
+        result.update(res)
index 56937d2..9ebbc5d 100644 (file)
@@ -1,3 +1,16 @@
+[PacketGen]
+packet_generator = dpdk_pktgen
+pktgen_directory = /root/programs/Pktgen-DPDK/dpdk/examples/pktgen/
+dpdk_directory = /root/programs/Pktgen-DPDK/dpdk/
+program_name = app/app/x86_64-native-linuxapp-gcc/pktgen
+coremask = 1f
+memory_channels = 3
+bus_slot_nic_1 = 01:00.0
+bus_slot_nic_2 = 01:00.1
+name_if_1 = p2p1
+name_if_2 = p2p2
+
+
 [General]
 ## template_base is the name of the base template from which generate all the others
 #template_base_name = vTC.yaml
@@ -38,19 +51,6 @@ influxdb_port = 8086
 influxdb_db_name = database
 
 
-[PacketGen]
-packet_generator = dpdk_pktgen
-pktgen_directory = /root/programs/Pktgen-DPDK/dpdk/examples/pktgen/
-dpdk_directory = /root/programs/Pktgen-DPDK/dpdk/
-program_name = app/app/x86_64-native-linuxapp-gcc/pktgen
-coremask = 1f
-memory_channels = 3
-bus_slot_nic_1 = 01:00.0
-bus_slot_nic_2 = 01:00.1
-name_if_1 = p2p1
-name_if_2 = p2p2
-
-
 [Deployment-parameters]
 #default_net =        monitoring
 #default_subnet =     monitoring_subnet