Delete ip range.

    CLI Example:

    .. code-block:: bash

        salt-call infoblox.delete_ipv4_range start_addr=123.123.122.12

def delete_ipv4_range(start_addr=None, end_addr=None, **api_opts):
    '''
    Delete ip range.

    CLI Example:

    .. code-block:: bash

        salt-call infoblox.delete_ipv4_range start_addr=123.123.122.12
    '''
    r = get_ipv4_range(start_addr, end_addr, **api_opts)
    if r:
        return delete_object(r['_ref'], **api_opts)
    else:
        return True