[mpls] Re: Gunter Van de Velde's No Record on draft-ietf-mpls-msd-yang-12: (with COMMENT)

Acee Lindem <acee.ietf@gmail.com> Tue, 09 July 2024 12:22 UTC

Return-Path: <acee.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 512DAC14F71F; Tue, 9 Jul 2024 05:22:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.105
X-Spam-Level:
X-Spam-Status: No, score=-7.105 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, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=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=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 kxCJ-NWQ_AbY; Tue, 9 Jul 2024 05:22:24 -0700 (PDT)
Received: from mail-yb1-xb34.google.com (mail-yb1-xb34.google.com [IPv6:2607:f8b0:4864:20::b34]) (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 A1B46C15107A; Tue, 9 Jul 2024 05:22:24 -0700 (PDT)
Received: by mail-yb1-xb34.google.com with SMTP id 3f1490d57ef6-e03a9f7c6a6so5415610276.3; Tue, 09 Jul 2024 05:22:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720527743; x=1721132543; darn=ietf.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=DMBe8ba9FbXHAyfLanPkxAQgcgv1ehhHfH576GHqYiY=; b=IQj5adz1VNdc27/nV6vCnGdKjWvqnicFIHhl+P2j1DAmypzUotHQwOKs2fcLQpNowZ cpBP601il04IIk+0ehIeKs3C5n5nZFOXlHXX4hNCwGPQ/mMlitvpb+dII5GxHL5wHivf rk3Kpql6cMGgN0ZX4NvaJx35YezFkkuuFdv3sYvoFynkpLEmdJp0cb4u5TM1lbagSn0p TlrpCFl+hclWfItEWFKeJRRB44Rwbiii77VK6RkltaUy7nMntR0jpuAuMM/0buGgvx3W o2W1g0kY6+M3YcMUv5Q0v9RZYRAEyMUyKkYYHhXmnMJduA1VoZz1KxwGrjljnl7jDgtU 9Ycw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720527743; x=1721132543; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DMBe8ba9FbXHAyfLanPkxAQgcgv1ehhHfH576GHqYiY=; b=o6jxKPFuR7R4z00+EJdDXubBJIHIve1diq+bdKncbmsGVeUTKHd1yDnM40+iT/rjIB y8bJ8XDr+cRGm2x8XtO7p6fECe0y6BV3n8qS6tk2wNTjN+OXkA0z14kMvzZCsrko3HMb vEyyZUNNLrwsarzZZFXnF7yAPT7NMKdonEpiI/bkwb2R656zmsxX9lohu5xCeRkiyoBL waJOTGOyVZbt5SSpfKLf/PjViQhGHkVP+4fLvRFbNTioecRdcxCWjktuxVsagw1Fqe7E ba23qU/1X4HeGrKJ3SPQOf2gwLFFn1lj4IzRMsvy3fnodCvoODRt/smkVrTPkqw/14Un uuaA==
X-Forwarded-Encrypted: i=1; AJvYcCXV67uooUztUvbDQ3jT91BYip2Pn6pj92F3aGK2Z0powHwpDV86KhlaM2Pa7L20wkFvuy2E8OPsEQuYmGvgG7Kaa71mqsFwfsdXJCC43pValrLNGTnqF6x8SrZUqjIhWveY800jzQ9/lCTHqjdHmPP//tjr77OH
X-Gm-Message-State: AOJu0Yw6o3Zm9wUleamKPUjTrPC6jeTy+uv9SAZUqWcDI+JvmrqvOS0C x3NYodjhH66bDKb/1e1N2cnOXrpKlJzE+UfpEd0mwpMDK35vOXay
X-Google-Smtp-Source: AGHT+IHCwAvNB2y6dUyuHHxnxwJ/AqjPMZpBot2Q4EGeW00PI65B/jhiLlkfgXWVGZfg14S0MbsJXg==
X-Received: by 2002:a25:aca0:0:b0:e03:6445:8ce with SMTP id 3f1490d57ef6-e041b11d23fmr2900167276.44.1720527743376; Tue, 09 Jul 2024 05:22:23 -0700 (PDT)
Received: from smtpclient.apple ([136.54.28.118]) by smtp.gmail.com with ESMTPSA id 3f1490d57ef6-e041a8d751bsm285014276.14.2024.07.09.05.22.22 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Jul 2024 05:22:22 -0700 (PDT)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.600.62\))
From: Acee Lindem <acee.ietf@gmail.com>
In-Reply-To: <AS1PR07MB8589ED350BA7D0157B6D6535E0DA2@AS1PR07MB8589.eurprd07.prod.outlook.com>
Date: Tue, 09 Jul 2024 08:22:12 -0400
Content-Transfer-Encoding: quoted-printable
Message-Id: <289CA3BA-0DF1-402C-9030-41335F9B26B6@gmail.com>
References: <172045963981.461285.15140299591053855501@dt-datatracker-5f88556585-j5r2h> <A8B4C774-033E-4FC8-A9B3-FEBD506ECD4E@gmail.com> <AS1PR07MB8589ED350BA7D0157B6D6535E0DA2@AS1PR07MB8589.eurprd07.prod.outlook.com>
To: "Gunter van de Velde (Nokia)" <gunter.van_de_velde@nokia.com>, Jeff Tantsura <jefftant.ietf@gmail.com>
X-Mailer: Apple Mail (2.3774.600.62)
Message-ID-Hash: EH5VWG3XAXLQ6SOKX43RNA5KAX4EEEA3
X-Message-ID-Hash: EH5VWG3XAXLQ6SOKX43RNA5KAX4EEEA3
X-MailFrom: acee.ietf@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-mpls.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: The IESG <iesg@ietf.org>, "draft-ietf-mpls-msd-yang@ietf.org" <draft-ietf-mpls-msd-yang@ietf.org>, MPLS Working Chairs <mpls-chairs@ietf.org>, "mpls@ietf.org" <mpls@ietf.org>, "tsaad@cisco.com" <tsaad@cisco.com>
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [mpls] Re: Gunter Van de Velde's No Record on draft-ietf-mpls-msd-yang-12: (with COMMENT)
List-Id: Multi-Protocol Label Switching WG <mpls.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/m0UofIBCp2ucjTQ28MY71yf2RyU>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mpls>
List-Help: <mailto:mpls-request@ietf.org?subject=help>
List-Owner: <mailto:mpls-owner@ietf.org>
List-Post: <mailto:mpls@ietf.org>
List-Subscribe: <mailto:mpls-join@ietf.org>
List-Unsubscribe: <mailto:mpls-leave@ietf.org>

