Re: [Idr] WG adoption of draft-zzhang-idr-tunnel-encapsulation-label-stack-01 - 12/23/2022 to 1/13/2023

Robert Raszuk <robert@raszuk.net> Fri, 30 December 2022 16:54 UTC

Return-Path: <robert@raszuk.net>
X-Original-To: idr@ietfa.amsl.com
Delivered-To: idr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8BF63C14CE5F for <idr@ietfa.amsl.com>; Fri, 30 Dec 2022 08:54:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.096
X-Spam-Level:
X-Spam-Status: No, score=-2.096 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=raszuk.net
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 GB2anGXRWk3H for <idr@ietfa.amsl.com>; Fri, 30 Dec 2022 08:54:41 -0800 (PST)
Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) (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 978ECC14F741 for <idr@ietf.org>; Fri, 30 Dec 2022 08:54:41 -0800 (PST)
Received: by mail-wr1-x433.google.com with SMTP id y8so20297817wrl.13 for <idr@ietf.org>; Fri, 30 Dec 2022 08:54:41 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raszuk.net; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=O0DwBh6Ff/KrYbQ6fjb9WcTC41rTUGptGDWhyIdnEuU=; b=aMdXYkF+1z0cXkO62sUFlKwDaHbXmXpiD67YTv00qswWTXN33G2BCcrXbAov5DWyQB 1mJ8VIUuSuh8DvRdKwXHtxvkRqJyvAutkfl7jtx23QrijcIRCgUwMgZbM8d/3Z7t0sHg U3rxAxQW0acTRocFYhPvRMmVJhicOSo6yWRCTd714FYYUqdDNapeGKffn25Tlm5a3JQf ZauGKsbizxtuXTU8MGfbaARzs/vZM91W6x9lwdumZffKJYdqagzd5GjcKO2hXCO9qSzG +X1BnQE4wyrb6WXYr11d1pxvY8uK8a1tc6Dku6/cwKB5y45vPKnHu2r0f1r2XbPNN5CT k20g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=O0DwBh6Ff/KrYbQ6fjb9WcTC41rTUGptGDWhyIdnEuU=; b=S7jS0Rm0frRafv4qKWILnn5RftuXvgcSiG84Qh/OQwP8hB9GD/+pDCSD/qSMAdq09x K/CVn1W85ox9VKCHr0XZHzP6Z5xcY1u4pT6n6rNurVXbXxJ/MrHsth33Z0STAB8AdzMw WSNFt/9R4EmmCF7tGOBWZSYr1RQvF3wK2ImOHBXE5B1AUTBshM0SLdsUNnV3E7YXnGJN VRA1F7l9L8E6ToMFovrA8hDgCynAxRsWoiR6LGMfh9R6kDGyE9fuQ19PMGFHCbsj+5ck vkzk3yqhQFAQg/rv1GRe9FpUFaurw3D1mBNWkx7Cs7rpnjt2Vi/yto5cqNaer/y5xop6 ftyw==
X-Gm-Message-State: AFqh2kqgYuGPi69G1jr+RCwNGYa9XhxPUHW4LLiyFsUqmS5NcUbrNA7T YHvanrT60lDvPaKuvDgJmoPuQYucZIllmv7+pM7bQA==
X-Google-Smtp-Source: AMrXdXvLbkUXnjh/dAXrcDoPAABNFOmYAd7ZFcaSGeZWMUkEKo8cXBDrI6iegYjx6qkXstpRquGMkN1tHA7aHHgvWkM=
X-Received: by 2002:adf:dc4b:0:b0:242:72d6:7708 with SMTP id m11-20020adfdc4b000000b0024272d67708mr1537939wrj.157.1672419279800; Fri, 30 Dec 2022 08:54:39 -0800 (PST)
MIME-Version: 1.0
References: <BYAPR08MB4872B6B3A9AE7B008463795DB3E99@BYAPR08MB4872.namprd08.prod.outlook.com> <CAOj+MMGkimvyy3kA36Pn=VzbdTB8ZHDeEhzArsFEVE3P8W2Mug@mail.gmail.com> <BL0PR05MB565243B34F92752FA6E8B397D4ED9@BL0PR05MB5652.namprd05.prod.outlook.com> <CAOj+MMEbjJaFc-arh4ujfSEtnpACwvN2uofKafO6oWUx3-O_BA@mail.gmail.com> <BL0PR05MB5652CB8141DF3A1CD9FF1A9BD4F29@BL0PR05MB5652.namprd05.prod.outlook.com> <CAOj+MMFSP2oThW4C9GezQYK-eU_qRSfNVk+RPib8_spmtWmSzQ@mail.gmail.com> <BL0PR05MB5652D4B1E085D764C57B19E5D4F29@BL0PR05MB5652.namprd05.prod.outlook.com> <CAOj+MMFWVrvtF=f+sx+Y6pMUJQL_5MYKPiXXRRcG0WWM05JAjA@mail.gmail.com> <BL0PR05MB56528E59C23486437034818BD4F39@BL0PR05MB5652.namprd05.prod.outlook.com> <CAOj+MMG46bQsHFmDJmoc2+CMTCrA6yYV=gMzdSUxe48gB6=StQ@mail.gmail.com> <BL0PR05MB56521C1B92778F7D27A9BA41D4F39@BL0PR05MB5652.namprd05.prod.outlook.com> <CAOj+MMGwrUGJOvJ39AoUrjSimYES=O2mHmpaQyN5sj8VV-QwVw@mail.gmail.com> <BL0PR05MB56524EC954218FBDE2622040D4F09@BL0PR05MB5652.namprd05.prod.outlook.com> <CAOj+MMEDHJNX5U7tgq3pLr0=FJ9DHzJo_q6_g5qQ4_+ZfgSzwg@mail.gmail.com> <BL0PR05MB56524F222415B1E532F1C5B9D4F09@BL0PR05MB5652.namprd05.prod.outlook.com>
In-Reply-To: <BL0PR05MB56524F222415B1E532F1C5B9D4F09@BL0PR05MB5652.namprd05.prod.outlook.com>
From: Robert Raszuk <robert@raszuk.net>
Date: Fri, 30 Dec 2022 17:54:28 +0100
Message-ID: <CAOj+MME_J_q9wVOin6=cUWKxg5qX0k0afOmNTrFE+Nf6a8=7ZA@mail.gmail.com>
To: "Jeffrey (Zhaohui) Zhang" <zzhang@juniper.net>
Cc: Susan Hares <shares@ndzh.com>, "idr@ietf.org" <idr@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000169cfc05f10e7563"
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/C9XtQcsv2P_y6YpbyeOro-MV-0w>
Subject: Re: [Idr] WG adoption of draft-zzhang-idr-tunnel-encapsulation-label-stack-01 - 12/23/2022 to 1/13/2023
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Inter-Domain Routing <idr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/idr>, <mailto:idr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/idr/>
List-Post: <mailto:idr@ietf.org>
List-Help: <mailto:idr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/idr>, <mailto:idr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 30 Dec 2022 16:54:45 -0000

> One is to signal an SR policy, the other is to specify an explicit path
in an MPLS tunnel of a TEA attached a route.

Except that "SR Policy" is nothing else then the explicit path :)

