From 35e7e114033669d6f10e659dc9fcc8972da6e12f Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sat, 9 Oct 2021 18:56:18 -0400 Subject: [PATCH] Add logger message when setting MTU --- node-daemon/pvcnoded/objects/VXNetworkInstance.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/node-daemon/pvcnoded/objects/VXNetworkInstance.py b/node-daemon/pvcnoded/objects/VXNetworkInstance.py index 039bac46..0a985c98 100644 --- a/node-daemon/pvcnoded/objects/VXNetworkInstance.py +++ b/node-daemon/pvcnoded/objects/VXNetworkInstance.py @@ -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(