diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-01-31 18:06:14 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-01-31 18:10:56 +0100 |
commit | ff3e3b1dc75f63284fc93e788415dca87d9015ee (patch) | |
tree | c7892837e2166aa98c7c33e3a5896e7c5c488c52 /python/vyos/util.py | |
parent | 4a4e2b6386b4c036bbf4486a8a7ac7002d08158b (diff) | |
download | vyos-1x-ff3e3b1dc75f63284fc93e788415dca87d9015ee.tar.gz vyos-1x-ff3e3b1dc75f63284fc93e788415dca87d9015ee.zip |
bond: T1992: only tear down interface if it's really required
Without this change the bond interface is always torn down prior changing it's
parameters. This will also reset BGP sessions on other VLAN interfaces which
is more then bad.
This change will only tear down the interface when it is really required,
indicated by bond['shutdown_required'], which is required by certain operations
as e.g. changing the operating mode.
Diffstat (limited to 'python/vyos/util.py')
0 files changed, 0 insertions, 0 deletions