Browse Source

SDN: NACL now exposes PPPoE underlay interfaces, ignore them

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
Maximilian Wilhelm 11 months ago
parent
commit
a494a18240
1 changed files with 5 additions and 0 deletions
  1. 5 0
      _modules/ffho_net.py

+ 5 - 0
_modules/ffho_net.py

@@ -959,6 +959,11 @@ def get_interface_config (node_config, sites_config, node_id = ""):
 			del ifaces[interface]
 			continue
 
+		# Ignore interfaces used for PPPoE
+		if 'pppoe' in config.get ('tags', []):
+			del ifaces[interface]
+			continue
+
 		if 'batman-ifaces' in config or iface_type.startswith ('batman'):
 			_update_batman_config (node_config, interface, sites_config)