Explorar el Código

SDN: Add bridge-ports-condone-regex to all bridges.

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
Maximilian Wilhelm hace 2 años
padre
commit
2cc3397b4d
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      _modules/ffho_net.py

+ 2 - 1
_modules/ffho_net.py

@@ -31,7 +31,8 @@ default_bond_config = {
 # if not specified at the interface configuration.
 default_bridge_config = {
 	'bridge-fd' : '0',
-	'bridge-stp' : 'no'
+	'bridge-stp' : 'no',
+	'bridge-ports-condone-regex' : '^[a-zA-Z0-9]+_(v[0-9]{1,4}|eth[0-9])$',
 }