From: Christos Sfakianakis <csfakian(a)redhat.com>
- VirtualBridgeVlanInGuestRecipe: fix typo
- VirtualOvsBridgeVlanInHostMirroredRecipe: correct logged string
- PingFloodRecipe: argument of ping_test() needs to be a list to
conform with latest updates.
Signed-off-by: Christos Sfakianakis <csfakian(a)redhat.com>
---
lnst/Recipes/ENRT/PingFloodRecipe.py | 2 +-
lnst/Recipes/ENRT/VirtualBridgeVlanInGuestRecipe.py | 2 +-
lnst/Recipes/ENRT/VirtualOvsBridgeVlanInHostMirroredRecipe.py | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/lnst/Recipes/ENRT/PingFloodRecipe.py b/lnst/Recipes/ENRT/PingFloodRecipe.py
index 8512335..93dfa19 100644
--- a/lnst/Recipes/ENRT/PingFloodRecipe.py
+++ b/lnst/Recipes/ENRT/PingFloodRecipe.py
@@ -44,5 +44,5 @@ class PingFloodRecipe(PingTestAndEvaluate):
pcfg=PingConf(host1, if1, host2, ip2, count = cn, interval = iv, size = sz or
None)
- result = self.ping_test(pcfg)
+ result = self.ping_test([pcfg])
self.ping_evaluate_and_report(pcfg, result)
diff --git a/lnst/Recipes/ENRT/VirtualBridgeVlanInGuestRecipe.py
b/lnst/Recipes/ENRT/VirtualBridgeVlanInGuestRecipe.py
index 4875db7..ad79223 100644
--- a/lnst/Recipes/ENRT/VirtualBridgeVlanInGuestRecipe.py
+++ b/lnst/Recipes/ENRT/VirtualBridgeVlanInGuestRecipe.py
@@ -94,5 +94,5 @@ class VirtualBridgeVlanInGuestRecipe(BaseEnrtRecipe):
#TODO better service handling through HostAPI
if "perf_tool_cpu" in self.params:
- for host in [host1, hpst2]:
+ for host in [host1, host2]:
host.run("service irqbalance start")
diff --git a/lnst/Recipes/ENRT/VirtualOvsBridgeVlanInHostMirroredRecipe.py
b/lnst/Recipes/ENRT/VirtualOvsBridgeVlanInHostMirroredRecipe.py
index fcb5bf3..6faf002 100644
--- a/lnst/Recipes/ENRT/VirtualOvsBridgeVlanInHostMirroredRecipe.py
+++ b/lnst/Recipes/ENRT/VirtualOvsBridgeVlanInHostMirroredRecipe.py
@@ -86,7 +86,7 @@ class VirtualOvsBridgeVlanInHostMirroredRecipe(BaseEnrtRecipe):
#TODO better service handling through HostAPI
if "perf_tool_cpu" in self.params:
- raise LnstError("'perf_cpu_pin' (%d) should not be set for this
test" % self.params.perf_tool_cpu)
+ raise LnstError("'perf_tool_cpu' (%d) should not be set for this
test" % self.params.perf_tool_cpu)
if "dev_intr_cpu" in self.params:
for host in [host1, host2]:
--
2.17.1