import re


def get_ip_addr_from_resource_params(params):
    """Returns the IP address in the resource params provided

    :return: the IP address in the params or None if not found
    """
    reg_ex = r'.* ip_address="([a-fA-F\d\:\.]+)".*'
    res = re.search(reg_ex, params)
    return res.group(1) if res else None