Go back to passing if exception

Validation already happened and the set happens again later.
This commit is contained in:
Joshua Boniface 2021-10-12 14:21:52 -04:00
parent 554fa9f412
commit 057071a7b7
1 changed files with 2 additions and 4 deletions

View File

@ -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=''):