'get ipadress by interface name'

@staticmethod
def get_Ipaddr(card):

    if (card == None):
        return get_if_addr('{}'.format(Refactor.get_interfaces()['activated'][0]))
    return get_if_addr('{}'.format(card))
