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

<slitkows.ietf@gmail.com> Thu, 23 January 2020 14:03 UTC

Return-Path: <slitkows.ietf@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 B571B1200C1; Thu, 23 Jan 2020 06:03:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.997
X-Spam-Level:
X-Spam-Status: No, score=-0.997 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, FREEMAIL_REPLY=1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 EOQYMhAv6657; Thu, 23 Jan 2020 06:03:54 -0800 (PST)
Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) (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 6748212009C; Thu, 23 Jan 2020 06:03:53 -0800 (PST)
Received: by mail-wr1-x430.google.com with SMTP id q6so3175018wro.9; Thu, 23 Jan 2020 06:03:53 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:references:in-reply-to:subject:date:message-id :mime-version:thread-index:content-language; bh=hzCYdAt1yktTco6/C2POdBvaF+p961rTeOe9ow45JTU=; b=I4uncktGdvxB4WrPK5HSJztALoYipy4S0xizbXVQTku23Oa1MYkwWBardtLjylGn24 Y9B7RNfuT+aaS09pXz113M+MS41SvG1qIwML11lMT9znHbeDRAiJQEfxkM0n5OGRBc8p t1FEvC6uk3Xm38YcwGIg7pMJ6zHsuvPO3HPJd4O1Hi/6nTum9f04sv7F0ok8QVWC942k ohhidp6PanBx379U5s/QGKfP+zsBZ35DJMRxiuX6muyXNuLIN1e7pgj5hB1IPyENJkPT e50beVy+lbjsMtumMZWGM7JQhyfOyl4sjstsotdMTAm6b+3JR0KGX7Pmm7hAOVWFcqSt H8uQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:references:in-reply-to:subject:date :message-id:mime-version:thread-index:content-language; bh=hzCYdAt1yktTco6/C2POdBvaF+p961rTeOe9ow45JTU=; b=hpekg7X2kkZEhgI4wHQHw0PwunN2QznUxqw8SbD5MUymMHxbPe0NibYPO/fS9Zohyt hO2EHCKJk5ca/CFg04lZa1hL78Fpqauh1ZonxR7FPXJcA9gTjv4/cAD2swvxK1sne6Ja tc9Ki4tw9gW05qXuWgjW57zKjrsZDF9cUSviO7CfSu2cKEQuop2TZjiOs/doc0ul/1Ah NjwO6B43/PWExGrwYMqJqvO2eR/JBK9+WI6RNpAmkx7R01ExdxRV2/qh0pbGtCbKc+q+ d4oQF9Wy9CV83MlKtCLqSTTLh9aE+DXcZw/1F3zNgqZ4J+DB1B4mdlb7GcBzKTE4fVgw Vqsw==
X-Gm-Message-State: APjAAAWleWxNNqhK0Z8wEgTPwXooUj0tM5aRArWqxPq3LV2bOA2j6+0H q+eOJ7/WFrmntoPH9wnfwrqdSBg=
X-Google-Smtp-Source: APXvYqxFR2Ar05I6Ke9dej02CniQ6GumzyOI4ygyPOTNQuuXl+pEk9XwwiI7hYn57bmaP8dqM93ktQ==
X-Received: by 2002:adf:e3c1:: with SMTP id k1mr17797029wrm.151.1579788231520; Thu, 23 Jan 2020 06:03:51 -0800 (PST)
Received: from SLITKOWS3YYU6 ([173.38.220.57]) by smtp.gmail.com with ESMTPSA id x10sm3111858wrv.60.2020.01.23.06.03.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Jan 2020 06:03:50 -0800 (PST)
From: slitkows.ietf@gmail.com
To: 'Greg Mirsky' <gregimirsky@gmail.com>
Cc: 'BESS' <bess@ietf.org>, bess-chairs@ietf.org
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>
In-Reply-To: <CA+RyBmUN_F=eq+Cb78aN99wg318Q=w=cKNw-HkagU9rZ+QR2mA@mail.gmail.com>
Date: Thu, 23 Jan 2020 15:03:48 +0100
Message-ID: <01c101d5d1f5$f00b1af0$d02150d0$@gmail.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_01C2_01D5D1FE.51D1CCE0"
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQITf8rm7BVfQAwI1oQ62g9CZIXWDgLbFqY8AhKUgq4CLe0tbAGaVyrqpzc6Y3A=
Content-Language: fr
Archived-At: <https://mailarchive.ietf.org/arch/msg/bess/siIESJIQrD-RWCPWoLfC4Jk8PkE>
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 14:03:57 -0000

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 <mailto:slitkows.ietf@gmail.com> > wrote:

Hi Greg,

 

More inline,

 

 

From: Greg Mirsky <gregimirsky@gmail.com <mailto:gregimirsky@gmail.com> > 
Sent: mercredi 4 dƩcembre 2019 23:22
To: slitkows.ietf@gmail.com <mailto:slitkows.ietf@gmail.com> ; BESS <bess@ietf.org <mailto:bess@ietf.org> >; bess-chairs@ietf.org <mailto: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.