Re: [mpls] Update to the bullets on the first page of my review of draft-song-mpls-extension-header-09

Tony Li <tony.li@tony.li> Tue, 30 August 2022 22:58 UTC

Return-Path: <tony1athome@gmail.com>
X-Original-To: mpls@ietfa.amsl.com
Delivered-To: mpls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EBA34C14F726; Tue, 30 Aug 2022 15:58:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.511
X-Spam-Level:
X-Spam-Status: No, score=-1.511 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.248, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] 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 ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7NsTuBqQtnPJ; Tue, 30 Aug 2022 15:58:44 -0700 (PDT)
Received: from mail-pf1-x42f.google.com (mail-pf1-x42f.google.com [IPv6:2607:f8b0:4864:20::42f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E2D83C14F734; Tue, 30 Aug 2022 15:58:43 -0700 (PDT)
Received: by mail-pf1-x42f.google.com with SMTP id 76so12780182pfy.3; Tue, 30 Aug 2022 15:58:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:from:to:cc; bh=k7O5N9qdxIWVmm2jC8N4YYh8yojurTUe5c/74ZJY/Ts=; b=djO/FDGcNy7l12M01H+S/OO7e04x+laGmK3uHsa576TIJrjryLHGpqkSg/oQCplJRp BRJVwWu92kKa/YQ5xndR0/MA77MnmzxvOwjHecKe2d4JfxEhNSJ6GhddHn/Hq/YxBsha dlYp4eAicE/8vllPOQypddqF949NcMRGYQKNG0hiWt9cJyshXZmqZ9FjoUcCzbY3K/h3 FgM6ach7TpqlbzIEZ3hz/erhwDDURSfJgXoejcQ4fnXIEPRRYX2Y7N7UVeU5YT8q1MTc 8Uh4r9hKsNkPAOxKQnLDyMFl60Vy8p2TFB5uGVbiMSKSq7SExFZpfF9NACLMH6w1u4HI 4KBA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:x-gm-message-state :from:to:cc; bh=k7O5N9qdxIWVmm2jC8N4YYh8yojurTUe5c/74ZJY/Ts=; b=4xcDflePqC9Eq7TE2sqWPwVJNOjuwIx4NoPvhoD5wxO8j8mfeGu4XTwfYk1bZdBEib 7fJOYZ+JGIAX70jJo217fqVjm9xlaCMpa4K/VlUxk0QmqcHuWxf3ueWRSeXmXKCZeUhZ hVFIZcYxJGzCSK5jVotQ89wUgFsO3MKhcrccXlnlHQcEQhFRB0tcNoGruTtseXvWpAQb 4WFb35GZCs0lTkmLukIVHkPrj5ODu3ZmdSO2Galrx1pWvkb7iSVyl6wATBSpDufH1Phs N6LhCeuTtPgHHbJV9ST2DMBzWmPuOkcWNX8BRd3nBbZZ/oZ9LEz8ccgoqxNrubfJB7y+ EojQ==
X-Gm-Message-State: ACgBeo1d1O3XvPRua4rD0dSMviWgbOz74EgD2axwPdOqMDBaklByMBSr 8k9BNLCJm1roIDccI9Xu3kuBbPoIKdjYR+4v
X-Google-Smtp-Source: AA6agR5gMdj3SmkwLRX6BbuZl1awUoxXlcO6Tbp4Id0Qw6XmqWW/+itZuhj3U5YS3isgwBHbYDTJmA==
X-Received: by 2002:a63:91ca:0:b0:42b:4847:90dd with SMTP id l193-20020a6391ca000000b0042b484790ddmr19154278pge.28.1661900323021; Tue, 30 Aug 2022 15:58:43 -0700 (PDT)
Received: from smtpclient.apple (c-67-169-103-239.hsd1.ca.comcast.net. [67.169.103.239]) by smtp.gmail.com with ESMTPSA id x19-20020aa78f13000000b005382b7c1015sm5475703pfr.182.2022.08.30.15.58.41 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Aug 2022 15:58:42 -0700 (PDT)
Sender: Tony Li <tony1athome@gmail.com>
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.60.0.1.1\))
From: Tony Li <tony.li@tony.li>
In-Reply-To: <BY3PR13MB478797DB5335413F94621C219A799@BY3PR13MB4787.namprd13.prod.outlook.com>
Date: Tue, 30 Aug 2022 15:58:40 -0700
Cc: Loa Andersson <loa@pi.nu>, Tianran Zhou <zhoutianran@huawei.com>, "mpls@ietf.org" <mpls@ietf.org>, "draft-song-mpls-extension-header@ietf.org" <draft-song-mpls-extension-header@ietf.org>, "mpls-chairs@ietf.org" <mpls-chairs@ietf.org>, "pals-chairs@ietf.org" <pals-chairs@ietf.org>, DetNet Chairs <detnet-chairs@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <06759C2A-CA9D-4957-8203-D71BAFA1AB67@tony.li>
References: <98356ad3-ec52-3a5c-ee31-1ee604d4b5db@pi.nu> <dc03203bf7ee49caafccdb70221edc1a@huawei.com> <b718cd04-c822-b744-0ca2-9c3e47ea2f62@pi.nu> <BY3PR13MB47879BAD2537E77C1D6193F89A799@BY3PR13MB4787.namprd13.prod.outlook.com> <33185189-08e3-71da-123c-2f17fe5ad0bb@pi.nu> <BY3PR13MB47878BDBE64EE739BA4F5DF99A799@BY3PR13MB4787.namprd13.prod.outlook.com> <5A840AB5-7B0F-4C21-B0B0-700194B03A32@tony.li> <BY3PR13MB478797DB5335413F94621C219A799@BY3PR13MB4787.namprd13.prod.outlook.com>
To: Haoyu Song <haoyu.song@futurewei.com>
X-Mailer: Apple Mail (2.3693.60.0.1.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/aGnBO9oK5QWTqq58lRgwpW0D4JI>
Subject: Re: [mpls] Update to the bullets on the first page of my review of draft-song-mpls-extension-header-09
X-BeenThere: mpls@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Multi-Protocol Label Switching WG <mpls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mpls>, <mailto:mpls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mpls/>
List-Post: <mailto:mpls@ietf.org>
List-Help: <mailto:mpls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mpls>, <mailto:mpls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Aug 2022 22:58:46 -0000

Hi Haoyu,

Well, we’ve already pretty clearly said that we will have a number of different scopes. Clearly if two actions do not have intersecting scopes, then there’s no issue.

However, we’re going to have actions with interesecting scopes. Now, you COULD, as you say ‘infer’ an ordering, but that leaves open the possibility of misinterpretation on the part of an implementer. 

So, I agree that the headers need not be arranged in processing order, but we do need a deterministic, specified order of operations. Otherwise, we just get a mess.

Tony


> On Aug 30, 2022, at 3:44 PM, Haoyu Song <haoyu.song@futurewei.com> wrote:
> 
> Hi Tony,
> 
> What I mean is that the header parsing and processing should not be mixed together. The headers are parsed in the order the headers appear in a packet, but the processing order doesn't need to be strictly in this order.
> 
> For example, an IOAM header may need to be processed at both ingress side and egress, and yet some other actions are only processed at ingress side and some others only at egress side. There can be hardly any clear order here.
> 
> Even if some actions have some inter-dependency (we need some solid use case examples here in the context of MNA), it can infer some header processing order that the implementation should follow, but still it doesn't mean the headers must also be arranged in the processing order. 
> 
> Best regards,
> Haoyu
> 
> -----Original Message-----
> From: Tony Li <tony1athome@gmail.com> On Behalf Of Tony Li
> Sent: Tuesday, August 30, 2022 12:11 PM
> To: Haoyu Song <haoyu.song@futurewei.com>
> Cc: Loa Andersson <loa@pi.nu>; Tianran Zhou <zhoutianran@huawei.com>; mpls@ietf.org; draft-song-mpls-extension-header@ietf.org; mpls-chairs@ietf.org; pals-chairs@ietf.org; DetNet Chairs <detnet-chairs@ietf.org>
> Subject: Re: [mpls] Update to the bullets on the first page of my review of draft-song-mpls-extension-header-09
> 
> 
> Hi Haoyu,
> 
>> How is the desired order communicated?
>> 
>> [HS] The desired order is an implementation issue for device vendor. It doesn't need to be communicated or dicated by standard. 
> 
> 
> So that means that an operator and buy box X, use it, replace it with box Y and suddenly get a completely different result?
> 
> Suppose that a packet has two actions encoded.  One is to increment a counter, the other has an error and causes the packet to be dropped. Is it ok if box X drops before counting and box Y counts before dropping?
> 
> The ideal of orthogonal semantics would be wonderful, but the reality is that we can’t guarantee that, especially in the face of user-defined actions.
> 
> So, how would a head-end encode options to achieve a given intent if each box has its own unique interpretation of the semantics?   
> 
> What if the semantics drift over software releases?  Does the head end have to know the definitive behavior of every box and every release?
> 
> Tony
>