Ver código fonte

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

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
Maximilian Wilhelm 2 anos atrás
pai
commit
2cc3397b4d
1 arquivos alterados com 2 adições e 1 exclusões
  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])$',
 }