Re: [Pals] [mpls] Comment on draft-gandhi-mpls-ioam-sr-05

Stewart Bryant <stewart.bryant@gmail.com> Tue, 12 January 2021 14:24 UTC

Return-Path: <stewart.bryant@gmail.com>
X-Original-To: pals@ietfa.amsl.com
Delivered-To: pals@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 22FEF3A12AB; Tue, 12 Jan 2021 06:24:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 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, SPF_HELO_NONE=0.001, SPF_PASS=-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 yy3jFvYUXfTA; Tue, 12 Jan 2021 06:24:24 -0800 (PST)
Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) (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 729DB3A12A7; Tue, 12 Jan 2021 06:24:24 -0800 (PST)
Received: by mail-wm1-x336.google.com with SMTP id i63so2053139wma.4; Tue, 12 Jan 2021 06:24:24 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=R08w9xwCgrlyQ0cwfp7WCTqE5jCe4cziF9U7xdHMjng=; b=HstWWKREHvn1W4dBxcv959cmwd4p2/g0HUj1tkcYdvehStV4+RjpKF/JG8LCo6Oal7 ccx9O2lr40icyS4/WOyl6s/WxTF06KAJKkAy3+97F2aH3MBsNtXu63wey/5NYsPrGCPM HHSTnCevq2LD1F0em1M4kd1eFJiVNa+WePIem6vkvhERXFKHJQQYEWHtboUhGUv1Aus6 WnL/ZP2+l0B7fIW4DAVN/Hstxsv16baAgEJdkhGwvWE+ugeJy26c04odU54RxbuuPWwU cFTCYzK+c4Vq3KU1GpGGQxCR8/vl/sN5bVahWaHtmOA8TFPqC0dW7Y7zXM6bIt/JoHKm j3bA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=R08w9xwCgrlyQ0cwfp7WCTqE5jCe4cziF9U7xdHMjng=; b=J1bbcvrGSBqJCReTbGBgXwSV0OBOVLWvL26AzPpdGzJ9ojAuX3/Zitq+mV82w3eKor 9k2yoHezuFUUkjPkpNIM9STLkTNu/X6oX1kLVSKlsP6ZatS9p1dfyo7Ws8CTumw7tI4J q30e/rKdHVCpG3MhMwb+cuhLnznAqr5MSCVFLYnut8a9WTu8JK3FDu3qZUvd9Qtx66AO WnTjICyEnI9B+8FRcSmB5OoEyKzo2Hnik0sC0fIBAUsQml0icxdSM0EltYddhmbV4vbq Hocz6/IFOmkED25wPU1U1UmGQEgLadv7TT6o1eDRLm3L41GgInTpzaN2iC9jbm3JEWNU Qvog==
X-Gm-Message-State: AOAM531IiSaN++g45OQEFa/AXHkE97TVFtiUm7UpNQHEZoep/HaaLaS8 XotH87fEFP3EwmnMbukg9CDdaN2PnmmPlQ==
X-Google-Smtp-Source: ABdhPJypfllARkt64wMPkY4xo20A3EVIKEqkTFEq1pWbFGYh/hGNvJx9TkTKXWoGgwjozsGV+bWhVw==
X-Received: by 2002:a05:600c:2158:: with SMTP id v24mr3758073wml.129.1610461462438; Tue, 12 Jan 2021 06:24:22 -0800 (PST)
Received: from broadband.bt.com ([2a00:23c5:3395:c901:8941:25c1:66aa:fac5]) by smtp.gmail.com with ESMTPSA id e15sm5317059wrx.86.2021.01.12.06.24.20 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Jan 2021 06:24:21 -0800 (PST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\))
From: Stewart Bryant <stewart.bryant@gmail.com>
In-Reply-To: <202101120949094647407@zte.com.cn>
Date: Tue, 12 Jan 2021 14:24:20 +0000
Cc: Stewart Bryant <stewart.bryant@gmail.com>
Content-Transfer-Encoding: quoted-printable
Message-Id: <9852AE73-1117-464E-8CBE-66868961F603@gmail.com>
References: <161020726794.17530.11589439685950388453@ietfa.amsl.com> <202101120949094647407@zte.com.cn>
To: mpls <mpls@ietf.org>, pals@ietf.org, DetNet WG <detnet@ietf.org>
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/pals/hYbpAo_eeHrtRZu4SmptVD7WdC4>
Subject: Re: [Pals] [mpls] Comment on draft-gandhi-mpls-ioam-sr-05
X-BeenThere: pals@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Pseudowire And LDP-enabled Services dicussion list." <pals.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/pals>, <mailto:pals-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/pals/>
List-Post: <mailto:pals@ietf.org>
List-Help: <mailto:pals-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/pals>, <mailto:pals-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Jan 2021 14:24:26 -0000

There are three problems, how you encode the action and where you place the metadata, and how you accommodate anything else after BoS.

This is getting very messy and we need to solve this holistically or we will damage the future of the MPLS protocol.

The best place to indicate HxH is at ToS since this is looked at by every hop with minimum effort.

This could be via a FEC or an SPL. However I do not like the SPL approach because you probably need the EL to neutralise ECMP and that is four labels in the stack  before you even get to specify the destination. That is as many labels as some LSRs can cope with. You could I suppose have an iOAM SPL that specifies the ECMP behaviour but we are loosing our generality if we go down that route.

The best place to indicate E2E is at BoS since this is where you handle the E2E iOAM. That can be an ordinary label, and since you have to advertise E2E iOAM capability it is not much more to specify which label you expect to see BoS to indicate its presence. 

Now you have two choices to advertise both, - the ToS stuff which you do not PHP + the BoS, or one of two different BoS labels. The use of two different BoS labels is far less problematic since that is only 2 out of million available labels and you need the label in place to indicate that the packet carries E2E iOAM and not just plain IP … except that it may not carry plain IP...

Now here is what worries me.

What if the LSP is carrying a PW, or is DetNet? What if it is a MS-PW? In all these cases there is a CW immediately after BoS. Then there is the universal fragmentation idea that is floating about that also wants to follow BoS.

How do we fit in 2, possibly 3 or 4 sets of descriptor data after the BoS. This has the possibility to get very messy very quickly.

So we need to go up a level and consider how we generalise this, because iOAM needs to live with the rest of the MPLS ecosystem, and will not be the only candidate for BoS meta data. That is not to say that I have anything I want to put there that I am being quiet about, instead it is to point out that once the first genie is out of the bottle a whole bunch of their friends will soon follow behind. So we have to solve this elegantly such that we can deal with the MPLS extensions we have not yet thought of and not be tempted to just hack something in that works for the immediate case in hand.

- Stewart