diff options
author | Jernej Jakob <jernej.jakob@gmail.com> | 2020-05-01 16:33:31 +0200 |
---|---|---|
committer | Jernej Jakob <jernej.jakob@gmail.com> | 2020-05-04 22:59:39 +0200 |
commit | 600b3bc874355237d24bbe38660478a43ce6c946 (patch) | |
tree | a21c1d1c27b5f205645300c7b123b5137975431f /python/vyos/template.py | |
parent | 512510b887408d8263865197fc936501ee453064 (diff) | |
download | vyos-1x-600b3bc874355237d24bbe38660478a43ce6c946.tar.gz vyos-1x-600b3bc874355237d24bbe38660478a43ce6c946.zip |
bonding: T2241: fix falling out of bridge when changing settings
Previously, set_vrf was always called, which uses the same master and nomaster
commands as bridge, so it removed the interface from the bridge.
- add checks to make VRF and bridge membership mutually exclusive
- always re-add the interface back to any bridge it is part of in
case it is deleted and recreated
Diffstat (limited to 'python/vyos/template.py')
0 files changed, 0 insertions, 0 deletions