Re: [Pce] Early code point allocation for draft-ietf-pce-segment-routing-policy-cp

tom petch <ietfc@btconnect.com> Mon, 22 February 2021 12:22 UTC

Return-Path: <ietfc@btconnect.com>
X-Original-To: pce@ietfa.amsl.com
Delivered-To: pce@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 52AB83A046B for <pce@ietfa.amsl.com>; Mon, 22 Feb 2021 04:22:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=btconnect.onmicrosoft.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 BJAv96IhZAzP for <pce@ietfa.amsl.com>; Mon, 22 Feb 2021 04:22:03 -0800 (PST)
Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00130.outbound.protection.outlook.com [40.107.0.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 511853A0652 for <pce@ietf.org>; Mon, 22 Feb 2021 04:22:02 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SSara8qD7jzS61ZJ+xRj++7OmBTqTMhfwnaPtPYpUF9KLkljac/iaoFbnDZC0BPYxJh3jtbXTjiK0u+hF3zrmYqWoImDyeCYSeQvhUS8tJ+7+HkLgVdymWBeHITSML7IUzl2xWApVXh69H9FSg4SPVcwxH19KZmfcJCTlKxXWuWPlLMI+Qix4wRJZiKwzPYzRHIA9NfASFVjMXJJpZBZbCSbCbQdfK4tPOQuub+Rvzl4IHUrhcBtsyRS3IMGH1ISXrmTMw778EmNFiGtvCyQWUESIiYYo0+aw8d3m2Z1n8jQ2DuxEqmMI/C8Awa7XQl77HRPmt4iZTmQUV1FdwoIWg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=brNKVP4OrIllS9H3tphiBJ3xXyTu9hnc7JtyGmqI+q8=; b=U3Y2MW8xlxKwkVYuKpKtIAq30GUc9umQoa1amkkOTkGfstXg/PRwHFOgKdNL08cd6Rcr83oLQAr0CuZoLpqp515G7OxCAN3DYjIRf1EZH62P3hqSnOUjsJ0dcFJA9fBAf2fOA0/H4ojVmG98fljqkHQW1la44YMbgU7BttiNpAmk68/DnKwE8LpW8t/Kkj+TaIg5WndOQF8mPpSnhE61uLIIgtiJLKc0bWmjO0FqLsGMo8iYNnhc1CI/xZLrdhRKxsDiDSbX3TYUlBDK+vGpnpF12ciwJ+Rg0oWaWgMh22/KoyZxRtj/SoVKE49YXTRpLOBJG4Au+WOO+Ii8CCJwYg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=btconnect.com; dmarc=pass action=none header.from=btconnect.com; dkim=pass header.d=btconnect.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btconnect.onmicrosoft.com; s=selector2-btconnect-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=brNKVP4OrIllS9H3tphiBJ3xXyTu9hnc7JtyGmqI+q8=; b=OsKtaHvjDeajyIBBj6iXVLSE/OOuO83WP7HZRbpBNGNujKt8cK1DPPfsZcS4SC0wQByvXZkQSi8FUZsd0RSfs51JQtnrRPNZSY7tZaihveOLibmMLOE+THuh1IyaKYXxN6oUl9eSuHU+Er9VVgGJfVBzzESrlLSy0U57mvdyoSw=
Received: from (2603:10a6:20b:134::11) by AM6PR07MB4504.eurprd07.prod.outlook.com (2603:10a6:20b:17::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3846.11; Mon, 22 Feb 2021 12:21:58 +0000
Received: from AM7PR07MB6248.eurprd07.prod.outlook.com ([fe80::8115:3afd:18f6:c6d1]) by AM7PR07MB6248.eurprd07.prod.outlook.com ([fe80::8115:3afd:18f6:c6d1%8]) with mapi id 15.20.3890.016; Mon, 22 Feb 2021 12:21:58 +0000
From: tom petch <ietfc@btconnect.com>
To: "julien.meuric@orange.com" <julien.meuric@orange.com>
CC: "pce@ietf.org" <pce@ietf.org>
Thread-Topic: [Pce] Early code point allocation for draft-ietf-pce-segment-routing-policy-cp
Thread-Index: AQHW+IirRGJXKi8IUEW654oYS4BxZapLDyEKgAEVUQCAECzl7oABgQiAgAGougCAAZtU4YADGfxF
Date: Mon, 22 Feb 2021 12:21:58 +0000
Message-ID: <AM7PR07MB6248F18354A31F0274860C9DA0819@AM7PR07MB6248.eurprd07.prod.outlook.com>
References: <557499ee-62df-102e-3da4-7fd386b7ff98@orange.com> <AM7PR07MB6248748F50E97F6EBBDC5623A0B19@AM7PR07MB6248.eurprd07.prod.outlook.com> <CAB75xn4-CVSiciw22MRMzW7QrBd2B-_w9q+NqROi=JXDCqHr2Q@mail.gmail.com> <AM7PR07MB62487FBAC51E63F4D6274B70A0869@AM7PR07MB6248.eurprd07.prod.outlook.com>, <14095_1613644507_602E42DB_14095_31_10_da0642af-1a00-9a5e-763b-f1edc6912fcb@orange.com>, <AM7PR07MB624894B38113F181F1B038D2A0849@AM7PR07MB6248.eurprd07.prod.outlook.com>, <VI1PR07MB6256E100AED2FCBC674C872EA0839@VI1PR07MB6256.eurprd07.prod.outlook.com>
In-Reply-To: <VI1PR07MB6256E100AED2FCBC674C872EA0839@VI1PR07MB6256.eurprd07.prod.outlook.com>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: orange.com; dkim=none (message not signed) header.d=none;orange.com; dmarc=none action=none header.from=btconnect.com;
x-originating-ip: [86.146.121.140]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 23d1a11c-abec-4d98-8c68-08d8d72c736d
x-ms-traffictypediagnostic: AM6PR07MB4504:
x-microsoft-antispam-prvs: <AM6PR07MB4504BBC5052379C1471418BCA0819@AM6PR07MB4504.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: P85z1q4JTPvbqefr6p+Lj3A6nKkMV0f/ae2MaWmHe/Z5cVpwjt+/oXzq1ZQbFExD/f/Z6FUyMUhr+Kqt/Hlge/L97c5zR2ys3rxp2gOEN7kEzogm/P1PgdTpW1WgT4uHNIkBKMsCYDDWnmVhxJ8vlLYwB/+/hRXWkMSDIWUc4V5yeOlmxFEI+jORstSPtIEiiMpnzHjO0HqCN0n5Xk6Oh5TIjv13fOLF2TW+pqa6g1H3oh2BUED5R4O6v7k7jAQMtfghdsGK1YWNkhwxtxLHRMJcEGF4SkztyJCcyrIhLdYr9qQnC6dGlsUSmOl+YkkTzQwF5AwD88FW/uJycWLdh+wGn9ENWl7Cr1RXV8Ph0Zel8EYyKw2vmHLwp3ehTAyC4kM56+7QNfNSNqF8BLJSUDT84qdCt0AEqekPZGYExbznlLqiaz5EHnzVUQWPB3BqG6ZrAV9gvmZPQVdhy5grCpp+kTcz0223Q4JS3op804NhSQc4CGznN7oUDH8lhvfICWUKvGM711LSg+AnviJCsLItHs8215Xc2XBm02AJLbLu8cHNcUY7myC23QEeTHGBV+/uGJxO+rIHaqjByfwMwUlTiU4rnnmn1jQpRNzVdc0=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM7PR07MB6248.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(396003)(136003)(346002)(366004)(376002)(39860400002)(316002)(33656002)(71200400001)(53546011)(9686003)(64756008)(86362001)(6916009)(52536014)(76116006)(186003)(66556008)(55016002)(66446008)(5660300002)(8936002)(26005)(8676002)(7696005)(2906002)(478600001)(66476007)(4326008)(66946007)(91956017)(966005)(83380400001)(6506007); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata: 12uMrXYWGt67WNcKeWM1PhGWJLZ3cJamWXJfENxVhsqY1YgnUqjxgNOQTZco6md9RDAKag8SqPA08of5KriSKExDdaUjQx6CqP+cacv+p6qs8FO2qTodztKAb9dAc/zJbpi0rcSw3uwtdZget9z1b519zxcSUi5jxlMrIxQJaxRasscYpjyVFs0EeTwhEcuQGDVvT9CPL8wBdLrFodSD8nJXk7tuTQN6WA0v31b5CAplK4SJGW49wN7qLHre8Zeu97d3Rt1VH8uRoHTP7qVaa03dOsmdNanoku/L+B1T4QgtoydwCly6zr7QOy4BBysFfDqiyqx12I4LkR75c/Tdzex2noVfPehxQLGPjQHZlbze1Q6xC5XkeSTCecYmxNM7tp8OdTrnNSEko6nAf01bU5jQyyHkxxEBg6ZxmzHKF5utY4Ib45hd570OMV8aOzcwTVZzdR1VxJPleNp5y2yQa+a5vjpIcuFI4Yv8d+j+9mfdEvjCOmj2WKGnoKMxAAhlrGLWyCqsYjauSJNNADYGA4ABdCcB4mreXHeYoidgfZxnvMSGTHmvIJYP1Rq1dfPt9zKjW+M04hg/6KwF66kSz1+hMRvK6ZpOz9T4y+Bee+XUpl2uHmZTrZMvQdHR4hd4f1phV9+fkiuWfpnN6f7/hCKTWWFv8yXptZM2QlYwlaWMUDtj/a6vd/ik7rVeDLjLQ3v10/xww15+b/bCYVIKGJk1tW4IFmGh6vMwkah4JajWhQMcy0vh2WkN/lOsJ6YLEKdFw9zKm0EEA5ZZ7Qnd12wyZc0K5+EzirAfoOrt5mQjOe8hXZKg3mj/ddCcSKjzy1x1mOA45DJ+Yp5sXoem+fxQQwlEB+Tst3oIxQEI2tcDqEARg8Qk7grNwCkon6FCtzEUm/+WOdIKBfgUPG1s4Y3yiRxmbRD5LBJgTepTmiWkfJYOnaGwTO1cfb1efMJo5k61uZ4wBhw0PbHByaL75rD6V23OFvPQeEoODQx6A0zqxtSBZi1eDOMW5sOrE6Qgb0Wyo8ZBPYuLdtIPPCFQdyLAU7mMbdrHZ6JC/CE4ydE61AaMVyMQqgNpTE5MLpQdHQ+aHcIxapzQ96fMPyBB6KYmeMyB9AnbRc3AQr3pBsbcDCmCjRSBoZRT8LwjAnLqPQvOEKPCjA2lR0gJXFxyWd21UJmVDTrEF1oObRyXIgfsQMw5EzsySvmD7rSaUqdeJyQrXHNb/vAjAbJ++e9U65ZyoUI3tHT03sahzqRty2adc60MFz+9ZtgqwtmV8goBHTh4K5HHDJFEHlPsSJPwiSQzMEqgmKdWCBngjn48OJ5f+b3wZw+tC7vUsuzLpKQk
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM7PR07MB6248.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 23d1a11c-abec-4d98-8c68-08d8d72c736d
X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Feb 2021 12:21:58.7529 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: cf8853ed-96e5-465b-9185-806bfe185e30
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: YeKLlBq4erc0RDAYixgOw48lLG4hggNshg1SWnyLYCN8HhTxAOJeHR6GFkzUB19eP9gG9aM/Yo8vyoBaxLYgow==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR07MB4504
Archived-At: <https://mailarchive.ietf.org/arch/msg/pce/hr2uVU6gkJv-c6FeTC0npJ8Yw-0>
Subject: Re: [Pce] Early code point allocation for draft-ietf-pce-segment-routing-policy-cp
X-BeenThere: pce@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Path Computation Element <pce.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/pce>, <mailto:pce-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/pce/>
List-Post: <mailto:pce@ietf.org>
List-Help: <mailto:pce-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/pce>, <mailto:pce-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 Feb 2021 12:22:06 -0000

From: Pce <pce-bounces@ietf.org> on behalf of tom petch <ietfc@btconnect.com>
Sent: 20 February 2021 12:33

From: Pce <pce-bounces@ietf.org> on behalf of tom petch <ietfc@btconnect.com>
Sent: 19 February 2021 12:30

From: julien.meuric@orange.com <julien.meuric@orange.com>
Sent: 18 February 2021 10:35

Hi Tom,

Thank you for your valuable feedback.

<tp>

The more I look, the less I like it.

This I-D asks for an error code for missing mandatory TLV, a category which PCE has defined  as Error-Type 6 and is referenced  by such as pce-vn-association.

Why does this I-D put missing mandatory TLV in a different Error-Type?

I will raise some more issues next week.

<tp2>
Next week and I like this I-D even less.

The I-D says repeatedly that only one instance of a particular TLV is allowed and others must be ignored.  Where the TLV is optional, this may make sense but where it is mandatory and forms part of the identifier then I think this wrong.  The sender is in effect saying I am confused about which association I am referring to (as indicated by including more than one).  That should be an error IMHO.

In passing I find the error messages poor.  I was looking at 
draft-ietf-pce-associated-bidirectional-lsp
and thinking how clear and easy to understand those error messages are, which I would not say of this I-D; the authors should look and learn.

A more significant problem is the identification of policy.  I assume that when this I-D talks of policy then it means SR policy.  (Sometimes it says so, sometimes it does not - needs fixing.)  This I-D says that a policy identifier consists of color, endpoint and optionally name.  

This raises a number of issues.  I raised earlier the point that an optional label as part of an identifier is a good candidate for erroneous implementations.  In fact it is more challenging than that.  The topic of optional keys came up in the development of YANG, were considered and rejected.  I forget the reasoning, whether they led to logical impossibilities or were too error-prone to implement or what, but they are not allowed.  So you cannot model in YANG anything with an optional key which is what this I-D seems to propose.

Separately, this I-D seems to contradict 
draft-ietf-spring-segment-routing-policy
which is clear that an SR policy is identified by the tuple <headend, color, endpoint> which is not what this I-D says (and which, in passing,  can be modelled in YANG).  Yes this PCE I-D mentions the context of headend but does not say where that should be inferred from to form the unique SR Policy identifier.

As you may infer, I do not see this I-D as fit for an early IANA allocation.

Tom Petch


Some of the issues you point out are easy to address and we've already
requested the authors to revise the I-D accordingly. To fully resolve
your concern, could you please point any other specific parts where you
feel you have to "interpret the words the way you think they should have
been"? If you even have some text to suggest, that could smoothly ease
the update.

<tp>
At a first glance,

s.7.1
RFC8697 names three  columns for the registry; those names do not appear here.

The new association type is given a different identifier in different places.  The preferred identifier needs to be nailed down since it is going into IANA forthwith and will be confusing to change thereafter.

s.7.2
This requests new error values  under Association Error  and specifies a Type of 29.  RFC8697 specifies a Type of 26 (29 is Path Computation Failure).

'Conflicting SRAG TLV' I find rather vague; conflicting with what?  Likewise 'Multiple SRPAG from one LSP'

s.7.3
This document defines five new TLVs
That is TBD3, TBD4, TBD11, TBD5 and ....

RFC8697 specifies the names of the fields in the registry,  Those names are not used here.

s.3.2
'as of the time of writing' will change its meaning as the I-D progresses; date needed

s.4.1
'is only meant to be used'
MUST NOT, SHOULD NOT, .....?

'Policy Identifiers uniquely identify..
Policy Identifiers consist of Color.. Endpoint, optionally the policy hame.
So if one is Color red, Endpoint NY no policy name
and then one is requested for
Color red, Endpoint NY, policy name standby
that is a different triplet and so valid.  Mmm. I can see that being mis-implemented

s.4.2

'is meant to strictly correspond'
MUST, SHOULD, ?

s.5
This document specifies four new TLVs...
These five TLVs .....

These five TLVs encode the Policy Identifiers, SR Policy name, Candidate path identifiers, candidate path name and Candidate path preference..
That is five TLV. Wrong! That is four TLV and something completely different.


When any of the mandatory TLVs
Only one TLV is listed as mandatory SRPOLICY-CPATH-ID.

s.5
At most only one .. can be carried
and then goes on to describe the carriage of  more than one;
'Only one ... SHOULD be present in a ... (whatever identifier you fix on) message.  If more than one is present, only the first is processed and subsequent ones are silently discarded.

A Normative Reference to an unadopted I-D that expires next week is not a good look:-)

Like I said, the word that came to my mind was 'sloppy':-(

Tom Petch

Thanks,

Dhruv & Julien


On 17/02/2021 12:46, tom petch wrote:
> <snip>
> <tp>
> I am sure that IANA will cope because they always do, but it will be by reading between the lines, applying intelligence to what the authors may have meant, and so on.  Editorially this is a poor I-D (as yet), and that quality verges on the technical aspects.
>
> Thus 7.3 says the I-D defines five new TLV and lists four; this also occurs in the body of the I-D.  A reader might also notice the absence of TBD2 and wonder.
>
> Or the new Association.  Thus needs an identifier.  Trouble is, the I-D uses (at least) three different ones; this looseness of terminology can lead to problems down the line.  (MPLS I see as a classic in how not to specify IANA registries and I see this heading the same way).
>
> Likewise the identifiers used in s.7 do not match those in current use, a good way of storing up future trouble.
>
> Is the specification adequate?  Only if you do not take it literally and interpret the words the way you think they should have been.
>
> Tom Petch
>


_______________________________________________
Pce mailing list
Pce@ietf.org
https://www.ietf.org/mailman/listinfo/pce

_______________________________________________
Pce mailing list
Pce@ietf.org
https://www.ietf.org/mailman/listinfo/pce