Re: [Idr] Fwd: Slot request in IDR to present https://www.ietf.org/internet-drafts/draft-idr-bgp-route-refresh-options-00.txt

Tony Przygienda <tonysietf@gmail.com> Fri, 22 July 2016 08:53 UTC

Return-Path: <tonysietf@gmail.com>
X-Original-To: idr@ietfa.amsl.com
Delivered-To: idr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7C7B012B05D for <idr@ietfa.amsl.com>; Fri, 22 Jul 2016 01:53:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BYzltKXDiKMD for <idr@ietfa.amsl.com>; Fri, 22 Jul 2016 01:53:05 -0700 (PDT)
Received: from mail-it0-x232.google.com (mail-it0-x232.google.com [IPv6:2607:f8b0:4001:c0b::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1564312DAAF for <idr@ietf.org>; Fri, 22 Jul 2016 01:53:02 -0700 (PDT)
Received: by mail-it0-x232.google.com with SMTP id f6so32422122ith.1 for <idr@ietf.org>; Fri, 22 Jul 2016 01:53:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=+gMjYg2Q5rZ5HcEJn0bdIYKREgiY81OJvmT29sxhOY0=; b=a9YAuV4PhDw7qI2kDOqDhGik9vvBRgk4ixi98jiArX3JX448Jck3FKf9h4SvAC7sk4 /HozUgY061K6yaQ07QyX3jhxdY/KNWIXVJtOCzimBvXcoBV7VDvD8sg6/0uDuFyxXd5b 6JW2ySxfwTLoPx24fqY192neAxwM0PB0IHhK4+OPtaKJCS0mPvQGc1WgTx34qznNxSxx A7DjphlhjfpUpZj/QAvdxbnwB/dJCP9Ljlt6j07XnNjz2gcPLAL3jf+QuqO0XEQH+ckZ xSb+nAqVeJMsPyW4RLtHkHVMfb+Tpkrn3ZpmqMGxdmqEjSyMawSEfIcf4mC68Pqwy4Kv jlww==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=+gMjYg2Q5rZ5HcEJn0bdIYKREgiY81OJvmT29sxhOY0=; b=XTzKdBxFaotBZ3rTdfpG6xDuFWMNlnahxFb6WfJ53ennus3o+uWDycjauqI0oapDbB 8ZNFV41zuf/MXn6VH9VPIa7qfHZ6qnbmhmTM8HnMDJDzWEh8IUJwIV8KsaJU/ZqbHCtD 0QL7WxkLFKdeD6PHpSXTf1xmj+w2bN3tk/Y3KctQiIy3y0hXi7/PnoQTs/ZXUytOvSVs /iosOvH7GNekhvsRFaNDWx42Rp3O+isHFwb8MGZNKCKtsOlnPTlvuF7R9A4HsL5GIyWJ AUmIf0MfIYxORDTX+W+41lTcSAnt5TEJob97LkMeNCndVFJy+hRkH2a5lntzhdaI28rW kw9w==
X-Gm-Message-State: ALyK8tJDXWLtLLUnl1mASt9tNWZkq1WK+uE9rJRFjQsUYhRsvyoHfV7nklvgv35yXd6xhNFV6280bhDk92upOg==
X-Received: by 10.36.131.194 with SMTP id d185mr67580234ite.38.1469177581460; Fri, 22 Jul 2016 01:53:01 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.107.158.82 with HTTP; Fri, 22 Jul 2016 01:52:21 -0700 (PDT)
In-Reply-To: <CA+b+ERkJwY8ucxR-FnWuoLMFE48CWE_5GbMwQRNX_3Und8jfsA@mail.gmail.com>
References: <CA+wi2hM+y_K+_50Q_QRS64VBdzgBWtx8hL-6iepsVqed+NtqTw@mail.gmail.com> <CA+b+ERm2AnRAYeJRDdsAh=hLX81aQUTVd7Pe5PYLpWmHNvbgtQ@mail.gmail.com> <CA+wi2hMsbVetW_D+HpsdXEHyh75yZkx+QTpj+FoX2hMTcqbrzw@mail.gmail.com> <CA+wi2hNk2+GLY0G800Uo8qgdZQWh=9AzFGhZTk+fWRd6isgriw@mail.gmail.com> <76CD132C3ADEF848BD84D028D243C92774EEF7CF@NKGEML515-MBX.china.huawei.com> <CA+b+ERnkkhYK7Cz5eG_8fuQ_cdeo3TSCK3sBQtA0SyfkGktwAg@mail.gmail.com> <D3B3F3D9.47283%keyupate@cisco.com> <CA+b+ERm+2HSu+QyU7pHsEXO9WKh9uavX2y4MtuSX=WADDYx_vg@mail.gmail.com> <D3B5343D.474BD%keyupate@cisco.com> <CA+b+ERn7Rb2=d7UFyxKC01dh7=JFpbnf+dd+_uL+UvAarnkE6w@mail.gmail.com> <CA+wi2hNjD+4Y3vfoDMXW2yzYiyv+9+Xhv=3ZTRumKkZcjY22Hg@mail.gmail.com> <CA+b+ER=_7P_Zg9GQYVT+RVMm9XB6H5o-r86axc0zyLnHf1f8fQ@mail.gmail.com> <CA+b+ERnr_9y9ta3VW99xbDbtRS=9jnNy9mtkk+h6MZ8r2Rj3AQ@mail.gmail.com> <CA+b+ERm39+UjahPJpQrGkAEGTguEQ_yQzNBoufR9wo7dOXDDbQ@mail.gmail.com> <CA+wi2hNMtzhkugis35ja_NbtvckaGSeb+QdFUyj1uMHq6oRWng@mail.gmail.com> <CA+b+ERkJwY8ucxR-FnWuoLMFE48CWE_5GbMwQRNX_3Und8jfsA@mail.gmail.com>
From: Tony Przygienda <tonysietf@gmail.com>
Date: Fri, 22 Jul 2016 01:52:21 -0700
Message-ID: <CA+wi2hOWCZjr78vic2O0crm_bSNww4HTJvdWjq0NfzdTpEEbpw@mail.gmail.com>
To: Robert Raszuk <robert@raszuk.net>
Content-Type: multipart/alternative; boundary="94eb2c049652dae1410538358f03"
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/oPsLoTbbM8Hccwb0eSaU4qhyoNQ>
Cc: "Keyur Patel (keyupate)" <keyupate@cisco.com>, idr wg <idr@ietf.org>
Subject: Re: [Idr] Fwd: Slot request in IDR to present https://www.ietf.org/internet-drafts/draft-idr-bgp-route-refresh-options-00.txt
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Inter-Domain Routing <idr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/idr>, <mailto:idr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/idr/>
List-Post: <mailto:idr@ietf.org>
List-Help: <mailto:idr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/idr>, <mailto:idr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Jul 2016 08:53:07 -0000

Robert, fine, agreed to disagree. We see over next rev of the draft ...

We will extend section 1.1. further and frankly, I think it's sufficient
today (otherwise we wouldn't bother wasting our time writing/figuring that
out).

RD we need wildcard semantics, beside that I agree that there isn't
necessary enough justification for RD otherwise without assuming further
semantics overload of RDs (bad thing). So maybe not allowing and RD
options/filter and saying "RD is implied wildcard" is good enough. My
feeling tells me it's not but it can be added later.

I cannot parse the RTC comment you're making really. I suggest to
distinguish very tightly between "querying", "registering" and "filtering".

RTC is a intermixed "registration/filtering" mechanism, refresh is a
"querying" mechanism. I think we'll add RTs to the filters for the option
refresh and with that you can either "register via/filter RTCs" _or_
specifically request refresh for an RTC (which will be filtered by existing
RTCs since RTC is the "overall filtering").

registering is good if you want full refresh of something beside initial
open but the filters must be very orthogonal to do it efficiently and
decoupled from each other (transactional) while RTC is simply a accept/deny
language which is hard to closure compute (sorry, can't save the linear
programing vs. transitive closure algebra distinction here and if it's not
clear it will become painfully clear in implementation only).

filtering is the NOT of registering really and RTC is a ball-of-hair where
the deny are really "NOTs" and possibly filters rather then registers.
While empty RTC is a "register all" implicitly.

Refresh is querying. Something pretty different from "register". Semantics
is "I may have registered (implicitly) but I may have filtered on my side
for some reason and now I need the information again". Yes, one can play
great games with filtering/registering to emulate querying as one can
surely use screwdrivers to open tin cans. A very orthogonal algebra of
independent RTC filters would have been possibly equivalent to the route
refresh options but alas between the accept/reject/defer/immediate I would
always chose to have a clean "orthogonal filter transactional query"
architecture here ... (sorry, I speak databas'ish here since this is all
really a big partitioned/distributed/loosely synchronized database problem
and has nothing to do really with BGP carrying the bits).

Your answers to "on RTC change you'll get flooded with all the stuff again"
and "how do I get type-6 only without causing subsequent flooding when I
unwind the RTC filter" are still surepitiously missing.

If your  point "you never _query_ in BGP, we SHALL only register" then
route-refresh was the battle to be fought, this particular Rubicon has been
crossed long time ago as you know (and it took good many years until a
similar discussion I had a _looong_ time ago about "you need Begin
Transaction/End Transaction" and was ignored caused enough real pain to
lead to Extended Route Refresh).

no, to nastepnej wersi ;-) ;-)

