Re: [bess] Shepherd's review of draft-ietf-bess-mvpn-fast-failover

Greg Mirsky <gregimirsky@gmail.com> Thu, 23 January 2020 21:15 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 D4F70120227; Thu, 23 Jan 2020 13:15:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.596
X-Spam-Level:
X-Spam-Status: No, score=-0.596 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_COMMENT_SAVED_URL=1.391, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_HTML_ATTACH=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 gve6N8I2dqCs; Thu, 23 Jan 2020 13:15:31 -0800 (PST)
Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) (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 84EDB12082D; Thu, 23 Jan 2020 13:15:30 -0800 (PST)
Received: by mail-lj1-x22a.google.com with SMTP id y4so5328185ljj.9; Thu, 23 Jan 2020 13:15:30 -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=AFiDo9zwZqvmUGRbmfX3eR+hlcAPuTYWEB12cRb6+Jg=; b=oazTzq3DMQypgtrzSBKT2Y7FLyGoEgH8akYajJng1Bgx4lj5rTKJX991xmLplRKg3h HxlUQCXzM7V/rqUVyUul6+HmzpSf2pKogLconooqdO4d0Aq2aDS/7u1vrokqAY7Rjd3X IeVavPQz0L6j8yJfmZP9dfaA26YQ0MKHyzkPrqzQqQ4sa0UKLkIiAknXuMxSdiSY7BNI J+U4eUU7j+8RR8nYSyu5vXzUmt72zpLQxoB7NPhl8/PP6cngTw2KnFJuXcdfgLks8Pc7 RQRbnuzopiE/hWwIeUFIdyovrt0V5WvDlSHjMugG2jh74nLttlNU3DpilyQBnnafzm7N 0Ctg==
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=AFiDo9zwZqvmUGRbmfX3eR+hlcAPuTYWEB12cRb6+Jg=; b=nG06tv/zFsHn3WvF+EO1hg+2ixHIvetxxpTI6g5mJ+jxXcCZBazWiARKzzF3YvFhOe Bgn9H/AprbKmNlbLVG+30ddK80qFgFe64RtfYVYHMz0ySwzbvth8lUT8Rehp2/7FqDqZ EfE9gBtMo5mLLjRUF7Lf0AwzK49RmtoajFTI/VYpOqJWgLv9ht84am2i1E7f7wtDxvM0 DWF73I6QZ6UiOsLVwBAF+vmCZmGfn7IuLAN9sIfWU4Xnuuvg1ZY5uKF1g7gdUAoR1jSi aJJBXBcmn89aKOchyLgSBTxWwtVWtCYlDDjfUqxMFLxAbhNBOgZ+E2cpFfaWQlXUTXSL 4HwA==
X-Gm-Message-State: APjAAAW/rjvODHiY6SplvIpmivy4XyBfAxgQT2C33AXu/bVOtgEVEwWK XcFf1E5JE0zepFN7ovXNjjIc45RqFbuzMNPO5co=
X-Google-Smtp-Source: APXvYqzmZNVcWgfSK3sxXMxQMjWCkrU2MkmJ95Syuonv3vuSa29Td29mBqo4S5uGBtJpSejJQFcuRXrSl2F8Snxw1mo=
X-Received: by 2002:a2e:b0e3:: with SMTP id h3mr213275ljl.56.1579814128504; Thu, 23 Jan 2020 13:15:28 -0800 (PST)
MIME-Version: 1.0
References: <CA+RyBmWOYUnrzrb=M=dvHpn-huh_WFJURF0spOzX_752V0gkVg@mail.gmail.com> <04f301d5c4a0$6cd81690$468843b0$@gmail.com> <CA+RyBmVsFVz42sbPRF=oJ=wH-dVrZRaMgf+Kqr6ne5SO3HC0+Q@mail.gmail.com> <068e01d5c562$ad9cf7f0$08d6e7d0$@gmail.com> <CA+RyBmUN_F=eq+Cb78aN99wg318Q=w=cKNw-HkagU9rZ+QR2mA@mail.gmail.com> <01c101d5d1f5$f00b1af0$d02150d0$@gmail.com>
In-Reply-To: <01c101d5d1f5$f00b1af0$d02150d0$@gmail.com>
From: Greg Mirsky <gregimirsky@gmail.com>
Date: Thu, 23 Jan 2020 13:15:16 -0800
Message-ID: <CA+RyBmWhH2AP5QsXwDepNaD4Zk4wnENk4KuB1+hknHCbUy1cMA@mail.gmail.com>
To: slitkows.ietf@gmail.com
Cc: BESS <bess@ietf.org>, bess-chairs@ietf.org
Content-Type: multipart/mixed; boundary="000000000000f12a3f059cd523da"
Archived-At: <https://mailarchive.ietf.org/arch/msg/bess/RjsjhDjlnD4L65Z3ZnFh3fHL1o4>
Subject: Re: [bess] Shepherd's review of draft-ietf-bess-mvpn-fast-failover
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: Thu, 23 Jan 2020 21:15:39 -0000

Hi Stephane,
many more thanks for the detailed clarification. I've re-formated the BFD
Discriminator attribute, updated the text to its explanation, and the new
sub-registry of BFD Discriminator Extention Types. As, usual, diff and the
working version of the draft are attached for review and comments.

Best regards,
Greg

On Thu, Jan 23, 2020 at 6:03 AM <slitkows.ietf@gmail.com> wrote:

> Hi Greg,
>
>
>
> I think there is still a misunderstanding on the proposed encoding šŸ˜Š I
> may not have been fully clear, sorry.
>
>
>
> Here is what you have:
>
>
>
>        0                   1                   2                   3
>
>        0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
>
>       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
>       |    BFD Mode   |                  Reserved                     |
>
>       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
>       |                       BFD Discriminator                       |
>
>       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
>       |              Type             |           Length              |
>
>       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
>       ~                             Value                             ~
>
>       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
>
>
>
>
> Here is what I expected :
>
>
>
>        0                   1                   2                   3
>
>        0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
>
>       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
>       |    BFD Mode   |                  Reserved                     |
>
>       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
>       |                       BFD Discriminator                       |
>
>       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
>       |              Optional TLVs (variable)
>
>       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
>
>
>
>
>
>
> Associated with a text:
>
> Optional TLVs:
>
> The BFD Discriminator attribute MAY context optional TLVs for future
> extension. Each TLV consists of a sequence of:
>
>    - 1 octet of TLV type
>    - 1 octet of length of the value field of the TLV
>    - Followed by the value
>
> This document does not define any TLV yet.
>
>
>
> Thinking more about it, while it remains a good idea to use TLVs for
> future extensions, we need to define a registry to manage the TLV type in
> the context of the BFD attribute. Which means we will create an empty
> registry.
>
> I would be happy to hear other opinions on that.
>
>
>
> Brgds,
>
>
>
> Stephane
>
>
>
>
>
>
>
> *From:* Greg Mirsky <gregimirsky@gmail.com>
> *Sent:* jeudi 23 janvier 2020 01:06
> *To:* slitkows.ietf@gmail.com
> *Cc:* BESS <bess@ietf.org>; bess-chairs@ietf.org
> *Subject:* Re: Shepherd's review of draft-ietf-bess-mvpn-fast-failover
>
>
>
> Hi Stephane,
>
> I've followed your suggestions and updated the working version of the
> draft with adding:
>
>    - explicit TLV in the format of BFD Discriminator attribute;
>    - text to define check the proper format of the BFD Discriminator
>    attribute and the handling in case it is malformed per RFC 7606.
>
> I greatly appreciate your feedback. Attached please find the diff to the
> updated working version of the draft and its copy.
>
>
>
> Regards,
>
> Greg
>
>
>
> On Tue, Jan 7, 2020 at 5:59 AM <slitkows.ietf@gmail.com> wrote:
>
> Hi Greg,
>
>
>
> More inline,
>
>
>
>
>
> *From:* Greg Mirsky <gregimirsky@gmail.com>
> *Sent:* mercredi 4 dƩcembre 2019 23:22
> *To:* slitkows.ietf@gmail.com; BESS <bess@ietf.org>; bess-chairs@ietf.org
> *Subject:* RE: Shepherd's review of draft-ietf-bess-mvpn-fast-failover
>
>
>
> Hi Stephane,
>
> thank you for the review and your thoughtful comments. Please find my
> answers and notes in-lined under GIM>> tag.
>
> Attached, please find the diff and copy of the working version.
>
>
>
> Regards,
>
> Greg
>
>
>
> Hi,
>
>
>
> Please find below my review of the document.
>
>
>
> Nits:
>
>
>
>
> Section 3.1.1:
>
> As the document is standard track, could you introduce normative language
> in the expected behavior description ?
>
>
>
> GIM2>> My apologies, I've pasted the same text twice. I propose to remove
> "may be omitted" altogether. Hence the updated text:
>
>    If BGP next-hop tracking is done for VPN routes and the root address
>    of a given tunnel happens to be the same as the next-hop address in
>    the BGP auto-discovery route advertising the tunnel, then the use of
> this
>
>    mechanism for the tunnel will not bring any specific benefit.
>
> Do you see this version without any normative language as acceptable?
>
>
>
> [SLI] Looks good thanks
>
>
>
>
>
>
> Section 3.1.2:
>
> As the document is standard track, could you introduce normative language
> in the expected behavior description ?
>
>
>
> ā€œThis method should not be usedā€. Wouldnā€™t this be a normative statement ?
>
> GIM>> Would the following modification of the text be acceptable:
>
> OLD TEXT:
>
>    This method should not be used when there is a fast restoration
>    mechanism (such as MPLS FRR [RFC4090]) in place for the link.
>
> NEW TEXT:
>     Using this method when a fast restoration mechanism (such as MPLS FRR
>    [RFC4090]) is in place for the link requires careful consideration
>    and coordination of defect detection intervals for the link and the
>    tunnel.  In many cases, it is not practical to use both methods at
>    the same time.
>
>
>
> [SLI] Are we strongly disencouraging the practice ? if yes, ā€œit is not
> practicalā€ is a bit too soft. Iā€™m wondering if ā€œis NOT RECOMMENDEDā€ could
> be a good wording. But it is up to you.
>
> GIM2>> The use of OAM in multi-layer fashion is a question I'd be
> interested to discuss. But I feel that it deserves a separate document and
> would prefer to leave the text as a note of caution for now.
>
>
>
> [SLI] Ok
>
>
>
>
>
> Section 3.1.4:
>
> As the document is standard track, could you introduce normative language
> in the expected behavior description ?
> GIM>> Updating to the normative language as follows:
>
> OLD TEXT:
>
>    A PE can be removed from the UMH candidate list for a given (C-S,
>    C-G) if the P-tunnel (I or S, depending) for this (S, G) is leaf
>    triggered (PIM, mLDP), but for some reason internal to the protocol
>    the upstream one-hop branch of the tunnel from P to PE cannot be
>    built.  In this case, the downstream PE can immediately update its
>    UMH when the reachability condition changes.
>
> NEW TEXT:
>
>    A PE MAY be removed from the UMH candidate list for a given (C-S,
>    C-G) if the P-tunnel (I-PMSI or S-PMSI) for this (S, G) is leaf-
>    triggered (PIM, mLDP), but for some reason internal to the protocol
>    the upstream one-hop branch of the tunnel from P to PE cannot be
>    built.  In this case, the downstream PE MAY immediately update its
>    UMH when the reachability condition changes.
>
>
> [SLI] I understand the first ā€œMAYā€ as optional feature, however the second
> ā€œMAYā€ is more a ā€œSHOULDā€ IMO. Thoughts?
>
> GIM2>>  Thank you for the clarification. The UMH list will certainly be
> updated once the reachability of the downstream PE changes. In some
> scenarios, such an update may be immediate, i.e., ASAP, but in some, it
> might be better to delay it. Would you suggest adding a note about the
> option to delay the update?
>
>
>
> [SLI] Could you check with Jeffrey Zhang on this point ? Iā€™m not enough
> expert here to tell what may be the best option. On my side, I just want
> the text to be clear šŸ˜Š
>
>
>
>
>
>
>
>
>
>
>
> Section 3.1.6:
>
> As the document is standard track, could you introduce normative language
> in the expected behavior description ?
>
> GIM>> Sub-sections of 3.1.6 define the use of RFC 8562 and the new
> attribute. In the introduction to these sub-sections, I propose s/can/MAY/
>
>
> >From a wider perspective, do you foresee other use case of signaling BFD
> information in BGP ? Iā€™m just wondering if we may need something
> extensible for future use or not.
>
> GIM>> Great question. BGP, and I'm speculating here, may be used to for
> other BFD-related scenarios. I think that we may use the Flags field.
> [SLI] Is it enough or should you add some optional TLVs behind the
> discriminator ? (with nothing defined yet).
>
> GIM2>> Great idea, thank you! Please see the updated figure and the text:
>
>        0                   1                   2                   3
>        0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
>       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>       |    BFD Mode   |                  Reserved                     |
>       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>       |                       BFD Discriminator                       |
>       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>       |                         Reserved  TLV                         |
>       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
>
>
>                  Format of the BFD Discriminator Attribute
>
>    Where:
>
>       BFD Mode is the one octet long field.  This specification defines
>       the P2MP value (TBA3) Section 7.1.
>
>       Reserved field is three octets long and the value MUST be zeroed
>       on transmission and ignored on receipt.
>
>       BFD Discriminator is four octets long field.
>
>       Reserved TLV field is four octets long.  It MAY be used for future
>       extensions of the BFD Discriminator Attribute using Type-Length-
>       Value format.  This specification defines that the value in
>       Reserved TLV field MUST be zeroed on transmission and ignored on
>
>       receipt.
>
>
>
> [SLI] If your field is 4-bytes long, it is not extensible, I was thinking
> of options encoded as TLVs.
>
> If there is no TLV, the attribute ends on BFD discriminator, the attribute
> length should tell if there are TLVs or not.
>
>
>
>        0                   1                   2                   3
>        0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
>       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>       |    BFD Mode   |                  Reserved                     |
>       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>       |                       BFD Discriminator                       |
>       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>       |                         optional TLVs                         |
>       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
> Another point I have missed, you should define error handling procedures
> for your attribute as per RFC7606.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>