Re: [Idr] Does SRGB TLV in draft-ietf-idr-bgp-prefix-sid qualify for BGP Attibute discard?

Robert Raszuk <robert@raszuk.net> Tue, 26 June 2018 16:24 UTC

Return-Path: <rraszuk@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 C8599131090 for <idr@ietfa.amsl.com>; Tue, 26 Jun 2018 09:24:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.388
X-Spam-Level:
X-Spam-Status: No, score=-1.388 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, URIBL_BLOCKED=0.001] autolearn=no 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 1VmooYtpf0ZJ for <idr@ietfa.amsl.com>; Tue, 26 Jun 2018 09:24:22 -0700 (PDT)
Received: from mail-pg0-x22e.google.com (mail-pg0-x22e.google.com [IPv6:2607:f8b0:400e:c05::22e]) (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 73CF0130F97 for <idr@ietf.org>; Tue, 26 Jun 2018 09:24:22 -0700 (PDT)
Received: by mail-pg0-x22e.google.com with SMTP id b10-v6so4171821pgq.11 for <idr@ietf.org>; Tue, 26 Jun 2018 09:24:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=2YYmY6PEo/5lSoDSSI+nJwz6XtdcvmUrkl2+eAJ+TmE=; b=R1VJUsimmdPsfYYRAwJamT2BVgE8UJAqM8IZKylxBIPKGM0q2BM5lV0ThOSjM7aB7m ilC+SnHlGinoVVOrkz8fXt6E56FdCY2lX+6RJb8UYxIaBfLek29U9BZiEXwB43EGYW00 jC9NuVcmnWanEICcXXV+tTSWihtvJsh9XOyH1wSWxfCTeuxDOwm+kMVV2Q9RPRDu+nuB qcQjvU8e5Oa7pZTuKj8Au8BPwk5p/1Z9juR8P2mcwKa4EMbAFNUESUV6WCCJ2KIdxufd HvW1AF1ZmBsDNDkbF9FeZXl8ALgkmhmcjxIsd2/58Txf73pgH810CC5xXhJljkjwGpYg OxKg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=2YYmY6PEo/5lSoDSSI+nJwz6XtdcvmUrkl2+eAJ+TmE=; b=FkDuBw2CCPTVayN0NdBPFU6jG/BQqYbB3Brjkz/WES/6dCx11iYNPo1qqQkUBlf2HI TprXVh+44K+CxY5PMIgg2/ztmVRFEaYtUZnt80S8+8wlaIh0ff/xl1+JTGgk8M7oe7q7 Vvr28AKg4kncRdq9HzBmxXy6IK8pVOJ+pCoUgiCvX2EJHmDZqXVUXb+95QBQCY32431m SnyKImdvoQ57Flt3sraRBVlOACcG9CkPM8STj8g2rm28gBiKS8dvI5yoNzyriqPhMQtT xmHGd8j+3c1P4N+U0pGfl30D7K7FErTM3r784TFJzvb8beSFcHJ/R6UzFNb6eRjkBKTg KRog==
X-Gm-Message-State: APt69E3yiz1qHZOi5TAq0QfgqLW3ja/iiNDahJA9Esuhpnr1bzsz5hUT QDCEE81caEszpG5rI4lRUYZahS028Yb1FTE212Y=
X-Google-Smtp-Source: AAOMgpeT5HzbWKMDbqNeqRpTQJJfkZ74QBs+Zzt4iV4ehJQzBtp55LXKzTKo7Hl66sEEuIeQSmHyved04Z/vM2SCUio=
X-Received: by 2002:a62:9385:: with SMTP id r5-v6mr2227873pfk.59.1530030261742; Tue, 26 Jun 2018 09:24:21 -0700 (PDT)
MIME-Version: 1.0
Sender: rraszuk@gmail.com
Received: by 2002:a17:90a:d58c:0:0:0:0 with HTTP; Tue, 26 Jun 2018 09:24:21 -0700 (PDT)
In-Reply-To: <00f001d40d68$c4881700$4d984500$@ndzh.com>
References: <00f001d40d68$c4881700$4d984500$@ndzh.com>
From: Robert Raszuk <robert@raszuk.net>
Date: Tue, 26 Jun 2018 18:24:21 +0200
X-Google-Sender-Auth: BQUg4WqM0eilgXWAUVJjEswwU5o
Message-ID: <CA+b+ERkOUJrEQKJ-nNz-5Liw674aPO3E4pKZ-hY8wet7kQXTUQ@mail.gmail.com>
To: Susan Hares <shares@ndzh.com>
Cc: Eric C Rosen <erosen@juniper.net>, "Ketan Talaulikar (ketant)" <ketant@cisco.com>, "idr@ietf. org" <idr@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000003f3291056f8dee2b"
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/ccqq12xth4l84Kj5CaX67ErSQVU>
Subject: Re: [Idr] Does SRGB TLV in draft-ietf-idr-bgp-prefix-sid qualify for BGP Attibute discard?
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.26
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: Tue, 26 Jun 2018 16:24:25 -0000

Hi Sue,

I think there must be some disconnect and I think Eric was trying to
already point this out.

You say: "instantaneous sample rather than an average" - very true but this
have nothing to do with SRGBs analogy. SRGBs are static, very very static
values. We are simply pushing configuration by BGP here. At least on most
platforms those blocks are or can be configured by CLI once for good.

Cheers,
R.








On Tue, Jun 26, 2018 at 6:14 PM, Susan Hares <shares@ndzh.com> wrote:

> Greetings:
>
>
>
> As IDR co-chair, I asked whether the discard attribute error handling (per
> RFC7606) for the BGP Prefix-SID attribute was appropriate.  This new mail
> list entry provides a place to comment on that point.
>
>
>
> Here’s the details:
>
>
>
> Section 3.2 paragraph starting with “The Originator SRGB TLV contains”
> states
>
>    The Originator SRGB TLV contains the SRGB of the node originating the
>
>    prefix to which the BGP Prefix-SID is attached.  The Originator SRGB
>
>    TLV MUST NOT be changed during the propagation of the BGP update.  It
>
>    is used to build segment routing policies when different SRGBs are
>
>    used in the fabric, for example
>
>    ([I-D.ietf-spring-segment-routing-msdc
> <https://tools.ietf.org/html/draft-ietf-idr-bgp-prefix-sid-26#ref-I-D.ietf-spring-segment-routing-msdc>
> ]).
>
>
>
> Does building segment routing policies were different SRGBs mean it
> changing policies regarding the SR segments installed?  Acee suggested
> these “routing policies” were hints on where labels were allocated for
> different SRGBs.
>
>
>
> To drill down further, I provided some comments below on the theories
> behind the error handling draft from my perspective and scenarios to
> consider.   I wished to unpack the “yes/no” answers into a constructive
> decision by the WG on the topic.
>
>
>
> As co-chair, I am fine with either an informed “yes/no” with details.
>
>
>
> Susan Hares
>
>
>
>
>
> Background on RFC7606
>
> ------------------------------
>
> The ARPANET’s original algorithm ran into a raise condition.
>
>
>
> Used a “link metric, which was an instantaneous sample rather than an
> average, was a poor indicator of expected delay on a link as the quantity
> being sampled fluctuated fairly rapidly at all traffic levels.”  This is a
> quote from the reference academic paper link below (circa 1989).
>
>
>
> http://www2.cs.arizona.edu/classes/cs525/fall14/papers/ak89.pdf
>
>
>
> This early ARPANET lesson causes us to learn that feedback loops (even
> hints) that readjust routing algorithms may cause fluctuations.  Does this
> apply to all algorithms?  No,  but this common wisdom is one of the reason
> the BGP error handling calls out the following  text in section 2.
>
>
>
>    o  Attribute discard: In this approach, the malformed attribute MUST
>
>       be discarded and the UPDATE message continues to be processed.
>
>       This approach MUST NOT be used except in the case of an attribute
>
>       that has no effect on route selection or installation.
>
>
>
> Other reasons can be algorithms specific to BGP (see RFC 7964, RFC3345].
>
>
>
> Anyone who suggests processing (such as SRGB TLV) that uses this
> information for routing/forwarding purposes needs to show why it is not
> going to cause problems.
>
>
>
> Scenarios to consider:
>
> --------------------
>
> There are two cases to consider:  normal buffer growth/reduction and edge
> cases that caused by errors in the central process.  The error scenarios to
> check that I can think of are:
>
>
>
> 1)  Critical nodes that receive alternating hints for large/small,
>
> 2)  Massive large hints for all nodes
>
>
>
> On #2, the AS boundary for AS confederations or AS policies have known
> solutions for existing problems.
>
>
>
>
>
> *From:* Eric C Rosen [mailto:erosen@juniper.net]
> *Sent:* Tuesday, June 26, 2018 11:37 AM
> *To:* Susan Hares; 'Ketan Talaulikar (ketant)'; 'Robert Raszuk'
> *Cc:* 'idr@ietf. org'
> *Subject:* Re: [Idr] BGP-LS and the like ...
>
>
>
> On 6/26/2018 9:54 AM, Susan Hares wrote:
>
> Eric:
>
>
>
> On your questions for #1,  The ARPANET’s original algorithm
>
>
>
> Used a “link metric, which was an instantaneous sample rather than an
> average, was a poor indicator of expected delay on a link as the quantity
> being sampled fluctuated fairly rapidly at all traffic levels.”  This is a
> quote from the reference academic paper link below (circa 1989).
>
>
> I am very familiar with this issue about feedback loops in the ARPAnet,
> but I don't understand what it has to do with the draft under discussion.
>
>
>
>
> If you suggest that hints to the buffer algorithm do not cause
> fluctuations, then provide the discussion on the list that provides this
> proof.
>
>
> Are we still talking about the prefix-SID attribute draft?  It has nothing
> to do with buffer allocations.  Also, it has no feedback loops.
>
> Or are you talking about the BGP-LS draft?  That draft just describes the
> distribution of information; if you're worried about feeback loops created
> by the use of that information, I think you need to go to the LSVR WG.  The
> BGP-LS stuff has nothing to do with the prefix-SID draft though.
>
>
> A group of drafts defining this new technology should provide a cogent
> definition for the administrative boundary of segment routing in either the
> segment routing drafts.  This SR domain boundary should be detectable by
> management process.
>
>
>
>
> Defining the admin boundary of an SR domain would be outside the scope of
> any BGP document.
>
> It would be nice if BGP had a simple way of restricting the distribution
> of attributes and/or communities and/or extended communities and/or large
> communities and/or super-duper communities to specified administrative
> domains.  Unfortunately, it doesn't.  But this is a long-standing problem
> that is generally dealt with on an ad hoc basis by policy.
>