Added simple HTML reporting

Simple HTML reporting for executed tests

Added the simple HTML reporting for the executed tests:
firstly the text result tables are saved to the CSV files,
and then they are converted to a single HTML report.
The generation of the report is using “pandas” and “jinja2"
modules. The CSS styles are using Mirantis style guides.
The Jijna template and the CSS styles are stored in the
‘templates/’ folder.

The ‘glance_speed_test’ output is improved and is using
a similar text table as the other tests.

At the end of each test case, the results are saved to
a new CSV file named after the test case in the ‘reports/’
folder. If the test is rerun, the new CSV is created
instead of the old one. In the end of the execution of
the tests, a single HTML report is created from all CSV
files in the ‘reports/’ folder.

Related-PROD: PROD-36943

Change-Id: Iceff8b168364219a01b60546bb9908e01d61c434
diff --git a/tests/test_vm2vm.py b/tests/test_vm2vm.py
index 44b584e..8a94600 100644
--- a/tests/test_vm2vm.py
+++ b/tests/test_vm2vm.py
@@ -6,6 +6,7 @@
 from texttable import Texttable
 
 import utils
+from utils import helpers
 from utils import os_client
 from utils import ssh
 
@@ -13,7 +14,7 @@
 logger = logging.getLogger(__name__)
 
 
-def test_vm2vm(openstack_clients, pair, os_resources, record_property):
+def test_vm2vm(openstack_clients, pair, os_resources, request, html_report):
     """
     Simplified Performance Tests VM to VM test in different topologies
     1. Create 4 VMs admin project
@@ -208,6 +209,10 @@
         result_table.add_rows(table_rows)
         sys.stdout.write('\n{}\n'.format(result_table.draw()))
 
+        # Send the results to CSV file at reports/ directory
+        helpers.create_test_result_table_csv_file(
+            table_rows, request.node.name)
+
         logger.info("Removing VMs and FIPs...")
         for vm in vms:
             openstack_clients.compute.servers.delete(vm)