Validate network MTU after initial read
This commit is contained in:
parent
fb84685c2a
commit
2d9fb9688d
|
@ -80,6 +80,7 @@ class VXNetworkInstance(object):
|
||||||
|
|
||||||
try:
|
try:
|
||||||
self.vx_mtu = self.zkhandler.read(('network.mtu', self.vni))
|
self.vx_mtu = self.zkhandler.read(('network.mtu', self.vni))
|
||||||
|
self.validateNetworkMTU()
|
||||||
except Exception:
|
except Exception:
|
||||||
self.vx_mtu = None
|
self.vx_mtu = None
|
||||||
|
|
||||||
|
@ -133,6 +134,7 @@ class VXNetworkInstance(object):
|
||||||
|
|
||||||
try:
|
try:
|
||||||
self.vx_mtu = self.zkhandler.read(('network.mtu', self.vni))
|
self.vx_mtu = self.zkhandler.read(('network.mtu', self.vni))
|
||||||
|
self.validateNetworkMTU()
|
||||||
except Exception:
|
except Exception:
|
||||||
self.vx_mtu = None
|
self.vx_mtu = None
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue