summaryrefslogtreecommitdiff
path: root/python/vyos
diff options
context:
space:
mode:
Diffstat (limited to 'python/vyos')
-rw-r--r--python/vyos/ifconfig.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/python/vyos/ifconfig.py b/python/vyos/ifconfig.py
index 341a9770c..8cf5e1645 100644
--- a/python/vyos/ifconfig.py
+++ b/python/vyos/ifconfig.py
@@ -966,7 +966,11 @@ class BridgeIf(Interface):
.format(self._ifname, interface), priority)
-class BondIf(Interface):
+class EthernetIf(Interface):
+ def __init__(self, ifname, type=None):
+ super().__init__(ifname, type)
+
+class BondIf(EthernetIf):
"""
The Linux bonding driver provides a method for aggregating multiple network
interfaces into a single logical "bonded" interface. The behavior of the