diff options
author | Daniil Baturin <daniil@vyos.io> | 2022-12-30 21:41:33 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-30 21:41:33 +0000 |
commit | 1b5bb6cb9424c09e09bbeec8314ccf4e9c83bd98 (patch) | |
tree | abde1e6de25e56e60634b8421f1541046f0f3976 | |
parent | 4bab998b4e7fe6eca57a3fe9ffba2d2be8f123b2 (diff) | |
parent | 4778d4f5ec103be4cabfdfb0b703524320a5dba7 (diff) | |
download | vyos-1x-1b5bb6cb9424c09e09bbeec8314ccf4e9c83bd98.tar.gz vyos-1x-1b5bb6cb9424c09e09bbeec8314ccf4e9c83bd98.zip |
Merge pull request #1730 from c-po/t4898
T4898: add MTU config option for dummy interfaces (equuleus)
-rw-r--r-- | interface-definitions/interfaces-dummy.xml.in | 19 | ||||
-rwxr-xr-x | smoketest/scripts/cli/test_interfaces_dummy.py | 1 |
2 files changed, 20 insertions, 0 deletions
diff --git a/interface-definitions/interfaces-dummy.xml.in b/interface-definitions/interfaces-dummy.xml.in index 2bc88c1a7..ac1a35cf5 100644 --- a/interface-definitions/interfaces-dummy.xml.in +++ b/interface-definitions/interfaces-dummy.xml.in @@ -25,8 +25,27 @@ </properties> <children> #include <include/interface/source-validation.xml.i> + #include <include/interface/disable-forwarding.xml.i> </children> </node> + <node name="ipv6"> + <properties> + <help>IPv6 routing parameters</help> + </properties> + <children> + #include <include/interface/disable-forwarding.xml.i> + <node name="address"> + <properties> + <help>IPv6 address configuration modes</help> + </properties> + <children> + #include <include/interface/ipv6-address-eui64.xml.i> + #include <include/interface/ipv6-address-no-default-link-local.xml.i> + </children> + </node> + </children> + </node> + #include <include/interface/mtu-68-16000.xml.i> #include <include/interface/vrf.xml.i> </children> </tagNode> 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 |