Cheers,
R.



On Fri, Dec 30, 2022 at 3:44 PM Jeffrey (Zhaohui) Zhang <zzhang@juniper.net>
wrote:

> Hi Robert,
>
>
>
> Please see zzh7> below.
>
>
>
>
>
> Juniper Business Use Only
>
> *From:* Robert Raszuk <robert@raszuk.net>
> *Sent:* Friday, December 30, 2022 5:19 AM
> *To:* Jeffrey (Zhaohui) Zhang <zzhang@juniper.net>
> *Cc:* Susan Hares <shares@ndzh.com>; idr@ietf.org
> *Subject:* Re: [Idr] WG adoption of
> draft-zzhang-idr-tunnel-encapsulation-label-stack-01 - 12/23/2022 to
> 1/13/2023
>
>
>
> *[External Email. Be cautious of content]*
>
>
>
> Hi Jeffrey,
>
>
>
> Zzh6> It is not fit for encoding explicit path for a tunnel in a TEA that
> is attached
>
> > to a unicast prefix or a multicast tree route signaled from a controller.
>
>
>
> Actually it is precisely what authors
> of draft-ietf-idr-segment-routing-te-policy considers to be a fit.
>
>
>
> You are now mixing "SR Policy" with "SR Policy Color" :)
>
>
>
> Zzh7> draft-ietf-idr-segment-routing-te-policy is about “Advertising
> Segment Routing Policies”. In an SR policy, you can have policy color with
> it:
>
>
>
>    +------------------+
>
>    |  NLRI Length     | 1 octet
>
>    +------------------+
>
>    |  Distinguisher   | 4 octets
>
>    +------------------+
>
>    |  Policy Color    | 4 octets
>
>    +------------------+
>
>    |  Endpoint        | 4 or 16 octets
>
>    +------------------+
>
>
>
> Zzh7> In my previous email I said “… that draft is for a controller to
> signal that policy to the root, with the tunnel endpoint/color and
> candidate path encoded in the NLRI and other information encoded in a TEA
> with a special “SR Policy” tunnel type”. Where did I mix "SR Policy" with
> "SR Policy Color"?
>
>
>
>
>
> Take a look at section 2.4.4.2.1.  Segment Type A - it is exactly what you
> are proposing as new sub-TLV for TEA:
>
>
>
> Zzh7> It’s clear that you did NOT read the subject draft well. More below.
>
>
>
> draft-ietf-idr-segment-routing-te-policy:
>
>
>
>    The Type A Segment Sub-TLV encodes a single SR-MPLS SID.  The format
>    is as follows and is used to encode MPLS Label fields as specified in
>    [RFC3032] [RFC5462].:
>
>     0                   1                   2                   3
>     0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
>    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>    |     Type      |   Length      |     Flags     |   RESERVED    |
>    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>    |          Label                        | TC  |S|       TTL     |
>    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
>
>
> Your draft:
>
>
>
>   0                   1                   2                   3
>   0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
>  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>  |     Type      |   Length      |     Flags     |   RESERVED    |
>  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>  |          Label                        | TC  |S|       TTL     |
>  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
> It is clear that this is not efficient on-the-wire encoding format, and it
>
> involves additional encoding/decoding processing.
>
> Zzh7> As the above quoted text (I marked it red) shows, I was pointing
> out the efficiency issue of existing encoding scheme – that’s why the
> subject draft proposes the compact format:
>
> 3.1.  Segment Type L
>
>
>
>    The Type L Segment Sub-TLV encodes multiple SR-MPLS SIDs.  The format
>
>    is as follows and is used to encode MPLS Label fields as specified in
>
>    [RFC3032] [RFC5462]:
>
>
>
>      0                   1                   2                   3
>
>      0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
>
>     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
>     |     Type TBD1   |   Length      |     Flags     |   RESERVED  |
>
>     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
>     |          Label                        | TC  |S|       TTL    //
>
>     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
>     //          Repeated Label Entries                              |
>
>     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
>
>
> In fact if you look at section 2.2
> of draft-ietf-idr-segment-routing-te-policy you will find exactly the
> solution to your use case by encoding SR Policy Candidate Path in TEA.
>
>
>
> Zzh7> You’re not reading my earlier email. Let me quote it here:
>
>
>
> Zzh6> … that draft is for a controller to signal that policy to the root, with
> the tunnel endpoint/color and candidate path encoded in the NLRI and other
> information encoded in a TEA with a special “SR Policy” tunnel type.
>
> Zzh6> It is not fit for encoding explicit path for a tunnel in a TEA that
> is attached to a unicast prefix or a multicast tree route signaled from a
> controller. There is no reason the mix the two use cases.
>
>
>
> Zzh7> When a controller advertises a route (e.g. for a VPN prefix), it can
> attach a TEA to specify the tunnel destination information already. Now we
> want to be able to specify the explicit path as well. We don’t need/want to
> use a special SR Policy Tunnel for it (as you quoted below it has a lot of
> policy, candidate path information that are totally irrelevant). All we
> need to do is to attach this new label stack sub-TLV to the existing “MPLS”
> tunnel in the TEA.
>
>
>
> 2.2.  SR Policy and Tunnel Encapsulation Attribute
>
>    The content of the SR Policy Candidate Path is encoded in the Tunnel
>    Encapsulation Attribute defined in [RFC9012] using a Tunnel-Type
>    called SR Policy Type with codepoint 15.  The use of SR Policy
>    Tunnel-type is applicable only for the AFI/SAFI pairs of (1/73,
>    2/73).
>
>    The SR Policy Encoding structure is as follows:
>
>    SR Policy SAFI NLRI: <Distinguisher, Policy-Color, Endpoint>
>    Attributes:
>       Tunnel Encapsulation Attribute (23)
>          Tunnel Type: SR Policy (15)
>              Binding SID
>              SRv6 Binding SID
>              Preference
>              Priority
>              Policy Name
>              Policy Candidate Path Name
>              Explicit NULL Label Policy (ENLP)
>              Segment List
>                  Weight
>                  Segment
>                  Segment
>                  ...
>              ...
>
>    Figure 2: SR Policy Encoding
>
>
>
> That is why in my first mail I asked if you are trying to do SR-MPLS-LIGHT
> here essentially overwriting draft-ietf-idr-segment-routing-te-policy
> proposal.
>
>
>
> Zzh7> It’s definitely not “overwriting”, and
> draft-ietf-idr-segment-routing-te-policy is not appropriate for my use
> case. They are entirely two different things. One is to signal an SR
> policy, the other is to specify an explicit path in an MPLS tunnel of a TEA
> attached a route.
>
>
>
> Zzh7> Jeffrey
>
>
>
> Many thx,
> R.
>
>
>
>
>
>
>
> On Fri, Dec 30, 2022 at 3:02 AM Jeffrey (Zhaohui) Zhang <
> zzhang@juniper.net> wrote:
>
> Please see zzh6> below.
>
>
>
>
>
> Juniper Business Use Only
>
> *From:* Robert Raszuk <robert@raszuk.net>
> *Sent:* Thursday, December 29, 2022 5:10 PM
> *To:* Jeffrey (Zhaohui) Zhang <zzhang@juniper.net>
> *Cc:* Susan Hares <shares@ndzh.com>; idr@ietf.org
> *Subject:* Re: [Idr] WG adoption of
> draft-zzhang-idr-tunnel-encapsulation-label-stack-01 - 12/23/2022 to
> 1/13/2023
>
>
>
> *[External Email. Be cautious of content]*
>
>
>
> Hi Jeffrey,
>
>
>
> Zzh5> It’s “outside the scope” of RFC9012, not that TEAs are **prohibited**
> with other AFI/SAFI.
>
>
>
> What I should say was prohibited without a new spec extending the use of
> TEA to other AFI/SAFIs. To the best of my reading the subject draft does
> not extend use of TEA to other AFI/SAFIs.
>
>
>
> Zzh6> The subject draft is only defining a new label stack sub-TLV for the
> purpose of steering traffic to the tunnel endpoint in a TEA that could
> attached to the routes of the AFI/SAFIs in RFC9012 itself. As you say, the
> subject draft does not extend use of TEA to other AFI/SAFIs. What’s wrong
> with that?
>
> Zzh6> The same could be used for multicast tree routes as well. That is
> indeed for a different AFI/SAFI, and there is another draft for that. That
> draft is not the subject draft here, but what’s wrong with that?
>
>
>
> Zzh5> That draft is about signaling **policy** - a totally different use
> case. What this draft does is to allow, for a particular tunnel in a TEA,
> the steering of traffic to the tunnel endpoint.
>
>
>
> Sorry but SR policy is exactly for steering traffic to the tunnel
> endpoint. Yes the name "policy" is chosen very poorly as it does not
> reflect what most of us understand by "policy" but it is what it is.
>
>
>
> Zzh6> Policy is indeed a poor name to me as well. An SR policy is another
> name for a named tunnel that may have different candidate paths, and that
> draft is for a controller to signal that policy to the root, with the
> tunnel endpoint/color and candidate path encoded in the NLRI and other
> information encoded in a TEA with a special “SR Policy” tunnel type.
>
> Zzh6> It is not fit for encoding explicit path for a tunnel in a TEA that
> is attached to a unicast prefix or a multicast tree route signaled from a
> controller. There is no reason the mix the two use cases.
>
> Zzh7> Jeffrey
>
>
>
> Thx,
> R.
>
>