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

"Jakob Heitz (jheitz)" <jheitz@cisco.com> Fri, 29 July 2016 10:37 UTC

Return-Path: <jheitz@cisco.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 AA5B912DC45 for <idr@ietfa.amsl.com>; Fri, 29 Jul 2016 03:37:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.807
X-Spam-Level:
X-Spam-Status: No, score=-15.807 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.287, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 fnrnyTPKnKXe for <idr@ietfa.amsl.com>; Fri, 29 Jul 2016 03:37:28 -0700 (PDT)
Received: from rcdn-iport-7.cisco.com (rcdn-iport-7.cisco.com [173.37.86.78]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CC9EB12DC3D for <idr@ietf.org>; Fri, 29 Jul 2016 03:37:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=12302; q=dns/txt; s=iport; t=1469788647; x=1470998247; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=xkRZM9FEC9z6Fq/1R3+jd6JslGEvzOJNW5y8/RFpGpA=; b=VUwOJYofEp/ujCAQZPV+y5Jx2W/YyhOS0ZW+9niexFZn6jVcxQFCAzLv hApKLXrlh1QYpmMW3aGycHOzc/Di8rDr4PmfkenJkPEj2fw6eLjSHejJ5 Hae/Fn+CXuQWEhXR7wGr4jRChuY5Hemac8Rb7p/tIXSx7PEh+JhPi2k9Q 4=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CRAwDzMJtX/4ENJK1dgndOVny0AoUFgX0mhXcCgTE4FAEBAQEBAQFdJ4RdAQVnEhACAQg7BAcyFBECBA4FiDEOvAQBAQEBAQEBAQEBAQEBAQEBAQEBAQEXBYYqgXgIgk2BIoJ6g1CCLwWTcIVDAY59j0CMMYN3AR42gkWBNW4Bhk2BRAEBAQ
X-IronPort-AV: E=Sophos;i="5.28,438,1464652800"; d="scan'208,217";a="129638184"
Received: from alln-core-9.cisco.com ([173.36.13.129]) by rcdn-iport-7.cisco.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 29 Jul 2016 10:37:26 +0000
Received: from XCH-ALN-018.cisco.com (xch-aln-018.cisco.com [173.36.7.28]) by alln-core-9.cisco.com (8.14.5/8.14.5) with ESMTP id u6TAbQXj014838 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Fri, 29 Jul 2016 10:37:26 GMT
Received: from xch-aln-014.cisco.com (173.36.7.24) by XCH-ALN-018.cisco.com (173.36.7.28) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Fri, 29 Jul 2016 05:37:26 -0500
Received: from xch-aln-014.cisco.com ([173.36.7.24]) by XCH-ALN-014.cisco.com ([173.36.7.24]) with mapi id 15.00.1210.000; Fri, 29 Jul 2016 05:37:26 -0500
From: "Jakob Heitz (jheitz)" <jheitz@cisco.com>
To: Robert Raszuk <robert@raszuk.net>
Thread-Topic: [Idr] Fwd: Slot request in IDR to present https://www.ietf.org/internet-drafts/draft-idr-bgp-route-refresh-options-00.txt
Thread-Index: AQHR4aVazIYBPV/cR0uGH7jm8G+9GqAgntcAgAABUACAAAdOAIAAAyuAgAF604CAABNLAIABJIAA//+uo+aAAFgkgIAABLuAgAEUfoCAA4DNAIAAdHiAgAADloCABkHiEIAAsvKA///VWEyAAAbVgQ==
Date: Fri, 29 Jul 2016 10:37:25 +0000
Message-ID: <0598FA6B-280B-4448-8A95-2AD85C562DF4@cisco.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> <CA+wi2hOWCZjr78vic2O0crm_bSNww4HTJvdWjq0NfzdTpEEbpw@mail.gmail.com> <CA+b+ER=T-X0JYfvpGPcM4gs4y_HPRWwkLuktN9aO0jwUBybJFg@mail.gmail.com> <CA+wi2hPyhiGhMdnS3x_ZHFiy9dAFnx0mxCtRqr=rP6tu+aaePQ@mail.gmail.com> <CA+b+ERkT_zLQqd1B4295Z6Ezz0i+542SNouGBPXan=p15_PbRA@mail.gmail.com> <5506bd9120c44493acb735085ead333a@XCH-ALN-014.cisco.com>, <CA+b+ERmuMyEEeqFrhh_eb_LCvBW8AqDeT6Mq6ij35K022Hb-8g@mail.gmail.com>, <F8A1EED6-4A40-408A-99EF-46E7F0984B49@cisco.com>
In-Reply-To: <F8A1EED6-4A40-408A-99EF-46E7F0984B49@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
Content-Type: multipart/alternative; boundary="_000_0598FA6B280B44488A952AD85C562DF4ciscocom_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/2KrhbGtr1e81zaiZm2mbsa1DMhk>
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, 29 Jul 2016 10:37:32 -0000

And to clarify, that means all routes permitted after the ORF message is processed MUST be re-advertised. It doesn't matter whether the action was add or remove.

Also, when you remove the last permit, you get nothing. It's like after session establishment: if the ORF capability was negotiated, nothing is sent until the first permit is received.

Thanks,
Jakob.


On Jul 29, 2016, at 3:12 AM, Jakob Heitz (jheitz) <jheitz@cisco.com<mailto:jheitz@cisco.com>> wrote:

Wrong. RFC 5291 says:

The speaker MUST re-advertise all the routes that have been
   affected by the ORF entries carried in the message, but MAY also re-
   advertise the routes that have not been affected by the ORF entries
   carried in the message.

Thanks,
Jakob.


On Jul 29, 2016, at 12:45 AM, Robert Raszuk <robert@raszuk.net<mailto:robert@raszuk.net>> wrote:

Hi Jakob,

See inline ...

On Fri, Jul 29, 2016 at 4:18 AM, Jakob Heitz (jheitz) <jheitz@cisco.com<mailto:jheitz@cisco.com>> wrote:
Just reading some of this.
A limited refresh is NOT the same thing as "Apply the ORF then remove it".
Suppose you want to refresh a subset of the routes.
You send an ORF to permit only the subset.
You receive the subset.
Now you remove the ORF.
You receive the whole table.
NOT what you wanted.


?If this is what your implementation does then I recommend you fix it first.

For Match = DENY ?REMOVE action should result in *only* advertisement of previously filtered entries.

For Match = PERMIT REMOVE action should result in *only* the delta between whole table and remaining ORF entries.

?In no case you get the whole table (other then removal of last ORF PERMIT entry). ?



Also, the use case is good.
The receiver dropped some routes due to policy.
The receiver changed the policy.
Now it wants a repeat of the previously dropped routes.
This is not a use case for ORF or RTC.
The thing is that ORF or RTC were already passing those routes, so changing them is nonsense.


?For this case you use Enhanced Route Refresh. As result you get those NLRIs which pass ORF or RTC the filters on a per AFI/SAFI basis.

You have to be able to handle it anyway as when you boot you will get.

If you pushed your prefix list with ORF then removing it will get you the delta.

If you filtered based on import RT then advertising RT in ORF or RTC will get you the delta.

So in what exact protocol cases you envision use case for this scoped one time refresh ? And what exactly in your opinion should be the list of parameters used to perform a query ?


Best,
R.