Re: [RTG-DIR] RtgDir Review: draft-ietf-isis-segment-routing-msd-15

"Les Ginsberg (ginsberg)" <ginsberg@cisco.com> Thu, 27 September 2018 18:44 UTC

Return-Path: <ginsberg@cisco.com>
X-Original-To: rtg-dir@ietfa.amsl.com
Delivered-To: rtg-dir@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4E92F130E63; Thu, 27 Sep 2018 11:44:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.5
X-Spam-Level:
X-Spam-Status: No, score=-14.5 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 F3xwXLhXFE6C; Thu, 27 Sep 2018 11:44:35 -0700 (PDT)
Received: from rcdn-iport-4.cisco.com (rcdn-iport-4.cisco.com [173.37.86.75]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1603B130F0A; Thu, 27 Sep 2018 11:44:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=47128; q=dns/txt; s=iport; t=1538073875; x=1539283475; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=e7S78AVI1MOxtcN91YL7bejaB5wfCmouSqOsGU2fNTE=; b=BzdRowYOoeqYz/QndnnfBK6+VAKy0BP9F6N9FOiYW84QR0rbtcdMS2V0 pMOiIjV28Y0Y479/ksHTfV6X59cp13Km28tTjWNwQpAuj9TUQ/Dx6G43x FozYgJMc3iwtWYKDZpyqdPRQ/lMzwnwzRil721Nz4wihNnjB5FgBDsoZA g=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AGAADpI61b/5xdJa1bGQEBAQEBAQEBAQEBAQcBAQEBAQGBUYEXd2Z/KAqDaogVjj+IYI1yFIFmC4RsAheDcCE0GAEDAQECAQECbSiFOAEBAQEDIwpMEAIBBgIOAwEDAQEWCwEGAwICAh8RFAMGCAIEAQ0FCIMagR1MAxWIPptNgS6HLw2CUYp+F4FBP4ESghR+glaBYxIBEgE2HwmCQoJXAo1whXmIWSMsCQKJTINGgxIfgUeEVokdjHGIAgIRFIElHThkcXAVgyeCJReOGG+Lc4EfgR8BAQ
X-IronPort-AV: E=Sophos;i="5.54,311,1534809600"; d="scan'208,217";a="458220737"
Received: from rcdn-core-5.cisco.com ([173.37.93.156]) by rcdn-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Sep 2018 18:44:33 +0000
Received: from XCH-ALN-004.cisco.com (xch-aln-004.cisco.com [173.36.7.14]) by rcdn-core-5.cisco.com (8.15.2/8.15.2) with ESMTPS id w8RIiXEm024316 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Thu, 27 Sep 2018 18:44:33 GMT
Received: from xch-aln-001.cisco.com (173.36.7.11) by XCH-ALN-004.cisco.com (173.36.7.14) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 27 Sep 2018 13:44:33 -0500
Received: from xch-aln-001.cisco.com ([173.36.7.11]) by XCH-ALN-001.cisco.com ([173.36.7.11]) with mapi id 15.00.1395.000; Thu, 27 Sep 2018 13:44:32 -0500
From: "Les Ginsberg (ginsberg)" <ginsberg@cisco.com>
To: Alvaro Retana <aretana.ietf@gmail.com>, Julien Meuric <julien.meuric@orange.com>
CC: "lsr@ietf.org" <lsr@ietf.org>, "draft-ietf-isis-segment-routing-msd@ietf.org" <draft-ietf-isis-segment-routing-msd@ietf.org>, "rtg-dir@ietf.org" <rtg-dir@ietf.org>, "rtg-ads@ietf.org" <rtg-ads@ietf.org>
Thread-Topic: [RTG-DIR] RtgDir Review: draft-ietf-isis-segment-routing-msd-15
Thread-Index: AQHUSRr9GtZ+0d9dH0WUMIG4HP6jZqT++7dQgAD3yQCAAyVlkIABQdiAgAB9BYD//7bIUA==
Date: Thu, 27 Sep 2018 18:44:32 +0000
Message-ID: <7a22ba26220d45c8881c5bbf95f4b7e0@XCH-ALN-001.cisco.com>
References: <cb33dfed-f14a-e079-78a7-83659aac7ffb@orange.com> <da219cdbe1db4edab2afb4dc03aa8656@XCH-ALN-001.cisco.com> <2414700a-0cf2-f663-8ab8-c312c4845ebb@orange.com> <f74187a7c96b40ebae4dccdd26bc29f3@XCH-ALN-001.cisco.com> <af362362-3c0c-6e42-562e-c6f7f16d14ff@orange.com> <CAMMESsy1Wn+O6iuuy_PdFxo6s6nSF0ztc__wyxR3u_WJBXe2CQ@mail.gmail.com>
In-Reply-To: <CAMMESsy1Wn+O6iuuy_PdFxo6s6nSF0ztc__wyxR3u_WJBXe2CQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.154.160.123]
Content-Type: multipart/alternative; boundary="_000_7a22ba26220d45c8881c5bbf95f4b7e0XCHALN001ciscocom_"
MIME-Version: 1.0
X-Outbound-SMTP-Client: 173.36.7.14, xch-aln-004.cisco.com
X-Outbound-Node: rcdn-core-5.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtg-dir/eI3ID-nWZ2_JwKlghtVSy_YD128>
Subject: Re: [RTG-DIR] RtgDir Review: draft-ietf-isis-segment-routing-msd-15
X-BeenThere: rtg-dir@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Routing Area Directorate <rtg-dir.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtg-dir>, <mailto:rtg-dir-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rtg-dir/>
List-Post: <mailto:rtg-dir@ietf.org>
List-Help: <mailto:rtg-dir-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-dir>, <mailto:rtg-dir-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Sep 2018 18:44:39 -0000

