'Get the IP address for the given interface.'

def get_ip_address(self, interface):

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