[Idr] Color-only bits in draft-ietf-idr-segment-routing-te-policy

John Scudder <jgs@juniper.net> Tue, 15 February 2022 21:01 UTC

Return-Path: <jgs@juniper.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 83C7E3A073E; Tue, 15 Feb 2022 13:01:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.675
X-Spam-Level:
X-Spam-Status: No, score=-7.675 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.576, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=juniper.net header.b=zmLA4H38; dkim=pass (1024-bit key) header.d=juniper.net header.b=HGmc+rFl
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 Tf7XsdIs2sho; Tue, 15 Feb 2022 13:01:42 -0800 (PST)
Received: from mx0b-00273201.pphosted.com (mx0b-00273201.pphosted.com [67.231.152.164]) (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 56C343A0736; Tue, 15 Feb 2022 13:01:37 -0800 (PST)
Received: from pps.filterd (m0108160.ppops.net [127.0.0.1]) by mx0b-00273201.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 21FC86n0008297; Tue, 15 Feb 2022 13:01:36 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h=from : to : subject : date : message-id : content-type : content-id : content-transfer-encoding : mime-version; s=PPS1017; bh=qXTaFYv7stPEWYK0/E4orwFbnr2cVUz6ASnNRvALm1k=; b=zmLA4H38hJOpnFN9EO5dEzH9T87389QsSII1gvEDtb6UvNPSKX9WtGXmvsXB2oTIR5c2 dV+qrG++qgRkmzbx8vpiNFk+yZeuEzWRvl57F44+7n4txpeGpwWHhnoYJQY2/OKVgjA6 gh5YCaCjheuq+TDriJZEvwYf1Adi/Kuc3u9/4unvQgkcPramgtuMqIs9YvCjNr5baDQ4 oXjAjQdl0nKHFM91aKF9VvNmab5oqbh2RERg67qcKyJlASLg+GXxGX8bho+gBeLbsr2g D8wQBSPZ48A0g3d1k/yW6dcm0+bSgnrVlabwhy9gvM0PiryYz/OWwgIuzxr679wukmku gA==
Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2047.outbound.protection.outlook.com [104.47.66.47]) by mx0b-00273201.pphosted.com (PPS) with ESMTPS id 3e8bws96qp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 15 Feb 2022 13:01:35 -0800
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ms3vgJUL09EIj2AWkg43wM8+JX7TkPAGqa0mcNoeDHYNgB4bBaxEOBBpoNKxSnK0txdkPWGtYQQOuM4+nWvSLBaDeCvWFTtx6uAq/sm/BuA+6WinI0ByAs2CtFyBTwY/gQmq81RLsYGSrKVt/99xgEXOhUZ7ebJecN7h6HrY1LuhXU2MyPlbx3twHtCO3AdavVlX8xDiUGCZJJrPSJhgyXgZx1O4KYpuowRHXYCCjmP+7V/qesmKRycnmLkt35ASArFRJlt2qUCQbCbJFkX2RNub8ITGpABNicJQdGn1e38Fs1W4f1b0qk5rBd+aSpCrugauveg6uNWn/8mSjhfLaA==
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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=qXTaFYv7stPEWYK0/E4orwFbnr2cVUz6ASnNRvALm1k=; b=TFE6wzevEt/ObCbkoPIYeawFiOxgWQtLcdOhlDhsYZHf3FkFzN1CA8QDNXSUZiS5LlL6Cg/nY58882UkfPtC3RvmY/V1kCQT5RGPun90jH27Z7ddYVjhnGA7uPWNjJK7mUuk8ntoOYxElBeGQGd5Y066OXJ6iz3F4tZyK67zLV00RBwTk6OSm9em46zDcrcu5e178GLbsQdJN61HH0g4FdpaXdgS/2h/fTr/T30ENovjuvt4m89EVcYrP66dhmwvSURfzBIqeBvJXXnAveL6aQv2+gXYFWvZMObWR1NY4cgLPrHK7H2pdOvyQODdOV90xgGHwCuZDpgf9EUBlHEqbA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qXTaFYv7stPEWYK0/E4orwFbnr2cVUz6ASnNRvALm1k=; b=HGmc+rFlkxHskgo9EX7IjMHL2ZuV66pnC/me7SrZd2rfbFoeoZxwKs+yO+57l2TeNBdR1w60aD4SFp7RoQPcPFx4wY9l6bLIpP0m+nXIYdPzH7cXAhguArLcuLuya9IGq0LlZbxKN8LAI2zaR3h4qB/8v8f/eoNx/rjAUtpqWCE=
Received: from MN2PR05MB6109.namprd05.prod.outlook.com (2603:10b6:208:c4::20) by PH0PR05MB7829.namprd05.prod.outlook.com (2603:10b6:510:48::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4975.5; Tue, 15 Feb 2022 21:01:33 +0000
Received: from MN2PR05MB6109.namprd05.prod.outlook.com ([fe80::1cf9:4765:c8df:81b7]) by MN2PR05MB6109.namprd05.prod.outlook.com ([fe80::1cf9:4765:c8df:81b7%5]) with mapi id 15.20.4995.015; Tue, 15 Feb 2022 21:01:33 +0000
From: John Scudder <jgs@juniper.net>
To: "draft-ietf-idr-segment-routing-te-policy@ietf.org" <draft-ietf-idr-segment-routing-te-policy@ietf.org>, "idr@ietf.org" <idr@ietf.org>
Thread-Topic: Color-only bits in draft-ietf-idr-segment-routing-te-policy
Thread-Index: AQHYIq82uBMvO2jbx0meq0tHP6wHQA==
Date: Tue, 15 Feb 2022 21:01:33 +0000
Message-ID: <939A4791-5A4A-4E7C-AB32-A09ABD3421B5@juniper.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-mailer: Apple Mail (2.3654.120.0.1.13)
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 78a4f12d-a452-4f25-ff4c-08d9f0c658c3
x-ms-traffictypediagnostic: PH0PR05MB7829:EE_
x-ms-exchange-atpmessageproperties: SA|SL
x-microsoft-antispam-prvs: <PH0PR05MB782947DB7677E37D147E3BD1AA349@PH0PR05MB7829.namprd05.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: MagnEI7pKWMP0EpWVicon3s4VRVaKdwRsNQQjAVJeR+22kyveSnBtyYzHeUduWJUvgdQHpS9QOPXUCYI3k8CgYc6yu8N0MC6fYOXvdEzdr9avjbrcG0NEOqbx1YdfG+gfqAJpiP6a88bTE1FjDQbJE4bql2f6rhkiOUKTQXbNp3Zm45es+uWeSrLBtNm/W2U4qVfIhFPW25NJ9Kv6khWwQUTs8oiUSXKdK1Wur9c+xfRTQcRKzqyVsSzocdDoSvL7PTmwHTCnVXff4njTwQ2VrIHgdezqQPyXXyVC7jQI0xOQuw0vvYcKHY7mEMEw2u7LsHMy4XqOOex37gzAmOGblaLyy6VHj9awboZnZLS+Up0XlWegatu6b+EzQtNEU6sp+kg7/5NvSIM7xZN8X2r4IuLn49NaEWiXFssmCwNXaEGTFftaJBGLhBoTjZhwg6BS4CLoBIHc/B0hrdkDpoNXPxEG6OW0TJrsYbhUmWyJEb5AWhQx9OJLo3iALJXZA3Z+7NY9rNhN0qDJKG+Uo2hDJsuo2i8W8ADKkfSNPHR+yor5TvMSNNHbnAOQ7zS+SBHTLUoCQHPG5ZYg7F6gUVe6lsrDjfdj4J6I2NTYaRWBs+loRsCpKkTc/S6eextOyBJidspUPMpEL8gJ9CiZ36hDVjJOoyVz1tj3Qfx6quKNziFX5op1fL7eBFuFoc7YJGypA0I/Rqaa9Dq9inz+ieABYwJ2ngen4L0ZeWeg+RyCzDJAxJIpxhmmNQngK7GL8RY
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR05MB6109.namprd05.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(83380400001)(66476007)(2906002)(6512007)(8676002)(36756003)(66446008)(38100700002)(6506007)(76116006)(66946007)(450100002)(122000001)(64756008)(91956017)(33656002)(66556008)(8936002)(110136005)(71200400001)(6486002)(316002)(2616005)(86362001)(38070700005)(186003)(26005)(508600001)(5660300002)(45980500001); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: 6hbrHNMiRMD+G3L+7I44mLmV/ty6Vg8cDuUr6wPtlEHzd2WoL/ry9kmQEMh/V3tTJYlazl2csxLuQJbf9Ha0bkMtIpXuKoBKsAaReOoxFXSUpqy3x+2o/lV/1/phXIwENqRHXy0iLcnExzBwh9RCRtpln60DNdYRWYi8xsPHU/G7PaNIKansUur8FmLapLpo7wlSdCFPwUk2DzfOy97Em65BK+1ih1s10vqnmNF7qAcrmAhZvZN3AvvVuikYMiupLJj5H22AhF2XCuPg95CK1ZH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soF9iBHokLV8j/+H5eQ1LrwlVqPyS+Kr1gCOIjC1OekfQMPA1mdRZBSXh5JLcqa9DTNoWQ+7VWpbgn8a/PNSgjJK5GX7+F/ebsO2xX0T73WkMXBwWNh40Jle4r/3RouKUVtALUg6OcTwHcHho1mQ3w0sz+BziBCRfDvyYnsBsLB1xMMzm0niYql9bt6jnPSvvUQiEszllHl/17fu7JjTiqikXVd8C0Fa5vNlA6TZUwmHWKpOuWyHxmG
Content-Type: text/plain; charset="utf-8"
Content-ID: <181B1AC21FB1984EA5B8F73C924A9117@namprd05.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: MN2PR05MB6109.namprd05.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 78a4f12d-a452-4f25-ff4c-08d9f0c658c3
X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Feb 2022 21:01:33.1816 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: 02LBf3UcRjw2LAhAThYP//j6XxYlK7+paLTTdlPUiZdNKQiuoaxf6iXixJUhfNd7
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR05MB7829
X-Proofpoint-ORIG-GUID: qXoItBnCTI3GOUjSz9KfjyXUYc4L9otC
X-Proofpoint-GUID: qXoItBnCTI3GOUjSz9KfjyXUYc4L9otC
X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.816,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-02-15_06,2022-02-14_04,2021-12-02_01
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 lowpriorityscore=0 mlxlogscore=879 phishscore=0 clxscore=1011 priorityscore=1501 impostorscore=0 bulkscore=0 mlxscore=0 adultscore=0 malwarescore=0 spamscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2201110000 definitions=main-2202150120
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/yCcZdStmTR-FLUYGHTsLLBv5aWo>
Subject: [Idr] Color-only bits in draft-ietf-idr-segment-routing-te-policy
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.29
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: Tue, 15 Feb 2022 21:01:49 -0000

Hi All,

I just noticed that draft-ietf-idr-segment-routing-te-policy allocates, but doesn’t define, the “‘Color-only’ bits” from the Color Extended Community Flags. I have a few comments about this —

- It’s quite unusual to do the allocation out of one document, but place the definition somewhere else, and in a document from a different WG no less. I can’t off-hand think of another IDR document that has done this. Unless there is a compelling reason not to provide the definition in-line, I think it should be provided here instead of referencing a different document.
- The so-called “bits” are no longer flags, they’re a two-bit integer. I mean, it’s not wrong to say they’re still “bits” but only in the technical sense that everything we deal with in computing is bits. The two bits aren’t orthogonal, so they aren’t flags, as the name "Color Extended Community Flags” implies. So, it would be more appropriate to call this the “Color-only field”. 
- The text in Section 3 qualifies the use of the bits with “[w]hen the Color Extended Community is used for the purpose of steering the traffic into an SR Policy”. But the IANA registry doesn’t have any way of saying that the bits are only registered for this particular purpose. So, I think that clause is at best meaningless, and at worst misleading.
- The lack of useful information in the IANA registration is unhelpful. Ideally, if the “bits” had actually been defined as flags, each flag would have been registered individually with a symbolic name that provided some hint about the semantics. Unfortunately I can’t think of anything more helpful to do than a rename, from "Color-only bits” to "Color-only field”. 

Suggested updates, to partly address the above points:

- In Section 3:

OLD:
   When the Color Extended Community is used for the purpose of steering
   the traffic into an SR Policy, two bits from the Flags field (as
   defined in [I-D.ietf-idr-tunnel-encaps]) are used as follows:
NEW:
   Two bits are taken from the Color Extended Community Flags field (as
   defined in [RFC9012]) and repurposed as a “Color-Only” field, as follows:

- In Section 3, provide definitions for values 0, 1, and 2 of the Color-Only field (what spring-segment-routing-policy refers to as 00, 01, and 10) and note that value 3 (binary 11) is reserved. Since you’re reserving a value, potentially create a new registry for this field, I guess. Descriptive symbolic names would be nice too. I appreciate that pragmatically, the detailed description provided in spring-segment-routing-policy probably has to remain there. Nonetheless at least a table of names and values should be in this document.

- In the IANA section, rename "Color-only bits” to "Color-only field”

Thanks,

—John