Also validate on failures
This commit is contained in:
parent
e88147db4a
commit
dfebb2d3e5
|
@ -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=''):
|
||||||
|
|
Loading…
Reference in New Issue