diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-02-17 20:47:54 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-02-17 21:04:08 +0100 |
commit | f95c1471f241f2c0a4d0dca5832a1636755ee391 (patch) | |
tree | cab657cf0b1d45117c481c9b33815a0d41f30add /scripts/cli/test_interfaces_bridge.py | |
parent | 175447bfec4cb60068fcea9899b09fcbdd2103ba (diff) | |
download | vyos-1x-f95c1471f241f2c0a4d0dca5832a1636755ee391.tar.gz vyos-1x-f95c1471f241f2c0a4d0dca5832a1636755ee391.zip |
interfaces: add generic MTU test which can be enabled per interface
Diffstat (limited to 'scripts/cli/test_interfaces_bridge.py')
-rwxr-xr-x | scripts/cli/test_interfaces_bridge.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/cli/test_interfaces_bridge.py b/scripts/cli/test_interfaces_bridge.py index 72e5da65f..1d462645e 100755 --- a/scripts/cli/test_interfaces_bridge.py +++ b/scripts/cli/test_interfaces_bridge.py @@ -15,11 +15,14 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. from base_interfaces_test import * +from vyos.interfaces import list_interfaces_of_type class BridgeInterfaceTest(BasicInterfaceTest.BaseTest): def setUp(self): super().setUp() + self._base_path = ['interfaces', 'bridge'] + self._test_mtu = True self._interfaces = ['br0'] def test_add_remove_member(self): |