Signed-off-by: Jan Tluka <jtluka(a)redhat.com>
---
lnst/Recipes/ENRT/L2TPTunnelRecipe.py | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/lnst/Recipes/ENRT/L2TPTunnelRecipe.py
b/lnst/Recipes/ENRT/L2TPTunnelRecipe.py
index 044af949..874da7ce 100755
--- a/lnst/Recipes/ENRT/L2TPTunnelRecipe.py
+++ b/lnst/Recipes/ENRT/L2TPTunnelRecipe.py
@@ -6,12 +6,12 @@ from lnst.Devices import L2TPSessionDevice
from lnst.RecipeCommon.Ping.PingEndpoints import PingEndpoints
from lnst.RecipeCommon.PacketAssert import PacketAssertConf
from lnst.Recipes.ENRT.BaseTunnelRecipe import BaseTunnelRecipe
-from lnst.Recipes.ENRT.ConfigMixins.CommonHWSubConfigMixin import (
- CommonHWSubConfigMixin,
+from lnst.Recipes.ENRT.ConfigMixins.PauseFramesHWConfigMixin import (
+ PauseFramesHWConfigMixin,
)
-class L2TPTunnelRecipe(CommonHWSubConfigMixin, BaseTunnelRecipe):
+class L2TPTunnelRecipe(PauseFramesHWConfigMixin, BaseTunnelRecipe):
"""
This class implements a recipe that configures a simple L2TP tunnel with
one tunnel session between two hosts.
@@ -206,3 +206,7 @@ class L2TPTunnelRecipe(CommonHWSubConfigMixin, BaseTunnelRecipe):
pa_config = PacketAssertConf(m2, m2_carrier, **pa_kwargs)
return pa_config
+
+ @property
+ def pause_frames_dev_list(self):
+ return [self.matched.host1.eth0, self.matched.host2.eth0]
--
2.26.3