--- tony

On Thu, Jul 21, 2016 at 9:22 AM, Robert Raszuk <robert@raszuk.net> wrote:

> Tony,
>
> Sorry to be a bit stubborn here but I have not seen any valid reason for
> this work.
>
> Yes you have listed bunch if reasons in the original reply but non of
> those apply.
>
> Quoted below from your mail all below reasons require permanent filter not
> one time as you must not only get the NLRI once .. you MUST also get all
> updates to it when something changes supposedly also in subset way -
> otherwise you get all SAFI (all MACs which is what you are trying to avoid
> in the first place).
>
> That is critical which you seems to be missing.
>
> The debug thing is not sufficient justification.
>
> Moreover as you confirm this work is not compatible with RTC and as you
> confirmed you will not get anything over RTC filter in place. So to use one
> time refresh RTC needs to be effectively disabled.
>
> Your reasons:
>
> "The motivation for this work were scenarios where a single-shot refresh
> is needed, actually concurrent bunch of those based on configuration
> changes, peer having dropped received routes based on specs (A-D), in
> policy changes, joining VPNs, EVIs and so on. "
>
> Thx,
> R.
>



-- 
*We’ve heard that a million monkeys at a million keyboards could produce
the complete works of Shakespeare; now, thanks to the Internet, we know
that is not true.*
—Robert Wilensky