Go back to passing if exception
Validation already happened and the set happens again later.
This commit is contained in:
parent
554fa9f412
commit
057071a7b7
|
@ -110,8 +110,7 @@ class VXNetworkInstance(object):
|
||||||
self.validateNetworkMTU()
|
self.validateNetworkMTU()
|
||||||
self.updateNetworkMTU()
|
self.updateNetworkMTU()
|
||||||
except Exception:
|
except Exception:
|
||||||
self.validateNetworkMTU()
|
pass
|
||||||
self.updateNetworkMTU()
|
|
||||||
|
|
||||||
self.createNetworkBridged()
|
self.createNetworkBridged()
|
||||||
|
|
||||||
|
@ -256,8 +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:
|
||||||
self.validateNetworkMTU()
|
pass
|
||||||
self.updateNetworkMTU()
|
|
||||||
|
|
||||||
@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