summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/conf_mode/interfaces_ethernet.py11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/conf_mode/interfaces_ethernet.py b/src/conf_mode/interfaces_ethernet.py
index 8d40e4d1f..886f9b7b7 100755
--- a/src/conf_mode/interfaces_ethernet.py
+++ b/src/conf_mode/interfaces_ethernet.py
@@ -175,8 +175,6 @@ def get_config(config=None):
if tmp: ethernet.update({'frr_dict' : get_frrender_dict(conf)})
ethernet['flowtable_interfaces'] = get_flowtable_interfaces(conf)
- vif_changed = is_node_changed(conf, base + [ifname, 'vif'])
- vif_s_changed = is_node_changed(conf, base + [ifname, 'vif-s'])
vpp_config = conf.get_config_dict(
['vpp'],
@@ -192,13 +190,6 @@ def get_config(config=None):
get_first_key=True,
no_tag_node_value_mangle=True,
)
- if (
- 'acl' in vpp_config
- and (vif_changed or vif_s_changed)
- and dict_search(f'settings.interface.{ifname}', vpp_config) is not None
- ):
- ethernet['vpp_acl_dependent'] = True
- set_dependents('vpp_acl', conf)
# Protocols static arp dependency
if 'static_arp' in ethernet:
@@ -450,7 +441,7 @@ def apply(ethernet):
e.remove()
else:
e.update(ethernet)
- if 'static_arp' in ethernet or 'vpp_acl_dependent' in ethernet:
+ if 'static_arp' in ethernet:
call_dependents()
vpp_iface_config = dict_search(f'vpp.settings.interface.{ifname}', ethernet)