From 06785b385fb4acf5fd5f20ce3ee7a46e0b863c06 Mon Sep 17 00:00:00 2001 From: Tibor Frank Date: Tue, 7 May 2019 12:24:38 +0200 Subject: [PATCH] Report: Fix NFV Graphs Change-Id: If11ed726cb75134c24cde3a752d2e72188bbe3a2 Signed-off-by: Tibor Frank --- docs/report/introduction/methodology_kvm_vms_vhost_user.rst | 3 ++- resources/tools/presentation/generator_plots.py | 4 ++-- 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.") -- 2.16.6