diff options
author | Christian Breunig <christian@breunig.cc> | 2023-10-22 19:02:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-22 19:02:59 +0200 |
commit | 3356e26a6a58f924209b9d79ec52cb09bb4fb3ea (patch) | |
tree | 10d24e60167dfb6b5720fa32d0a97dfd6ccb47cd /python/vyos/ifconfig/bond.py | |
parent | 48da0f4fc96cd0a3a72c714b7b8fd5d57a57c15d (diff) | |
parent | 4595bca31a6f507ecb1567807f36b42bb6fe0e38 (diff) | |
download | vyos-1x-3356e26a6a58f924209b9d79ec52cb09bb4fb3ea.tar.gz vyos-1x-3356e26a6a58f924209b9d79ec52cb09bb4fb3ea.zip |
Merge branch 'sagitta' into mergify/bp/sagitta/pr-2386
Diffstat (limited to 'python/vyos/ifconfig/bond.py')
-rw-r--r-- | python/vyos/ifconfig/bond.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/python/vyos/ifconfig/bond.py b/python/vyos/ifconfig/bond.py index d1d7d48c4..45e6e4c16 100644 --- a/python/vyos/ifconfig/bond.py +++ b/python/vyos/ifconfig/bond.py @@ -92,6 +92,19 @@ class BondIf(Interface): } }} + @staticmethod + def get_inherit_bond_options() -> list: + """ + Returns list of option + which are inherited from bond interface to member interfaces + :return: List of interface options + :rtype: list + """ + options = [ + 'mtu' + ] + return options + def remove(self): """ Remove interface from operating system. Removing the interface |