aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2019-05-07 12:24:38 +0200
committerTibor Frank <tifrank@cisco.com>2019-05-07 10:27:31 +0000
commitd98e61872b752201b6f3f4bdbf513f8b4a7181d1 (patch)
tree8e8182df27d455fc45559a9c8bca98b363e6ca8c
parentf4eabee7045db440bc716ae09a332e00f0d3f32c (diff)
Report: Fix NFV Graphs
Change-Id: If11ed726cb75134c24cde3a752d2e72188bbe3a2 Signed-off-by: Tibor Frank <tifrank@cisco.com> (cherry picked from commit 06785b385fb4acf5fd5f20ce3ee7a46e0b863c06)
-rw-r--r--docs/report/introduction/methodology_kvm_vms_vhost_user.rst3
-rw-r--r--resources/tools/presentation/generator_plots.py4
2 files changed, 4 insertions, 3 deletions
diff --git a/docs/report/introduction/methodology_kvm_vms_vhost_user.rst b/docs/report/introduction/methodology_kvm_vms_vhost_user.rst
index 76a6baa8e6..dae1e5a875 100644
--- a/docs/report/introduction/methodology_kvm_vms_vhost_user.rst
+++ b/docs/report/introduction/methodology_kvm_vms_vhost_user.rst
@@ -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`.
diff --git a/resources/tools/presentation/generator_plots.py b/resources/tools/presentation/generator_plots.py
index 0fab894193..56b9a89a91 100644
--- a/resources/tools/presentation/generator_plots.py
+++ b/resources/tools/presentation/generator_plots.py
@@ -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.")