Signed-off-by: Jan Tluka jtluka@redhat.com --- lnst/Recipes/ENRT/IpIpTunnelRecipe.py | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/lnst/Recipes/ENRT/IpIpTunnelRecipe.py b/lnst/Recipes/ENRT/IpIpTunnelRecipe.py index db1694d3..fd4cc6f7 100644 --- a/lnst/Recipes/ENRT/IpIpTunnelRecipe.py +++ b/lnst/Recipes/ENRT/IpIpTunnelRecipe.py @@ -8,9 +8,13 @@ from lnst.RecipeCommon.Ping.PingEndpoints import PingEndpoints from lnst.RecipeCommon.PacketAssert import PacketAssertConf from lnst.Common.Parameters import StrParam, ChoiceParam from lnst.Recipes.ENRT.BaseTunnelRecipe import BaseTunnelRecipe +from lnst.Recipes.ENRT.ConfigMixins.MTUHWConfigMixin import MTUHWConfigMixin +from lnst.Recipes.ENRT.ConfigMixins.PauseFramesHWConfigMixin import ( + PauseFramesHWConfigMixin, +)
-class IpIpTunnelRecipe(BaseTunnelRecipe): +class IpIpTunnelRecipe(MTUHWConfigMixin, PauseFramesHWConfigMixin, BaseTunnelRecipe): """ This class implements a recipe that configures a simple IpIp tunnel between two hosts. @@ -152,3 +156,11 @@ class IpIpTunnelRecipe(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] + + @property + def mtu_hw_config_dev_list(self): + return [self.matched.host1.ipip_tunnel, self.matched.host2.ipip_tunnel]