def METHOD_NAME(self, i):
    if i is None or i.hwaddr != '' or ':' not in i.name:
        return i
    base_ifname, index = i.name.split(':')
    base_intf = self.interface(base_ifname)
    if base_intf is not None and len(base_intf.hwaddr) > 0:
        i.hwaddr = base_intf.hwaddr
    else:
        i.hwaddr = self.mac_from_arp(i.ipaddr)
    return i