'Get the mac address, which may be implicit in the object name or explicit with --mac-address.
Use the explicit location first.'

def get_mac_address(self, interface):

    intf = self.__get_interface(interface)
    if (intf['mac_address'] != ''):
        return intf['mac_address'].strip()
    else:
        return None
