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

Jeff Tantsura <jefftant.ietf@gmail.com> Tue, 09 July 2024 16: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 01293C15153F; Tue, 9 Jul 2024 09:33:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.104
X-Spam-Level:
X-Spam-Status: No, score=-2.104 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, HTML_MESSAGE=0.001, 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 V64pSTFFKepE; Tue, 9 Jul 2024 09:33:50 -0700 (PDT)
Received: from mail-oa1-x29.google.com (mail-oa1-x29.google.com [IPv6:2001:4860:4864:20::29]) (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 DA0B4C151717; Tue, 9 Jul 2024 09:33:50 -0700 (PDT)
Received: by mail-oa1-x29.google.com with SMTP id 586e51a60fabf-25957dfd971so2192653fac.0; Tue, 09 Jul 2024 09:33:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720542829; x=1721147629; darn=ietf.org; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=td90yBDW70eXgIFQKqLNi4af8rJZ/BxgBe/yOHHYjIo=; b=fRJu28ZroZE600DKmc5JbcIfkjXIscoJOhcptfAUWDxJydUqhIkByN+BFK7qbveVbq En1XbNClsKlKQCMp3artrBXGqhgUgPIsforbCEi1FzWdMhnQt5iIpyfnSTnfiOckquiM 7/HjLErbMOKN7MFNJdgzpzZ0F31B1pe5elxFd+WhNBkpzDSaAbuugmNThE2c2Nlldeo5 HlGYHGJ4TBXSYbF1MvIpIAoZKilRvbZV76z3nFJeXhMp1R8W1PqLIbAr61QyJTpjygOT wNenA+M+uynKuKBzkryLoLlpm/VHDedhfwaShlAEqrpGMESIr3mKANNKe8RmIY4p7JAp CWyw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720542829; x=1721147629; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=td90yBDW70eXgIFQKqLNi4af8rJZ/BxgBe/yOHHYjIo=; b=E7QqpsBHtdmmE3IXJLv23WF1QGoB2qHnBru1PxejiQTwf9EthCql64Qyr8Hd5z0mW3 +VMNgk4ZSCGcetfIVI/Z5aBbn45gdI1S//l1r8nlZhFhR8EoFwLAuImTUZUzc0BN5ipr Wc5/0nCE+d5YeVfdFtEN9neyMt0n0RxhiiuQlLYwrb/Nev965/sDNgQ0xHJqVYaxAL1A 8Pbf7BNLxWPSyPFFPSL8rG65k3r7V3vl3TmBX9RJIMTYujvMTNFEYmzN7uOtZVCqwfBE kVSlQ4Y9SviZ+qcku3uUwWlQwGtryyZdN+4XKHcqC4NYTO76F7bQSHq7pJLrED9PbyWU onfQ==
X-Forwarded-Encrypted: i=1; AJvYcCWAwUh7UZivOBgPannqvAwtG+orFA2kTQVwLadNsmUJIa35wo7jTP5QvqxcIbxJAXBg6YipFSv/A4XsruD3l53HspkAHhui3o7SCiRwYEMTl01BYtRCcK60tFs68rDyT/LZfxWaUwJT0NtQKWou/yDzje4gVQgpG4sJ9rVz0/wFuSzvOebR
X-Gm-Message-State: AOJu0Yw+sUk4/Q4tSvhRbcIY8lgGM05uqaJEd2d8+MdI5bUEC+joMs1P Pl35PedejUpZrxlaNYh46mqmmp0OL0miZ3Gu1SyzS/UhFclqBNfx
X-Google-Smtp-Source: AGHT+IErfxyOtKjzAoqSC/d+vA0VVeIHUt5XWgIV/xm3sqE95DUUmanuM8HuD2U+WRuOes/rUztXsw==
X-Received: by 2002:a05:6870:ec87:b0:254:b30a:2ed0 with SMTP id 586e51a60fabf-25eae9dcf78mr2864783fac.32.1720542828972; Tue, 09 Jul 2024 09:33:48 -0700 (PDT)
Received: from smtpclient.apple ([216.228.127.129]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70b438c7099sm2030029b3a.84.2024.07.09.09.33.46 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Jul 2024 09:33:48 -0700 (PDT)
From: Jeff Tantsura <jefftant.ietf@gmail.com>
Message-Id: <D233F1D3-5871-4343-A7B9-3F0F2497CC3B@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_4CB51742-7552-4F31-8902-FF88C0599FA8"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.600.62\))
Date: Tue, 09 Jul 2024 09:33:35 -0700
In-Reply-To: <AS1PR07MB8589905E46D981F2BCD41A4BE0DB2@AS1PR07MB8589.eurprd07.prod.outlook.com>
To: "Gunter van de Velde (Nokia)" <gunter.van_de_velde@nokia.com>
References: <172045963981.461285.15140299591053855501@dt-datatracker-5f88556585-j5r2h> <A8B4C774-033E-4FC8-A9B3-FEBD506ECD4E@gmail.com> <AS1PR07MB8589ED350BA7D0157B6D6535E0DA2@AS1PR07MB8589.eurprd07.prod.outlook.com> <289CA3BA-0DF1-402C-9030-41335F9B26B6@gmail.com> <AS1PR07MB8589905E46D981F2BCD41A4BE0DB2@AS1PR07MB8589.eurprd07.prod.outlook.com>
X-Mailer: Apple Mail (2.3774.600.62)
Message-ID-Hash: 522FJ7EPK7FXWTWEPVACKN4AUUYOOANA
X-Message-ID-Hash: 522FJ7EPK7FXWTWEPVACKN4AUUYOOANA
X-MailFrom: jefftant.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 <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/tG8_XyXgRpbFhO1UuuO7DeCvyNw>
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>

Gunter,

Many thanks for the great discussion! 

While MSD signaling allows to to signal at IGP adjacency granularity (per interface), known as node and link MSDs, and this has been done to address cases where there are multiple HW generation on the same system, and/or more specifically to the use case you have described - outgoing encapsulation is more complex and hence affects port/LC’ ability to impose labels. The is however but straightforward - the way processing and encapsulation is done in a multi LC systems (ingress/egress/recirculation/etc) varies drastically from implementation to implementation (sometimes even across SW releases).

Most implementations however only use node MSD, and the approach taken is to have system’ lowest value signaled (trade-offs are computaional complexity vs loss of information/granularity/related performance ), read-only is a much more safe approach in this case. 
I don’t dismiss your use case, however, as you rightfully said - for the current use cases, it is good enough, if/when the need for “semi-dynamic” MSD arises - we will update the MSD RFCs as well as relevant YANG models.

Hope this clarifies the logic.

Thanks,
Jeff

> On Jul 9, 2024, at 07:42, Gunter van de Velde (Nokia) <gunter.van_de_velde@nokia.com> wrote:
> 
> Another consideration for making the leaf read-write instead of read-only is that future MSDs may emerge that benefit more significantly from write capabilities, unlike existing ERLD and BMI. With the currently proposed yang model, updating would be necessary. While this change appears to be backward compatible and should not pose major issues, it will nonetheless require processing.
> 
> I agree with you that my observation pertains more to the current MSD drafts than to the proposed YANG model.
> 
> I'll change my ballot to No Objection, because the current model will work with currently existing MSDs. I do still believe RW seems more future proof, but that is a discussion i'll leave in the hands of the WG and document authors.
> 
> G/
> 
> 
> 
> -----Original Message-----
> From: Acee Lindem <acee.ietf@gmail.com <mailto:acee.ietf@gmail.com>> 
> Sent: Tuesday, July 9, 2024 2:22 PM
> To: Gunter van de Velde (Nokia) <gunter.van_de_velde@nokia.com <mailto:gunter.van_de_velde@nokia.com>>; Jeff Tantsura <jefftant.ietf@gmail.com <mailto:jefftant.ietf@gmail.com>>
> Cc: The IESG <iesg@ietf.org <mailto:iesg@ietf.org>>; draft-ietf-mpls-msd-yang@ietf.org <mailto:draft-ietf-mpls-msd-yang@ietf.org>; MPLS Working Chairs <mpls-chairs@ietf.org <mailto:mpls-chairs@ietf.org>>; mpls@ietf.org <mailto:mpls@ietf.org>; tsaad@cisco.com <mailto: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 <http://nok.it/ext> for additional information.
> 
> 
> 
> 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-pos
>>> i 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 
>> GV> into the SID label stack (i assume you are suggesting the MSD 
>> GV> 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