Validate network MTU after initial read
This commit is contained in:
parent
5f783f1663
commit
cc309fc021
|
@ -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