From a412c89316994d3134ea8b2ae63c9fc2f96a903e Mon Sep 17 00:00:00 2001 From: Yuxiang Zhu Date: Thu, 29 Dec 2022 08:12:26 +0000 Subject: T4898: Add mtu config option for dummy interfaces I use dummy interfaces in a VRF as source-interfaces for VXLAN in order to force VXLAN send underlay UDP traffic through the VRF where the dummy interface resides. However dummy interface has no mtu option so it always gets an MTU of 1500. This will cause an error when the mtu of dummy is not large enough for the VXLAN traffic. Adding this option in the config template will solve this. (cherry picked from commit 1440ef93e13d15e2247cbfc2cb4ea2afb266fc9e) --- interface-definitions/interfaces-dummy.xml.in | 1 + 1 file changed, 1 insertion(+) diff --git a/interface-definitions/interfaces-dummy.xml.in b/interface-definitions/interfaces-dummy.xml.in index 2bc88c1a7..4a6d97fa4 100644 --- a/interface-definitions/interfaces-dummy.xml.in +++ b/interface-definitions/interfaces-dummy.xml.in @@ -27,6 +27,7 @@ #include + #include #include -- cgit v1.2.3 From c82f22a1d2282c6c4fa7e2c1307e6dfd9ddd99c4 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Fri, 30 Dec 2022 19:40:46 +0100 Subject: smoketest: dummy: T4898: enable MTU testcase (cherry picked from commit 7923e7c57a7492111c7cec8b04228db0a6f00af3) --- smoketest/scripts/cli/test_interfaces_dummy.py | 1 + 1 file changed, 1 insertion(+) diff --git a/smoketest/scripts/cli/test_interfaces_dummy.py b/smoketest/scripts/cli/test_interfaces_dummy.py index dedc6fe05..fb49d6e39 100755 --- a/smoketest/scripts/cli/test_interfaces_dummy.py +++ b/smoketest/scripts/cli/test_interfaces_dummy.py @@ -21,6 +21,7 @@ from base_interfaces_test import BasicInterfaceTest class DummyInterfaceTest(BasicInterfaceTest.TestCase): @classmethod def setUpClass(cls): + cls._test_mtu = True cls._base_path = ['interfaces', 'dummy'] cls._interfaces = ['dum435', 'dum8677', 'dum0931', 'dum089'] # call base-classes classmethod -- cgit v1.2.3 From 4778d4f5ec103be4cabfdfb0b703524320a5dba7 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Fri, 30 Dec 2022 20:45:45 +0100 Subject: dummy: T4898: add missing IPv6 options for smoketests (cherry picked from commit e5a5684eb4004772439b2dc33ec21b7546db3fe1) --- interface-definitions/interfaces-dummy.xml.in | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/interface-definitions/interfaces-dummy.xml.in b/interface-definitions/interfaces-dummy.xml.in index 4a6d97fa4..ac1a35cf5 100644 --- a/interface-definitions/interfaces-dummy.xml.in +++ b/interface-definitions/interfaces-dummy.xml.in @@ -25,6 +25,24 @@ #include + #include + + + + + IPv6 routing parameters + + + #include + + + IPv6 address configuration modes + + + #include + #include + + #include -- cgit v1.2.3