Also validate on failures

This commit is contained in:
Joshua Boniface 2021-10-12 17:11:03 -04:00
parent e88147db4a
commit dfebb2d3e5
1 changed files with 2 additions and 2 deletions

View File

@ -110,7 +110,7 @@ class VXNetworkInstance(object):
self.validateNetworkMTU() self.validateNetworkMTU()
self.updateNetworkMTU() self.updateNetworkMTU()
except Exception: except Exception:
pass self.validateNetworkMTU()
self.createNetworkBridged() self.createNetworkBridged()
@ -255,7 +255,7 @@ add rule inet filter forward ip6 saddr {netaddr6} counter jump {vxlannic}-out
self.validateNetworkMTU() self.validateNetworkMTU()
self.updateNetworkMTU() self.updateNetworkMTU()
except Exception: except Exception:
pass self.validateNetworkMTU()
@self.zkhandler.zk_conn.DataWatch(self.zkhandler.schema.path('network.ip6.network', self.vni)) @self.zkhandler.zk_conn.DataWatch(self.zkhandler.schema.path('network.ip6.network', self.vni))
def watch_network_ip6_network(data, stat, event=''): def watch_network_ip6_network(data, stat, event=''):