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

Loa Andersson <loa@pi.nu> Mon, 05 September 2022 08:00 UTC

Return-Path: <loa@pi.nu>
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 D8578C1524A0; Mon, 5 Sep 2022 01:00:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.909
X-Spam-Level:
X-Spam-Status: No, score=-1.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, NICE_REPLY_A=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
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 fi7g3h9rQcuM; Mon, 5 Sep 2022 01:00:40 -0700 (PDT)
Received: from pipi.pi.nu (pipi.pi.nu [83.168.239.141]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 70BDCC1524C8; Mon, 5 Sep 2022 01:00:38 -0700 (PDT)
Received: from [192.168.1.241] (c-8f02e353.020-236-73746f24.bbcust.telenor.se [83.227.2.143]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: loa@pi.nu) by pipi.pi.nu (Postfix) with ESMTPSA id AA172368621; Mon, 5 Sep 2022 10:00:36 +0200 (CEST)
Message-ID: <c5820e62-b4ed-d88a-d738-16ee52088342@pi.nu>
Date: Mon, 05 Sep 2022 10:00:22 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.2.1
Content-Language: en-CA
To: Tony Li <tony.li@tony.li>, Haoyu Song <haoyu.song@futurewei.com>
Cc: 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>
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> <06759C2A-CA9D-4957-8203-D71BAFA1AB67@tony.li>
From: Loa Andersson <loa@pi.nu>
In-Reply-To: <06759C2A-CA9D-4957-8203-D71BAFA1AB67@tony.li>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/-mlXsRoVkKvHYsSOWbYg3qeVjYU>
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: Mon, 05 Sep 2022 08:00:43 -0000

Tony and Haoyu,

Inlime plz.

On 2022-08-31 00:58, Tony Li wrote:
> 
> Hi Haoyu,
> 
> Well, we’ve already pretty clearly said that we will have a number of different scopes. 

While I agree  that there need to be "a number of different scopes" for 
network actions, I can't really find where we "pretty clearly said 
that". Is it documented anywhere? If not where should we document it?

> Clearly if two actions do not have intersecting scopes, then there’s no issue.

agreed
> 
> However, we’re going to have actions with interesecting scopes. 

Yes, I can't see how that could be avoided.

> 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, 

"arranged" in what meaning, in the packet? in the registry? or?

If we have a encapsulation with the where one header carries a NH, the 
that packet is processed first, and the NH-packet second, right?


but we do need a deterministic, specified order of operations.

agreed, what I wonder is if we can have for example a processing order 
of NA1(psd)->NA2(isd)->N3(psd)?

If we can, doesn't have to be captured in requirements, framework and 
solution specifications?

/Loa
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
>>
> 

-- 
Loa Andersson                        email: loa@pi.nu
Senior MPLS Expert                          loa.pi.nu@gmail.com
Bronze Dragon Consulting             phone: +46 739 81 21 64