Alvaro –

Thanx for helping drive this to closure.
Please see inline.

From: Alvaro Retana <aretana.ietf@gmail.com>
Sent: Thursday, September 27, 2018 10:54 AM
To: Julien Meuric <julien.meuric@orange.com>; Les Ginsberg (ginsberg) <ginsberg@cisco.com>
Cc: lsr@ietf.org; draft-ietf-isis-segment-routing-msd@ietf.org; rtg-dir@ietf.org; rtg-ads@ietf.org
Subject: Re: [RTG-DIR] RtgDir Review: draft-ietf-isis-segment-routing-msd-15

On September 27, 2018 at 6:26:57 AM, Julien Meuric (julien.meuric@orange.com<mailto:julien.meuric@orange.com>) wrote:

Hi!

It looks like the outstanding item is this one about the terminology used in §5.

tl;dr: I think that the terminology can be slightly improved to be in line with other documents.  See suggestion at the bottom.

>>>> - In section 5, BMI-MSD is defined as "the total number of MPLS
>>>> labels which can be imposed" (which is OK when the incoming packet
>>>> is unlabled). When the incoming packet is labeled (e.g. use of
>>>> segment routing binding SID), if the incoming label is to be
>>>> "replaced" by N outgoing labels, what processing model is assumed
>>>> when advertising the
>> MSD:
>>>> * one swap and one imposition of N-1 labels?
>>>> * one pop and one imposition of N labels?
>>>>
>>> [Les:] What is being defined is the maximum number of SIDs/labels
>>> which
>> can be "imposed". If popping or swapping affects the MSD which can be
>> supported this needs to be accounted for in the advertisement. BMI-MSD
>> is not being used to advertise a value specific to labeled or
>> unlabeled packets nor a value which is "swap specific" or "pop specific".
>>>
>> [JM] We seem to agree on an architecture-agnostic use of BMI-MSD. "If
>> popping or swapping affects the MSD [...] this needs to be accounted
>> for" is a great introduction to the issue and deserves to be included
>> in the I-D. My comment now binds to: in order to have interoperable
>> implementations, I believe the document should be more prescriptive on
>> how we account that for.
>>
> [Les2:] Added text
>
[JM2] Thanks, this is a significant improvement. After talking to Bruno,
we however feel that the proposed wording remains ambiguous, and
especially the phrases "imposed under all conditions" and "be accounted
for". Indeed, section 3.10 of RFC 3031 defines "the operation to perform
on the packet's label stack" and doesn't mention "impose". The closest
concept may be found in:
" replace the label at the top of the label stack with a
specified new label, and then push one or more specified new
labels onto the label stack."
Combining this split to your current text may lead to different
interpretations. Could you clarify the paragraph to be more specific on
the corresponding definitions and fully clear the fuzzy zone?

