diff options
author | Tibor Frank <tifrank@cisco.com> | 2019-05-07 12:24:38 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2019-05-07 12:24:38 +0200 |
commit | 06785b385fb4acf5fd5f20ce3ee7a46e0b863c06 (patch) | |
tree | 1b21e11f8c68ed62b2e57dd4e511f8c31f2988a8 | |
parent | dc85b05f17bb6d04b4c6b4126590f28b6014b9a5 (diff) |
Report: Fix NFV Graphs
Change-Id: If11ed726cb75134c24cde3a752d2e72188bbe3a2
Signed-off-by: Tibor Frank <tifrank@cisco.com>
-rw-r--r-- | docs/report/introduction/methodology_kvm_vms_vhost_user.rst | 3 | ||||
-rw-r--r-- | 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.") |