From: Christos Sfakianakis <csfakian(a)redhat.com>
Correct last offload combination in VirtualBridgeVlansOverBondRecipe,
set 'tx' to 'off'. Fix missing colon error in TeamRecipe and
TeamVsBondRecipe.
Signed-off-by: Christos Sfakianakis <csfakian(a)redhat.com>
---
lnst/Recipes/ENRT/TeamRecipe.py | 2 +-
lnst/Recipes/ENRT/TeamVsBondRecipe.py | 2 +-
lnst/Recipes/ENRT/VirtualBridgeVlansOverBondRecipe.py | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/lnst/Recipes/ENRT/TeamRecipe.py b/lnst/Recipes/ENRT/TeamRecipe.py
index 10546e6..6b95ccd 100644
--- a/lnst/Recipes/ENRT/TeamRecipe.py
+++ b/lnst/Recipes/ENRT/TeamRecipe.py
@@ -70,6 +70,6 @@ class TeamRecipe(BaseEnrtRecipe):
m1, m2 = self.matched.m1, self.matched.m2
#TODO better service handling through HostAPI
- if self.params.dev_intr_cpu
+ if self.params.dev_intr_cpu:
for m in [m1, m2]:
m.run("service irqbalance start")
diff --git a/lnst/Recipes/ENRT/TeamVsBondRecipe.py
b/lnst/Recipes/ENRT/TeamVsBondRecipe.py
index 6db2ace..dfec20e 100644
--- a/lnst/Recipes/ENRT/TeamVsBondRecipe.py
+++ b/lnst/Recipes/ENRT/TeamVsBondRecipe.py
@@ -83,6 +83,6 @@ class TeamVsBondRecipe(BaseEnrtRecipe):
m1, m2 = self.matched.m1, self.matched.m2
#TODO better service handling through HostAPI
- if self.params.dev_intr_cpu
+ if self.params.dev_intr_cpu:
for m in [m1, m2]:
m.run("service irqbalance start")
diff --git a/lnst/Recipes/ENRT/VirtualBridgeVlansOverBondRecipe.py
b/lnst/Recipes/ENRT/VirtualBridgeVlansOverBondRecipe.py
index 8918229..feb4f08 100644
--- a/lnst/Recipes/ENRT/VirtualBridgeVlansOverBondRecipe.py
+++ b/lnst/Recipes/ENRT/VirtualBridgeVlansOverBondRecipe.py
@@ -40,7 +40,7 @@ class VirtualBridgeVlansOverBondRecipe(BaseEnrtRecipe):
dict(gro="on", gso="on", tso="on",
tx="on"),
dict(gro="off", gso="on", tso="on",
tx="on"),
dict(gro="on", gso="off", tso="off",
tx="on"),
- dict(gro="on", gso="on", tso="off",
tx="on")))
+ dict(gro="on", gso="on", tso="off",
tx="off")))
bonding_mode = StrParam(mandatory=True)
miimon_value = IntParam(mandatory=True)
--
2.17.1