Report: Fix NFV Graphs 01/19401/1
authorTibor Frank <tifrank@cisco.com>
Tue, 7 May 2019 10:24:38 +0000 (12:24 +0200)
committerTibor Frank <tifrank@cisco.com>
Tue, 7 May 2019 10:24:38 +0000 (12:24 +0200)
Change-Id: If11ed726cb75134c24cde3a752d2e72188bbe3a2
Signed-off-by: Tibor Frank <tifrank@cisco.com>
docs/report/introduction/methodology_kvm_vms_vhost_user.rst
resources/tools/presentation/generator_plots.py

index 76a6baa..dae1e5a 100644 (file)
@@ -60,6 +60,7 @@ filesystem as read only guest OS filesystem.
 Example of custom init script for the kernel VM:
 
 ::
+
   #!/bin/bash
   mount -t sysfs -o "nodev,noexec,nosuid" sysfs /sys
   mount -t proc -o "nodev,noexec,nosuid" proc /proc
@@ -84,4 +85,4 @@ applications installed on host OS, for example VPP of the same version as
 running on host OS.
 
 Kernel KVM image must be available on host filesystem as a prerequisite.
-The path to kernel image is defined in `Constants.py`.
\ No newline at end of file
+The path to kernel image is defined in `Constants.py`.
index 0fab894..56b9a89 100644 (file)
@@ -1431,10 +1431,10 @@ def plot_service_density_heatmap_compare(plot, input_data):
                         if groups and len(groups.groups()) == 3:
                             if str(groups.group(3)) == \
                                     plot["reference"]["include"]:
-                                vals[c][n]["vals_c"].append(result)
+                                vals[c][n]["vals_r"].append(result)
                             elif str(groups.group(3)) == \
                                     plot["compare"]["include"]:
-                                vals[c][n]["vals_r"].append(result)
+                                vals[c][n]["vals_c"].append(result)
                             break
     if not vals:
         logging.error("No data.")