Re: [bess] Alvaro Retana's Discuss on draft-ietf-bess-mvpn-fast-failover-13: (with DISCUSS and COMMENT)

Greg Mirsky <gregimirsky@gmail.com> Tue, 22 December 2020 01:10 UTC

Return-Path: <gregimirsky@gmail.com>
X-Original-To: bess@ietfa.amsl.com
Delivered-To: bess@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 73D883A0332; Mon, 21 Dec 2020 17:10:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 lX_Umpt4rfNM; Mon, 21 Dec 2020 17:10:28 -0800 (PST)
Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) (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 6863E3A02BD; Mon, 21 Dec 2020 17:10:28 -0800 (PST)
Received: by mail-lf1-x134.google.com with SMTP id y19so27991559lfa.13; Mon, 21 Dec 2020 17:10:28 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=oLxFxILKsl9+7wp4I+qmmi/IDrkqNo97B7t8jt/t564=; b=bxdGkSTgjSKqz9L7VN/euqLsEDOfrclC+wc/p18JOhJYQMvlsEHTgFOf6B0EX6YgS3 OT8VlKM4jwP6aKlinT9e9TOxfrTOZeRRPYlfdjSwCcEfo+gmIECexEVlu9ASthvZ995h mejs6mlCORPvBJnMqwpXPVdT9ZYI5Z3HupTqnfWN0d1VRzxRiRrtlc4s1U6QIhMIv2fi lyK7XXq2zePL8LxhWCoP8UIB03YKQlwkiOdISOKo5+p83Z2NzaBv3ucz1F9bHILT6uZB qUGQis6jbSLOUAqFoH0eGuHJK9elTIekImgwSvijd3t+wrHgTBswzFgil5v78EMv4PnZ mRHA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=oLxFxILKsl9+7wp4I+qmmi/IDrkqNo97B7t8jt/t564=; b=NwjF9UukR7Ydv8LQpwr8RcO4pgU/50rLDl81F8LU910uxE+Sf82AT/a51IRaQSu7Kq Vd5Gl47ROAeCJ/AmwEJhX65R6FTK6GJd2jMyoJdvzsBNhKLhm9/ginzsxluUeaO9r13e EAjJiXyjc1OFdj747hrUVQg87b6EMpkSUBfp4/VIdbJLRdSscouwYhWFgGtvYuoSf09M dN6cwg+kqL/e9V3ZDBc6kSIYyirHtIuaxsLJv98iasgQ9RwJT/jVUtGv3PTr1TWs77hi 0vYbI2a2WXrqEUAa3VtjKnTqAFIqtXPY4A1n0G9vQ42yBiuXQxo9QA1hNgnqLaBmUbYs FSoA==
X-Gm-Message-State: AOAM531BuhsZfw12dGTCvxvbDx4ouqylNAQ/89V+uQ4XLhTup9swKkOA 6LepzCZq86ATbI85/oMzAOnS1yfHW7fN5rYgbLY=
X-Google-Smtp-Source: ABdhPJwIt7U6jVNMeGmswrsikGcGo+j7MFN2vR6IVoHYqm/GLv8EsrLmb1smbqoCaysqntg+Kq6haVIxG7EMqHFDE3A=
X-Received: by 2002:a05:6512:3305:: with SMTP id k5mr7335868lfe.35.1608599426360; Mon, 21 Dec 2020 17:10:26 -0800 (PST)
MIME-Version: 1.0
References: <160807379483.25352.17040820176966456047@ietfa.amsl.com> <20201216212141.GB24940@pfrc.org> <CA+RyBmXdYBO66J+4-oFAikPgt9YGMHTb9x773RGPEDYV-NF+-Q@mail.gmail.com> <20201221140007.GB23143@pfrc.org> <CA+RyBmUjbkzvDsasZzT+uv+3fT6SUFmDDu9p+VDDxMd6uSh8jA@mail.gmail.com> <20201221234621.GE23143@pfrc.org>
In-Reply-To: <20201221234621.GE23143@pfrc.org>
From: Greg Mirsky <gregimirsky@gmail.com>
Date: Mon, 21 Dec 2020 17:10:14 -0800
Message-ID: <CA+RyBmW+NZ4rqg28e8wxZQfvY=TN3VtQ_qaVKpPvqdquy18Xeg@mail.gmail.com>
To: Jeffrey Haas <jhaas@pfrc.org>
Cc: Alvaro Retana <aretana.ietf@gmail.com>, The IESG <iesg@ietf.org>, draft-ietf-bess-mvpn-fast-failover@ietf.org, bess-chairs@ietf.org, BESS <bess@ietf.org>, Stephane Litkowski <slitkows.ietf@gmail.com>, bfd-chairs@ietf.org
Content-Type: multipart/alternative; boundary="00000000000064e86505b7033d0f"
Archived-At: <https://mailarchive.ietf.org/arch/msg/bess/5hJUCKl_zivpQzrtikMiV9TZD9o>
Subject: Re: [bess] Alvaro Retana's Discuss on draft-ietf-bess-mvpn-fast-failover-13: (with DISCUSS and COMMENT)
X-BeenThere: bess@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: BGP-Enabled ServiceS working group discussion list <bess.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/bess>, <mailto:bess-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/bess/>
List-Post: <mailto:bess@ietf.org>
List-Help: <mailto:bess-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/bess>, <mailto:bess-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Dec 2020 01:10:31 -0000

Hi Jeff,
RE: the use case for multiple BFD discriminators listed in the BGP BFD
Discriminator attribute.
As I understand BFD and S-BFD, a discriminator value a node would advertise
has different contexts in BFD and S-BFD. In the former case - that is the
value node would use as My Discriminator, while in the latter- a remote
S-BFD system must use as Your Discriminator. Additionally, I don't think
that S-BFD has been defined for p2mp networks (I'm not sure it can work in
p2mp). And there's draft-ietf-idr-bgp-ls-sbfd-extensions
<https://tools.ietf.org/html/draft-ietf-idr-bgp-ls-sbfd-extensions-04> that
   defines extensions to the BGP Link-state address-family to
   carry the S-BFD Discriminators information via BGP.
As I understand it, to advertise a Discriminator for S-BFD, a node will
follow the mechanism defined in draft-ietf-idr-bgp-ls-sbfd-extensions.
What do you think?

Regards,
Greg

On Mon, Dec 21, 2020 at 3:28 PM Jeffrey Haas <jhaas@pfrc.org> wrote:

> Greg,
>
> On Mon, Dec 21, 2020 at 01:08:26PM -0800, Greg Mirsky wrote:
> > > If the intent was to permit more than one type, the BFD Mode would be
> > > followed by a length field - likely 2 octets long.
> > >
> > GIM2>> At this time I don't see a use case for the same BGP speaker
> > advertising more than one type of BFD session.
>
> Consider the example where BFD or S-BFD were options.  Consider that S-BFD
> might be preferred, but regular BFD was being offered as an option.  How do
> you encode that?
>
> > NEW TEXT:
> >    The BFD Discriminator attribute MUST be considered malformed if its
> >    length is smaller than five octets or if Optional TLVs are present,
> >    but not well-formed.  If the attribute is deemed to be malformed, the
> >    UPDATE message SHALL be handled using the approach of Attribute
> >    Discard per [RFC7606].
>
> That text is better. Thanks.
>
> > > The implication is that if there's more than one BFD Discriminator
> that any
> > > BFD Mode TLV (if the change is made above for multiple) that is
> malformed
> > > is
> > > reason to discard the entire feature.
> > >
> > GIM2>> Do you see as useful a reference to clause g in Section 3 of the
> RFC
> > 7606 that states:
> >        If any other attribute (whether
> >        recognized or unrecognized) appears more than once in an UPDATE
> >        message, then all the occurrences of the attribute other than the
> >        first one SHALL be discarded and the UPDATE message will continue
> >        to be processed.
>
> I wouldn't cite that one.  Its intent is that if you had more than one BFD
> Path Attribute present in the Update, not that there may be more than one
> BFD Mode in the BFD Path Attribute.
>
> -- Jeff
>