Hi Gunter, 

I have some ideas on your the scenario cite but I’ll defer to Jeff since he was the original editor/author of the MSD drafts. 
The comment is actually more relevant to these drafts than the YANG model.  

Thanks,
Acee

> On Jul 8, 2024, at 18:33, Gunter van de Velde (Nokia) <gunter.van_de_velde@nokia.com> wrote:
> 
> Hi Acee,
> 
> See inline: GV>
> 
> 
> -----Original Message-----
> From: Acee Lindem <acee.ietf@gmail.com> 
> Sent: Monday, July 8, 2024 9:15 PM
> To: Gunter van de Velde (Nokia) <gunter.van_de_velde@nokia.com>
> Cc: The IESG <iesg@ietf.org>; draft-ietf-mpls-msd-yang@ietf.org; MPLS Working Chairs <mpls-chairs@ietf.org>; mpls@ietf.org; tsaad@cisco.com
> Subject: Re: Gunter Van de Velde's No Record on draft-ietf-mpls-msd-yang-12: (with COMMENT)
> 
> 
> CAUTION: This is an external email. Please be very careful when clicking links or opening attachments. See the URL nok.it/ext for additional information.
> 
> 
> 
> Hi Gunter,
> 
>> On Jul 8, 2024, at 1:27 PM, Gunter Van de Velde via Datatracker <noreply@ietf.org> wrote:
>> 
>> Gunter Van de Velde has entered the following ballot position for
>> draft-ietf-mpls-msd-yang-12: No Record
>> 
>> When responding, please keep the subject line intact and reply to all 
>> email addresses included in the To and CC lines. (Feel free to cut 
>> this introductory paragraph, however.)
>> 
>> 
>> Please refer to 
>> https://www.ietf.org/about/groups/iesg/statements/handling-ballot-posi
>> tions/ for more information about how to handle DISCUSS and COMMENT 
>> positions.
>> 
>> 
>> The document, along with other ballot positions, can be found here:
>> https://datatracker.ietf.org/doc/draft-ietf-mpls-msd-yang/
>> 
>> 
>> 
>> ----------------------------------------------------------------------
>> COMMENT:
>> ----------------------------------------------------------------------
>> 
>> I reviewed version draft-ietf-mpls-msd-yang-12
>> 
>> The draft is clear and in general i see no big issues with the yang 
>> model proposed.
>> 
>> Currently, my ballot is explicitly set to a 'No Record' position as I 
>> am unclear on the history behind why the MSD (Maximum SID Depth) 
>> leaves only provide read-only operational information. I'll update 
>> once i understand the philosophy of MSD model intent better.
>> 
>> Allow me to explain my concern. One might assume that a hardware 
>> device supports, for instance, the most optimal setup where Ethernet 
>> encapsulation can impose 10 MPLS segment SIDs. However, if such an 
>> interface is configured with a more complex L2 encapsulation (such as 
>> 802.1q combined with EVPN service SIDs and Entropy SIDs), the value 
>> that controllers can use might be reduced to 8, or even less, 
>> depending on the encoding and encapsulation complexity. In such 
>> scenarios, an operator may wish to adjust the most optimal MSD values 
>> to something less optimal but supported by the hardware when 
>> attempting to program a segment routing policy on a data packet
> 
> You're presuposing a maximum number of octets a router can examine in the data plane. That isn't what this is although it has been proposed:
> 
> GV> The described observation is not about the depth a router can look into the SID label stack (i assume you are suggesting the MSD ERLD, while i am more concerned about the MSD BMI)
> 
> https://datatracker.ietf.org/doc/draft-liu-lsr-aggregate-header-limit/
> 
> GV> This is not what i was referring towards. I did not even realise the existence of this draft. It addresses a different aspect.
> 
> This is the MSD as advertised in OSPF - https://datatracker.ietf.org/doc/rfc8476/
> 
> GV> yes, i was/am talking about this work. My assumption is that operators use the MSD-BMI to know how many SIDs a controller can push for SR policies.  
> 
> GV> Based upon suggested rfc8476 i found MSD BMI description in rfc8491:
> 
>   BMI:  Base MPLS Imposition is the number of MPLS labels that can be
>         imposed inclusive of all service/transport/special labels.
> 
> GV> The most optimal number of SR-MPLS labels a router can push appears to be a property determined by the line card and central (network) processing units. These values are often by an OS encoded as constants. My concern is that these constants may not align with the needs of network controllers. What controllers typically need to know is the maximum number of labels a router can push within the context of an SR policy.
> 
> GV> Ideally, the router would autonomously calculate the node and link MSD BMI based on the complexity of the L2 encapsulation and the services running on the interface, considering these constant values. However, this calculation is not straightforward for hardware. Such an assumption requires the router to have advanced capabilities to understand the SID stack depth impact of services and L2 encapsulation, and then compute the MSD BMI accordingly.
> 
> GV> Given these complexities, making this field read-write (RW) could be more operationally optimal. This approach would provide operators with the flexibility to configure an MSD BMI value that is lower than the maximum possible value derived for specific hardware, ensuring better alignment with operational needs.
> 
> GV> If the controller calculates an SR-policy with a label stack within the limit of the advertised MSD BMI, but is not aware of the services or the exact L2 encapsulation, the resulting data plane traffic may encounter encapsulation failures. Would it not be simpler, in such situations, to provide operators with the capability to manually configure an MSD BMI value that is less than the most optimal hardware-derived value? This would alleviate the need for the controller to understand every aspect of L2/L3/L4 (service, transport, and special) labels. 
> 
> Brgds,
> G/
> 
> Thanks,
> Acee
> 
> 
> 
> 
> 
> 
> 
>> 
>> 
>> 
>