Re: [mpls] MPLS Network Actions Framework

Jeff Tantsura <jefftant.ietf@gmail.com> Thu, 07 April 2022 10:33 UTC

Return-Path: <jefftant.ietf@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 C78A93A1762; Thu, 7 Apr 2022 03:33:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.006
X-Spam-Level:
X-Spam-Status: No, score=-1.006 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, FREEMAIL_REPLY=1, HTML_MESSAGE=0.001, MIME_HTML_ONLY=0.1, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-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 lolV1cphtH1K; Thu, 7 Apr 2022 03:33:00 -0700 (PDT)
Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) (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 1D09E3A175D; Thu, 7 Apr 2022 03:33:00 -0700 (PDT)
Received: by mail-wm1-x330.google.com with SMTP id c190-20020a1c35c7000000b0038e37907b5bso5399097wma.0; Thu, 07 Apr 2022 03:33:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:date:from:subject:thread-topic:in-reply-to:message-id :references:to:cc:content-transfer-encoding; bh=wfo1S99PaYQnoJEZD2X6BhC6AXHCKEAgo1mmVjiTV4M=; b=IR7sqU8/Cd1FabJ2uPU/HVaPbs++1ctL31KUla+luoWFbz7W+phL2L9FzVZYXhMq5h 4+g3/DWUqn3neES5x+ONNG/L0fkMgtjtz6if5n7m65P5ddBTJruhb54PhvPiYGFJu/rz p2p5d9HZnM8RPW1h0qHU43XIzjCxKnOxfxeHfN/8se1i8xeXzfyC8Qen3on2NyIqQIQW JO5Zzc13Eek1fT8EYIX+1gYRSGpDEzlhBbx50wbJ7990N0RA1lSwFc4Bm0hzDR0+B7yX 2JajU/lRerGDymggr3xwiLWNAasjGzXsp/ip/DsQapTc6DNUJMrHFu0VyPq0tJFuflli 7dRA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:date:from:subject:thread-topic :in-reply-to:message-id:references:to:cc:content-transfer-encoding; bh=wfo1S99PaYQnoJEZD2X6BhC6AXHCKEAgo1mmVjiTV4M=; b=cbSTr+KCIJYIj0OZHrto3nRlSP2kUV23HMG6YJNHNgTBl8I4cVIVZbX+NYHOyIQ7nB RT24HMmotWSqhnZiy2VvdpJ9V5N8iqICD/pZUQTquQv+LT/KrdrelJ2eLYQzCE3LRYZw avKoIecNVTUfXy0tPkthPeeWuF5YTOtl6+sDkc9elBORAr3zcQRBVXxcu49bKBotaY1n 7pmt9lIc0TTg+VrCgztl/b6C5rJKp+Zf9kaLq2i05YeaTinaviOdDThSF1Tu3LfndTTZ mjt7z2O4GJHpN6IMx3Q2FQK9PNe49Ia+tx0FSRvCxdqVzdyHYLLKqaVNYjIpTOsNJGfr Tfww==
X-Gm-Message-State: AOAM531KqVGemr7m25SNTcXAHCKlsS7g87cx1/NYIphkHCFX13/SL45z xYoc6TsX6yw8vmb7ReKzRgi6ULvJAdaZ4w==
X-Google-Smtp-Source: ABdhPJwj9pgZuMlGztBbHkLxN/K9oM6/odi0dBuLG6cWY39lNoRZUi/wP/Swzllre8IOGSOcYlGvww==
X-Received: by 2002:a7b:c247:0:b0:38e:73f7:4b38 with SMTP id b7-20020a7bc247000000b0038e73f74b38mr11328671wmj.46.1649327578014; Thu, 07 Apr 2022 03:32:58 -0700 (PDT)
Received: from Jeff-Corp-Win (pcp.vipnetwork.fr. [193.108.21.251]) by smtp.gmail.com with ESMTPSA id h133-20020a1c218b000000b0038e7c143e78sm7605012wmh.45.2022.04.07.03.32.57 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Apr 2022 03:32:57 -0700 (PDT)
MIME-Version: 1.0
Date: Thu, 07 Apr 2022 03:32:55 -0700
From: Jeff Tantsura <jefftant.ietf@gmail.com>
Thread-Topic: RE: [mpls] MPLS Network Actions Framework
In-Reply-To: <CA+b+ERkAxMZ55v8AXHjREgswFwHhkm2=29=JyiNFpZV0qhxaCA@mail.gmail.com>
Message-ID: <DE5C9309-0D20-48CA-8250-305149B590AE@hxcore.ol>
References: <164913596494.15355.1134318486013295421@ietfa.amsl.com> <CA+b+ERmN48B1poXAyBD4V1kugJKToyFyxVhtcs1DvftTZpV0CA@mail.gmail.com> <271D570A-3A88-4993-8515-BA6B3C3E0D49@tony.li> <CA+b+ERnS4X4mXgmoHdis44Y0iAL=pOqYQqAR1jU+hGmw17SFDA@mail.gmail.com> <825D5392-AD1A-41CC-82B8-2A35D025874F@tony.li> <CA+b+ERkoy-nYGJbYt_Tx=QdEDFK0q=3Rswy=Pdd-4nmJqa67-g@mail.gmail.com> <AA279793-8047-4228-8E70-B9568FAA439A@tony.li> <CA+b+ERky3+gm=NQObDYtGh+DLQ=4KfPMZ-NTxcXGLjx762kkWg@mail.gmail.com> <71AB6900-A20B-4B1D-8C90-2CF2E104FC02@tony.li> <CA+b+ERm7=iEaKMPYi-RntLWMJCB2Nn7wQnz1uF+dTFth=38seQ@mail.gmail.com> <CB745ED7-6F5F-4365-A524-AEE3CADCFFF7@tony.li>, <CA+b+ERkAxMZ55v8AXHjREgswFwHhkm2=29=JyiNFpZV0qhxaCA@mail.gmail.com>
To: Robert Raszuk <rraszuk@gmail.com>, Tony Li <tony.li@tony.li>
Cc: mpls <mpls@ietf.org>, "draft-andersson-mpls-mna-fwk@ietf.org" <draft-andersson-mpls-mna-fwk@ietf.org>
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset="utf-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/A-HaU2wCikpYJQIgYkl0PsEJxME>
Subject: Re: [mpls] MPLS Network Actions Framework
X-BeenThere: mpls@ietf.org
X-Mailman-Version: 2.1.29
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: Thu, 07 Apr 2022 10:33:05 -0000

Hi Tony,

 

I’m pretty much with Robert here, most vendors have been supporting context labels (driven by MVPN and egress protection) for quite some time, distributing context (binding of value to action) over control plane is well understood.

 

Cheers,

Jeff

 

From: Robert Raszuk
Sent: Thursday, April 7, 2022 1:12 AM
To: Tony Li
Cc: mpls; draft-andersson-mpls-mna-fwk@ietf.org
Subject: Re: [mpls] MPLS Network Actions Framework

 

Hi Tony,

 

So I am not so much worried about control plane state - especially that distribution of those actions mappings could be as simple as configuration push or pub-sub model. If you think that control plane memory associated with keeping state of local actions would be an issue then we clearly would have a different opinion on this. 

 

But please observe that even if you carry action ID in a label stack you still need to have your hardware understand it (state) and execute such action (no difference). 

 

The only difference I could think of would be in parameters of actions. But looking at list of use cases I do not see that it contains such requirement to embed parameters of executed actions also in each packet. 

 

So in control plane assisted model those parameters would indeed occupy data plane memory while in packet embedded case (example when they are part of SRH) they would not. 

 

To the question of dereferencing AIL I am not clear what exactly you are describing. In my model transit node capable of recognizing AIL is doing a fixed size 20 bit lookup (label lookup :) which either reveleas local action or not. 

 

Many thx,
R.

 

 

 

 

 

 

On Thu, 7 Apr 2022 at 02:13, Tony Li <tony.li@tony.li> wrote:

 

Hi Robert,

 

Well no more than any other proposal - assuming we are talking about data plane state.  

 

 

Ummm… Other proposals are putting everything into the data plane, with no reliance on the control plane.  You’re adding a level of indirection from the data plane into control plane state. Not unthinkable, but as you note, it does present scale questions and setup questions.

 



See when control plane signals action to AIL mapping such action can be a targeted action. So the state in the data plane will be only installed in the nodes which actually need to perform special actions. 

 

 

Almost agreed. Wouldn’t every node along the path need to have state to at least dereference the AIL mapping? Yes, it might be a non-action, but the node can’t know that without performing the dereference.

 



And that is going to happen irrespective on how we carry the actions - explicitly in the packet or implicitly in control plane signalling and only mapping to it in the packet. 

 

 

Agreed, you can put your actions in the data plane or put them in the control plane with a level of indirection. It’s a tradeoff.

 

Tony