Validate network MTU after initial read

This commit is contained in:
Joshua Boniface 2021-10-12 10:53:17 -04:00
parent fb84685c2a
commit 2d9fb9688d
1 changed files with 2 additions and 0 deletions

View File

@ -80,6 +80,7 @@ class VXNetworkInstance(object):
try:
self.vx_mtu = self.zkhandler.read(('network.mtu', self.vni))
self.validateNetworkMTU()
except Exception:
self.vx_mtu = None
@ -133,6 +134,7 @@ class VXNetworkInstance(object):
try:
self.vx_mtu = self.zkhandler.read(('network.mtu', self.vni))
self.validateNetworkMTU()
except Exception:
self.vx_mtu = None