The document currently (-17) reads:

   Base MPLS Imposition MSD (BMI-MSD) signals the total number of MPLS

   labels which can be imposed, including all service/transport/special

   labels.  The value advertised MUST indicate what can be imposed under

   all conditions e.g., if label popping/swapping affects the number of

   labels which can be imposed this MUST be accounted for in the value

   which is advertised.

   If the advertising router performs label imposition in the context of

   the ingress interface, it is not possible to meaningfully advertise

   per link values.  In such a case only the Node MSD SHOULD be

   advertised.

I think that the term “label imposition” is relatively well understood, as the act of putting labels on the packet (labeling a packet).  However, rfc3031 doesn’t talk about imposition; instead it says that a ""labeled packet" is a packet into which a label has been encoded”, and it talks about pushing labels on the stack.  The SR documents (rfc8402 and draft-ietf-spring-segment-routing-mpls) also don’t talk about imposition, nor do they offer a better alternative.

The text may be interpreted from the point of view of what the LSR can impose, vs what can be imposed on the packet…which can result in confusion.  Note that §7 clarifies which node is expected to do the imposition: "the head-end (the node performing the imposition)”.

rfc4221 does provide a clear precedent of the use of imposition, and a related definition (referring to the LSR MIB / rfc3813): "mplsMaxLabelStackDepth defines the maximum size of a imposed label stack supported at this LSR”.  This definition is akin to what this document already says: “MSD...the number of SIDs supported” (§1.1).  The definition in rfc4221 also presents a subtle difference (from the text in this document): it talks about the “imposed label stack supported” (not “labels which can be imposed”).  I interpret the “imposed label stack” as already taking into consideration any operations that can be performed (rfc3031).

My suggestion is to borrow from rfc4221 and simplify the definition:

NEW>

   Base MPLS Imposition MSD (BMI-MSD) indicates the maximum size of an

   imposed label stack supported by the node.

   If it is not possible to meaningfully advertise

   per link values, then only the Node MSD SHOULD be

   advertised.

[Les:] There are some key elements missing here.

1)Specifying that the value advertised includes “all service/transport/special  labels” is vital. This eliminates ambiguity which might occur if someone is trying to use this value to (for example) determine how many labels can be used for a repair path. It is possible that in the future we might specify other MSD-types advertising what can be imposed for a specific purpose (e.g., for repair only). Such a number would have factored out labels used for other purposes.

2)From the comments Julien has previously provided, clarification as to how popping/swapping “might” impact what a given LSR can do has been requested – and your proposal does not address that.

IN a recent email I proposed:

“Base MPLS Imposition MSD (BMI-MSD) signals the total number of MPLS
   labels which can be imposed, including all service/transport/special
   labels.  The value advertised MUST indicate the lowest maximum number of labels which  can be imposed under
   all conditions e.g., if label popping/swapping reduces the maximum number of
   labels which can be imposed this lower number MUST be what is advertised.

If the advertising router performs label imposition in the context of
   the ingress interface, it is not possible to meaningfully advertise
   per link values.  In such a case only the Node MSD SHOULD be
   advertised.”

Given you have provided a justification for retaining “imposition”, does the above work??

 In line with that suggestion, we could clean up some of the related text:

§1 s/the controller learns the Maximum SID Depth (MSD) that can be imposed at each node/link/the controller learns the Maximum SID Depth (MSD) supported at each node/link
[Les:] “supported” does not cover the same ground as “imposed”. For example, “supported” could be “supported for reading” – which is not what we are specifying in BMI.

   Les


§1 s/not exceed the number of SIDs the node is capable of imposing/not exceed the number of SIDs the node is capable of supporting

§1.1: s/BMI: Base MPLS Imposition…/BMI: Base MPLS Imposition is the size of the imposed label stack supported

Does this work?

Thanks!

Alvaro.