diff options
author | Jernej Jakob <jernej.jakob@gmail.com> | 2020-05-03 16:01:53 +0200 |
---|---|---|
committer | Jernej Jakob <jernej.jakob@gmail.com> | 2020-05-04 22:25:48 +0200 |
commit | 963dcd509fa491a30d0dd6266d827fb60bb9e27b (patch) | |
tree | fd731e52ba0da0ac9b6e1847c644b065ffb62715 /src/op_mode/show_acceleration.py | |
parent | e35807b209e3de77b09082a74d2b0f0b1a802206 (diff) | |
download | vyos-1x-963dcd509fa491a30d0dd6266d827fb60bb9e27b.tar.gz vyos-1x-963dcd509fa491a30d0dd6266d827fb60bb9e27b.zip |
vlan: 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 (e.g. changing egress/ingress-qos)
Diffstat (limited to 'src/op_mode/show_acceleration.py')
0 files changed, 0 insertions, 0 deletions