self.read_file_oneline("/proc/sys/net/ipv4/conf/%s/forwarding" % ifname)
)
except Exception as e:
- self.logger.info("%s: syncing macvlan forwarding with lower device forwarding state failed: %s" % str(e))
+ self.logger.info("%s: syncing macvlan forwarding with lower device forwarding state failed: %s" % (ifname, str(e)))
def create_macvlan_and_apply_config(self, ifaceobj, intf_config_list, vrrp=False):