Re: [Idr] Solicit feedbacks on draft-dong-idr-end-of-rib-use-extension

Jakob Heitz <jakob.heitz@ericsson.com> Thu, 18 August 2011 17:40 UTC

Return-Path: <jakob.heitz@ericsson.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 2A61B11E80B3 for <idr@ietfa.amsl.com>; Thu, 18 Aug 2011 10:40:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.139
X-Spam-Level:
X-Spam-Status: No, score=-6.139 tagged_above=-999 required=5 tests=[AWL=0.460, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jWXPv4q8xIYc for <idr@ietfa.amsl.com>; Thu, 18 Aug 2011 10:40:15 -0700 (PDT)
Received: from imr4.ericy.com (imr4.ericy.com [198.24.6.9]) by ietfa.amsl.com (Postfix) with ESMTP id 4990B11E8095 for <idr@ietf.org>; Thu, 18 Aug 2011 10:40:15 -0700 (PDT)
Received: from eusaamw0712.eamcs.ericsson.se ([147.117.20.181]) by imr4.ericy.com (8.14.3/8.14.3/Debian-9.1ubuntu1) with ESMTP id p7IHf5xe025629; Thu, 18 Aug 2011 12:41:08 -0500
Received: from EUSAACMS0701.eamcs.ericsson.se ([169.254.2.94]) by eusaamw0712.eamcs.ericsson.se ([147.117.20.181]) with mapi; Thu, 18 Aug 2011 13:41:06 -0400
From: Jakob Heitz <jakob.heitz@ericsson.com>
To: Cayle Spandon <cayle.spandon@gmail.com>
Date: Thu, 18 Aug 2011 13:41:04 -0400
Thread-Topic: [Idr] Solicit feedbacks on draft-dong-idr-end-of-rib-use-extension
Thread-Index: AcxdnCBtxb52T2iiTaK7pXuVB9uGFAAMS5Xw
Message-ID: <7309FCBCAE981B43ABBE69B31C8D213914A21EFA3E@EUSAACMS0701.eamcs.ericsson.se>
References: <76CD132C3ADEF848BD84D028D243C9270B76B48C@szxeml509-mbs.china.huawei.com> <4E4186ED.4070001@cisco.com> <76CD132C3ADEF848BD84D028D243C9270B76B7A0@szxeml509-mbs.china.huawei.com> <4E431244.5050206@cisco.com> <76CD132C3ADEF848BD84D028D243C9270B76BE40@szxeml509-mbs.china.huawei.com> <4E43D60C.3000906@cisco.com> <CAOnwuCEuDNXqyGJM5PYgeU0EXtrdzLjJw+TVFDQLxjbf1qNChg@mail.gmail.com> <D141CF42-601C-4D8C-BDDE-133CF6F69791@ericsson.com> <CAOnwuCH_74oJU9Y=H2fDkay=QisQWGusf+ipCNvQZGuoYjkbtA@mail.gmail.com>
In-Reply-To: <CAOnwuCH_74oJU9Y=H2fDkay=QisQWGusf+ipCNvQZGuoYjkbtA@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "idr@ietf.org" <idr@ietf.org>
Subject: Re: [Idr] Solicit feedbacks on draft-dong-idr-end-of-rib-use-extension
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Thu, 18 Aug 2011 17:40:16 -0000

I think I can see a use case.
A BGP speaker wants to tell its neighbors:

If the BGP session to me goes down, you MUST immediately
remove the routes that I advertised to you,
AND
when I have completed my initial update to you,
I will send you an EOR.

--
Jakob Heitz.
 

> -----Original Message-----
> From: Cayle Spandon [mailto:cayle.spandon@gmail.com] 
> Sent: Thursday, August 18, 2011 4:44 AM
> To: Jakob Heitz
> Cc: idr@ietf.org
> Subject: Re: [Idr] Solicit feedbacks on 
> draft-dong-idr-end-of-rib-use-extension
> 
> Jakob Heitz> When a BGP speaker advertises the GR capability without
> Jakob Heitz> including any <AFI,SAFI> it is saying to the peer:
> Jakob Heitz> I will send an EOR when my initial update is complete and
> Jakob Heitz> I MAY retain your routes when you restart.
> 
> Jakob Heitz> When a BGP speaker advertises your extension,
> Jakob Heitz> it is saying to the peer:
> Jakob Heitz> I will send an EOR when my initial update is complete and
> Jakob Heitz> I WILL NOT retain your routes when you restart.
> 
> One nitpick (not relevant to the discussion at hand): if we have a new
> separate EoR capability, sending it would not make any statement about
> whether or not router are retained after a restart. That would be an
> orthogonal issue handled by the GR capability.
> 
> Jakob Heitz> Can you state a use case where the difference matters?
> 
> I see your point, which is (I think) that we can use the existing GR
> capability without an <AFI,SAFI> to advertise "I will (a MUST) send an
> EoR after initial convergence".
> 
> I believe there is a problem with this approach.
> 
> Let's say that a BGP speaker wants to announce the following:
> 
> (a) I am able to preserve forwarding state for <AFI,SAFI> during a
> restart. This requires sending a GR capability with <AFI,SAFI>.
> 
> (b) I will (a MUST) send an EoR after initial convergence. This
> requires sending a GR capability without an <AFI,SAFI>.
> 
> Since a single GR capability cannot have and not have an <AFI,SAFI> at
> the same time, this would require sending two separate GR capabilities
> in a single OPEN message (one GR cap with one or more <AFI,SAFI> and
> one GR cap without).
> 
> This is explicitly forbidden in the 2nd to last paragraph of section 3
> of RFC 4724.
> 
> On Tue, Aug 16, 2011 at 10:23 AM, Jakob Heitz 
> <jakob.heitz@ericsson.com> wrote:
> > Again:
> >
> > When a BGP speaker advertises the GR capability without
> > including any <AFI,SAFI> it is saying to the peer:
> > I will send an EOR when my initial update is complete and
> > I MAY retain your routes when you restart.
> >
> > When a BGP speaker advertises your extension,
> > it is saying to the peer:
> > I will send an EOR when my initial update is complete and
> > I WILL NOT retain your routes when you restart.
> >
> > Can you state a use case where the difference matters?
> >
> > --
> > Jakob Heitz.
> >
> >
> > On Aug 16, 2011, at 4:32 AM, "Cayle Spandon" 
> <cayle.spandon@gmail.com<mailto:cayle.spandon@gmail.com>> wrote:
> >
> > I think it is fair to say that everyone agrees that EoR makes sense
> > without GR.
> >
> > With 20/20 hindsight, it would probably have been "cleaner" 
> to define
> > a separate capability for EoR and GR.
> >
> > But we have to play the cards we have been dealt, and at 
> this point I
> > can sympathize with the position that clarifying/tweaking 
> the existing
> > specs would minimize churn and confusion.
> >
> > (That said, I would not object to "doing the right thing from an
> > architecture point of view" and creating a new EoR capability even
> > though doing so would create a new set of confusions on how the new
> > EoR capability would interact with the existing GR capability.)
> >
> > Regardless of what we decide to do (tweak GR capability or add EoR
> > capability) I think that the following 3 problems need to fixed:
> >
> > 1. There must be a way of negotiating EoR in such a way that the
> > receiver can be 100% certain that it will receive an EoR at 
> the end of
> > initial convergence. As pointed out by earlier posters, 
> there are some
> > inconsistencies in the current GR spec which cause it to be unclear
> > (for certain scenarios, notably when <AFI,SAFI> is included) whether
> > an EOR should be sent after initial convergence.
> >
> > 2. It is not sufficient to simply clarify the language in a 
> respin of
> > the GR spec without any protocol changes. If we did that, 
> the receiver
> > of a GR capability would have no way to know 100% sure that 
> the remote
> > side intends to send an EoR after initial convergence (because it
> > doesn't know whether the remote side was implemented before or after
> > the "clarifications"). Thus, we need to add "something" 
> (either a new
> > flag in the existing GR capability to a new EoR capability) which
> > conveys to the other side: "I guarantee that I will send EoR after
> > initial convergence".
> >
> > 3. We also need to clarify the behavior for router-refresh. In my
> > opinion it would be good to also indicate 
> end-of-route-refresh with an
> > EoR (or similar) message.
> >
> > -- Bruno
> >
> > PS to muddle the waters some more: If we do end up going 
> down the path
> > of a new EoR capability, then I would suggest that the authors of
> > draft-ietf-idr-bgp-enhanced-route-refresh join the effort; EoR could
> > be enhanced to include SoR (Start-of-RIB) as well which would cover
> > the need for start-of-route-refresh and end-of-route-refresh.
> >
> > On Thu, Aug 11, 2011 at 9:15 AM, Robert Raszuk 
> <raszuk@cisco.com<mailto:raszuk@cisco.com>> wrote:
> > Hi Jie,
> >
> > It's good that we agree on this scenario. IMO now GR capability with
> > null AFI/SAFI is for signaling "GR helper and EoR".
> >
> > I would not agree with that. It is in fact just the opposite.
> >
> > If we want to use it to signal EoR only, we may need another way to
> >
> > signal the GR helper capability.
> >
> > +
> >
> > IMO the two scenarios mentioned in sec 4 cannot be signaled
> > separately through one single capability format. Thus some 
> additional
> > flag needs be defined
> >
> > While I did suggested the addition of flag after rethinking 
> this a bit more
> > I do not think it is necessary.
> >
> > Here is my idea:
> >
> > --
> >
> > * When you signal GR capability with null AFI/SAFI list - 
> it just means use
> > of EOR - it does not mean you support helper mode.
> >
> > * When you signal GR capability with non-null AFI/SAFI (at least one
> > AFI/SAFI included) - it will mean use of EOR, helper mode 
> support + GR
> > support for this/those AFI/SAFIs.
> >
> > --
> >
> > If the GR RFC will clarify that to reflect such semantics I 
> think all
> > confusions are addressed and all cases covered without any 
> need for protocol
> > extension.
> >
> > Thoughts ?
> >
> > Thx,
> > R.
> >
> >
> > _______________________________________________
> > Idr mailing list
> > Idr@ietf.org<mailto:Idr@ietf.org>
> > https://www.ietf.org/mailman/listinfo/idr
> >
> > _______________________________________________
> > Idr mailing list
> > Idr@ietf.org<mailto:Idr@ietf.org>
> > https://www.ietf.org/mailman/listinfo/idr
> >
>