Add logger message when setting MTU
This commit is contained in:
parent
e9d05aa24e
commit
46d3daf686
|
@ -490,6 +490,11 @@ add rule inet filter forward ip6 saddr {netaddr6} counter jump {vxlannic}-out
|
|||
return self.vni
|
||||
|
||||
def updateNetworkMTU(self):
|
||||
self.logger.out(
|
||||
'Setting network MTU to {}'.format(self.vx_mtu),
|
||||
prefix='VNI {}'.format(self.vni),
|
||||
state='i'
|
||||
)
|
||||
# Set MTU of base and bridge NICs
|
||||
common.run_os_command(
|
||||
'ip link set {} mtu {} up'.format(
|
||||
|
|
Loading…
Reference in New Issue