summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-09-03 17:14:11 +0200
committerChristian Poessinger <christian@poessinger.com>2019-09-04 11:25:31 +0200
commit029085250c4e2dea8a98f3031cf6b8037ffdd534 (patch)
treef3207489299783bddf65afecb942b80f8c3ee0bb
parent3fad8f2f74224502018c5e53b5931251595ad3b7 (diff)
downloadvyos-1x-029085250c4e2dea8a98f3031cf6b8037ffdd534.tar.gz
vyos-1x-029085250c4e2dea8a98f3031cf6b8037ffdd534.zip
bonding: T1614: remove obsolete 'member_remove' dict-key
-rwxr-xr-xsrc/conf_mode/interface-bonding.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/conf_mode/interface-bonding.py b/src/conf_mode/interface-bonding.py
index b150578e3..a623ca524 100755
--- a/src/conf_mode/interface-bonding.py
+++ b/src/conf_mode/interface-bonding.py
@@ -46,7 +46,6 @@ default_config_data = {
'mac': '',
'mode': '802.3ad',
'member': [],
- 'member_remove': [],
'mtu': 1500,
'primary': '',
'vif_s': [],
@@ -260,12 +259,6 @@ def get_config():
if conf.exists('member interface'):
bond['member'] = conf.return_values('member interface')
- # Determine bond member interface (currently effective) - to determine which
- # interfaces is no longer assigend to the bond and thus can be removed
- eff_intf = conf.return_effective_values('member interface')
- act_intf = conf.return_values('member interface')
- bond['member_remove'] = diff(eff_intf, act_intf)
-
# Determine interface addresses (currently effective) - to determine which
# address is no longer valid and needs to be removed from the bond
eff_addr = conf.return_effective_values('address')