summaryrefslogtreecommitdiff
path: root/scripts/cli/test_interfaces_bonding.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-02-17 20:47:54 +0100
committerChristian Poessinger <christian@poessinger.com>2020-02-17 21:04:08 +0100
commitf95c1471f241f2c0a4d0dca5832a1636755ee391 (patch)
treecab657cf0b1d45117c481c9b33815a0d41f30add /scripts/cli/test_interfaces_bonding.py
parent175447bfec4cb60068fcea9899b09fcbdd2103ba (diff)
downloadvyos-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_bonding.py')
-rwxr-xr-xscripts/cli/test_interfaces_bonding.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/cli/test_interfaces_bonding.py b/scripts/cli/test_interfaces_bonding.py
index 7e6523778..e1abd7ff1 100755
--- a/scripts/cli/test_interfaces_bonding.py
+++ b/scripts/cli/test_interfaces_bonding.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 BondInterfaceTest(BasicInterfaceTest.BaseTest):
+class BondingInterfaceTest(BasicInterfaceTest.BaseTest):
def setUp(self):
super().setUp()
+
self._base_path = ['interfaces', 'bonding']
+ self._test_mtu = True
self._interfaces = ['bond0']
def test_add_remove_member(self):