Re: [mpls] MPLS Network Actions Framework

Tony Li <tony.li@tony.li> Thu, 07 April 2022 14:03 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 A92663A0CC7; Thu, 7 Apr 2022 07:03:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.512
X-Spam-Level:
X-Spam-Status: No, score=-6.512 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.248, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] 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 Ek8GAAar2SKa; Thu, 7 Apr 2022 07:03:33 -0700 (PDT)
Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) (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 CE1833A0C77; Thu, 7 Apr 2022 07:03:32 -0700 (PDT)
Received: by mail-pj1-x1035.google.com with SMTP id gt4so5695344pjb.4; Thu, 07 Apr 2022 07:03:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=EdJebnBmgnAlH09OTGxMasheCmZBcr4XoKpe8ADnqTc=; b=XFmIxzMS/XbNpkCgxyj5JCxaBPfmzIWEjYBkQ2eihjDTKMzHiPzRcGc4Yr6DaKf8Ce PgjHhp+mjInQ/QNeVo87jeJ6snOILQ1GAHqp1zvUehfP1p/tJH6qfWg0qT7DqHfKkQ+m sq1tw+qLasf0NEh4XxjvuzMsQIrXZH5XBnSU8WeHyEhbWF7XCp/r3EmSM4+UHqX2i7S+ FAwbqH5FQRJMd4ey8ef6PT/+sM77Axcsr3aUDshAgVOP7z/9fK+jnmnV74euIhw+hDVF 4xFAyLFaOTzAuf9YOKuE3zQ6wYi8oN+DH8vGa6uVERRCqE3tRoD3XNw6CQCdzkOpIW1+ ddwA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=EdJebnBmgnAlH09OTGxMasheCmZBcr4XoKpe8ADnqTc=; b=YMwQSQaiIqYkqZYpGxuV2zAJxiP7+4/yYCtRTjDJCx1Q6AFYfvfqw3fLtlx7T8iH9W C/Ve3zVkk/Mc0oPDRN1PRlsPQrvBB84tUs/UCLrvLFUSTyRdTMfeO8ntV+5TJ7G89FI2 k8QU8m5HHOYCNgOcr+NJYFJgHRio5wTOeuOnTnIBO7pAgppJRulcJQazzWoNPOko4GBq T+k+Bdc7+4DNbOvub8LgyXBLFHWtuK4z9Txe166DR5RWPCFRdASxYDdiHVY/ZFbbaeJH cuHy458b6ybHy3yAjPdczi74uHJ3Fn1wPLRiqVNrF85MHXsWtYcs13+GLxGBVrCXzb3A I4bw==
X-Gm-Message-State: AOAM5317vLGkhTn3ctcsi3hHYl+KeKoWaZrjW+eXgYi2ZUGp1C3zu53n hJ2p1/05tUN8H/F1uK3he1z5+bVVHrc=
X-Google-Smtp-Source: ABdhPJym9QnCH33orOkic9woaFxFvgWli6dnw7sc8uGeCahZcuqBzcTPE0gK6+dlPoSwXH0DDptgVQ==
X-Received: by 2002:a17:902:c94c:b0:154:45c6:fbea with SMTP id i12-20020a170902c94c00b0015445c6fbeamr14181332pla.117.1649340211705; Thu, 07 Apr 2022 07:03:31 -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 q9-20020a056a00088900b004fe1a045e97sm12694280pfj.118.2022.04.07.07.03.30 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Apr 2022 07:03:31 -0700 (PDT)
Sender: Tony Li <tony1athome@gmail.com>
From: Tony Li <tony.li@tony.li>
Message-Id: <E8CE2911-249C-456A-85FB-AD40FB565B94@tony.li>
Content-Type: multipart/alternative; boundary="Apple-Mail=_7AAC1416-D0A4-49F3-A9F4-5EF6DDBF2298"
Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.60.0.1.1\))
Date: Thu, 07 Apr 2022 07:03:30 -0700
In-Reply-To: <CA+b+ERkAxMZ55v8AXHjREgswFwHhkm2=29=JyiNFpZV0qhxaCA@mail.gmail.com>
Cc: mpls <mpls@ietf.org>, draft-andersson-mpls-mna-fwk@ietf.org
To: Robert Raszuk <rraszuk@gmail.com>
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>
X-Mailer: Apple Mail (2.3693.60.0.1.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/Lbzdge0wyCLg9S0NTrVwU-1d4OY>
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 14:03:36 -0000

Hi Robert,

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


You seem to be under the impression that I’m arguing with you.  I’m 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. 


I’m trying to point out that a transit node wil do that 20 bit lookup and needs to find an indication of what its local action should be. Even if a node is expected to take no actions, it would need to be configured to do nothing and simply forward. Thus, the configuration must include every node along the path, not just the nodes where there are actions.

Tony