diff options
| author | Christian Breunig <christian@breunig.cc> | 2023-10-22 19:01:49 +0200 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-22 19:01:49 +0200 | 
| commit | 4595bca31a6f507ecb1567807f36b42bb6fe0e38 (patch) | |
| tree | 8ae649a44bb4232fd643607f2d2160c63c4b5816 /python/vyos/ifconfig/bond.py | |
| parent | c53a8b2a837ef39cb16e69f94b9954053355382e (diff) | |
| parent | ddbcc96d216cb23ee9e46a05e777a0872cf6a51e (diff) | |
| download | vyos-1x-4595bca31a6f507ecb1567807f36b42bb6fe0e38.tar.gz vyos-1x-4595bca31a6f507ecb1567807f36b42bb6fe0e38.zip  | |
Merge pull request #2393 from vyos/mergify/bp/sagitta/pr-2277
bonding: T5254: Fixed changing ethernet when it is a bond member (backport #2277)
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  | 
