Re: [spring] draft-ietf-spring-segment-routing-policy

"Siva Sivabalan (msiva)" <msiva@cisco.com> Mon, 18 November 2019 01:07 UTC

Return-Path: <msiva@cisco.com>
X-Original-To: spring@ietfa.amsl.com
Delivered-To: spring@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1F36A12080E for <spring@ietfa.amsl.com>; Sun, 17 Nov 2019 17:07:02 -0800 (PST)
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, 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, 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 header.b=CMZRQ/Qc; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=adEOLsP4
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 5Yev16obDZ2T for <spring@ietfa.amsl.com>; Sun, 17 Nov 2019 17:06:58 -0800 (PST)
Received: from alln-iport-7.cisco.com (alln-iport-7.cisco.com [173.37.142.94]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E31E5120800 for <spring@ietf.org>; Sun, 17 Nov 2019 17:06:57 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=130138; q=dns/txt; s=iport; t=1574039217; x=1575248817; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=i0oFdVLjlyzJBkcxvYhzSrbQXP4mW08/ocwP+v3xbjY=; b=CMZRQ/Qce0KXy36XB4CjSlYxpdGg27ejot5VS7XBA9jfNBxMCIRqSNuV Zr/ZBSY2Lbbup5tXFdzSpqr33x8muUUpLHqr15CegHqM23JZf0C9KS5w6 wnx8Ykp9reM67onPa6AeIhNeV5kZezb/xScDQl49NZ33j1Omc3eG2idvN U=;
IronPort-PHdr: 9a23:NGhPrxHg+IKbuTVAbJ5G151GYnJ96bzpIg4Y7IYmgLtSc6Oluo7vJ1Hb+e4w3A3SRYuO7fVChqKWqK3mVWEaqbe5+HEZON0pNVcejNkO2QkpAcqLE0r+efvxbjIzNM9DT1RiuXq8NBsdFQ==
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CEAABp7dFd/5hdJa1bChkBAQEBAQEBAQEBAQEBAQEBAREBAQEBAQEBAQEBAYF+gRwvJCwFbFggBAsqCoQfg0YDinCCXpgAgUKBEANUCQEBAQwBASUIAgEBhEACF4IMJDgTAgMLAQEEAQEBAgEFBG2FNwyFUQEBAQEDEggBCAoTAQEqCgMBBAsCAQYCEQQBASEBBgMCAgIwFAkIAgQBDQUIGoMBgXlNAy4BDpEmkGQCgTiIYHWBMoJ+AQEFhH4YghcDBoE2jBUYgX+BEUaCTD6CYgEBAgGBKwEHCwEhFRYJgloygiyNBAgjKII8hUckiSKPDQqCKocajlCCPodojgeBZI5IiDiRUAIEAgQFAg4BAQWBaSJncXAVO4JsUBEUgjeOYwwXg1CFFIU/dAEBgSaLGYEiAYEOAQE
X-IronPort-AV: E=Sophos;i="5.68,318,1569283200"; d="scan'208,217";a="365490479"
Received: from rcdn-core-1.cisco.com ([173.37.93.152]) by alln-iport-7.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 18 Nov 2019 01:06:56 +0000
Received: from XCH-RCD-004.cisco.com (xch-rcd-004.cisco.com [173.37.102.14]) by rcdn-core-1.cisco.com (8.15.2/8.15.2) with ESMTPS id xAI16uPA014241 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Mon, 18 Nov 2019 01:06:56 GMT
Received: from xhs-rtp-001.cisco.com (64.101.210.228) by XCH-RCD-004.cisco.com (173.37.102.14) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Sun, 17 Nov 2019 19:06:55 -0600
Received: from xhs-rtp-002.cisco.com (64.101.210.229) by xhs-rtp-001.cisco.com (64.101.210.228) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Sun, 17 Nov 2019 20:06:54 -0500
Received: from NAM01-SN1-obe.outbound.protection.outlook.com (64.101.32.56) by xhs-rtp-002.cisco.com (64.101.210.229) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Sun, 17 Nov 2019 20:06:54 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TOxD5VlW0fWpHi+Cg8vAcHf35m5aa0/dnj37Ge9fi7XSZlmp7iVGEAOKjmVEMW84+8Tko470zN/LNYmVTxqiTFZhf9ZZQWuys3pZ4MdZLrb7QuwICanVsMrHaZcksmkgFGR4+hEu82DVAzyVEj//c98KRYXB6QosxhgXJp0poFw7uNL7PEEq3hUdRnKxNOEFcJt9edcczZ1ZTMH+Am3Omlc9aikBh/hpwn2i6Z32aTCGc99bOP+DsURYtLS3mCHkyhkBDFHz0p6wrpZyehrn/57YZ28zlWfwUF/EvL6BwvQ1zixjCSP/EWQ6ab0xTitpC7rvtBYTYXPJHhEVXsWJqQ==
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=i0oFdVLjlyzJBkcxvYhzSrbQXP4mW08/ocwP+v3xbjY=; b=nWkVcNnaAD3z8gpO0KQ9KzSxU/4b6ny2ZdCdJbW4YPqojHpTk6TY6n6LgwukP7lxEnpnB7Qnz81zP3PI/IQ6Zwh8aP3K/++h9DqoRAtx/V4E3cMxLR78hbM7O9GhI2ycqwfVq+lAEmVLboihpf5cbngre3CuAx7lT09JNHq29pVvdAvCep13/vqlT9EzxFYIeOIVYyMlFFE5Hb83a8W1ExGpV6taQDH0imK4T41BKl/ynhPnHUm+deMhUsHrvEQ1rmPgQUOU0OaTxMljBerv6NVl0Hz+hJeKKE/w3shLghIKOwMw+OkCUG71rsnbOxtff4incGXu97zGn+JcVB5kXA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=i0oFdVLjlyzJBkcxvYhzSrbQXP4mW08/ocwP+v3xbjY=; b=adEOLsP4Tu+HtgiGIHTlg2t/52CDduIYmEJ31YcHqucX/c5R+jywZyBlPk9RHbO43VwvsnZaW2p5TopeswZa66mcg2Kd6NdHZyfsxHF79YpaSnuHP6snV2VMoK80H522xRgbZ/lR/EaXkcUd6eN9z+Al/C3P6dGXC+FCRFK5feI=
Received: from BL0PR11MB3249.namprd11.prod.outlook.com (10.167.235.155) by BL0PR11MB3314.namprd11.prod.outlook.com (10.167.240.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2451.30; Mon, 18 Nov 2019 01:06:53 +0000
Received: from BL0PR11MB3249.namprd11.prod.outlook.com ([fe80::39bb:da17:6336:dfed]) by BL0PR11MB3249.namprd11.prod.outlook.com ([fe80::39bb:da17:6336:dfed%5]) with mapi id 15.20.2451.029; Mon, 18 Nov 2019 01:06:52 +0000
From: "Siva Sivabalan (msiva)" <msiva@cisco.com>
To: "bruno.decraene@orange.com" <bruno.decraene@orange.com>, "Ketan Talaulikar (ketant)" <ketant@cisco.com>
CC: SPRING WG List <spring@ietf.org>, "Richard Vallee (rvallee)" <rvallee@cisco.com>
Thread-Topic: draft-ietf-spring-segment-routing-policy
Thread-Index: AdVIa5SmJroPUcCZR8q84NofG0DylwAap4eAClUZXxAEOkCQEAAIvrDwAF7CAUAAER9IMAAD28vAAC7KNVAAAP9T8ADvG1jQABhxMSAENw5cMAAFsc0gALV9gIA=
Date: Mon, 18 Nov 2019 01:06:52 +0000
Message-ID: <BL0PR11MB324917D4C2C85D4724A721BFA04D0@BL0PR11MB3249.namprd11.prod.outlook.com>
References: <18897_1564666804_5D42EBB4_18897_192_1_53C29892C857584299CBF5D05346208A48BCF785@OPEXCAUBM43.corporate.adroot.infra.ftgroup> <BYAPR11MB355899A67FBFBE1750E9A3A6C1D90@BYAPR11MB3558.namprd11.prod.outlook.com> <29418_1569256656_5D88F4D0_29418_238_1_53C29892C857584299CBF5D05346208A48C1A5D2@OPEXCAUBM43.corporate.adroot.infra.ftgroup> <MWHPR11MB1552147332CA921F6E5BC795C1930@MWHPR11MB1552.namprd11.prod.outlook.com> <6606_1571130975_5DA58E5F_6606_165_1_53C29892C857584299CBF5D05346208A48C53096@OPEXCAUBM43.corporate.adroot.infra.ftgroup> <CY4PR11MB15414289322C17B5184195A9C16D0@CY4PR11MB1541.namprd11.prod.outlook.com> <17025_1571324044_5DA8808C_17025_479_8_53C29892C857584299CBF5D05346208A48C57362@OPEXCAUBM43.corporate.adroot.infra.ftgroup> <CY4PR11MB1541F8B8233FD1CD575678A3C16D0@CY4PR11MB1541.namprd11.prod.outlook.com> <11098_1571409600_5DA9CEC0_11098_346_11_53C29892C857584299CBF5D05346208A48C5A385@OPEXCAUBM43.corporate.adroot.infra.ftgroup> <CY4PR11MB1541C496BA0A6D0D745006FCC16C0@CY4PR11MB1541.namprd11.prod.outlook.com> <18821_1571821951_5DB0197F_18821_484_1_53C29892C857584299CBF5D05346208A48C6108B@OPEXCAUBM43.corporate.adroot.infra.ftgroup> <22804_1571863807_5DB0BCFF_22804_387_1_53C29892C857584299CBF5D05346208A48C62C2A@OPEXCAUBM43.corporate.adroot.infra.ftgroup> <CY4PR11MB154181B84D9D90CE07009E5AC1710@CY4PR11MB1541.namprd11.prod.outlook.com> <31828_1573727313_5DCD2C51_31828_444_2_53C29892C857584299CBF5D05346208A48CF71AF@OPEXCAUBM43.corporate.adroot.infra.ftgroup>
In-Reply-To: <31828_1573727313_5DCD2C51_31828_444_2_53C29892C857584299CBF5D05346208A48CF71AF@OPEXCAUBM43.corporate.adroot.infra.ftgroup>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=msiva@cisco.com;
x-originating-ip: [173.38.117.91]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 05061939-21db-4ce0-4105-08d76bc39922
x-ms-traffictypediagnostic: BL0PR11MB3314:
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <BL0PR11MB3314DC49011B2EDAA810AA9CA04D0@BL0PR11MB3314.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:6790;
x-forefront-prvs: 0225B0D5BC
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(136003)(39860400002)(366004)(396003)(51914003)(55674003)(199004)(189003)(6436002)(8676002)(25786009)(52536014)(14454004)(9686003)(7736002)(74316002)(236005)(81156014)(54906003)(2501003)(6246003)(54896002)(81166006)(71200400001)(71190400001)(99286004)(229853002)(66066001)(30864003)(110136005)(606006)(33656002)(5024004)(14444005)(256004)(5660300002)(66946007)(66446008)(66476007)(186003)(8936002)(76116006)(26005)(3846002)(790700001)(478600001)(55016002)(6306002)(476003)(446003)(6636002)(11346002)(486006)(64756008)(6116002)(4326008)(107886003)(316002)(7696005)(86362001)(76176011)(53546011)(2906002)(966005)(102836004)(66556008)(6506007)(579004)(569006); DIR:OUT; SFP:1101; SCL:1; SRVR:BL0PR11MB3314; H:BL0PR11MB3249.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: cisco.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 9inM4ozWA4zpHcnAPlbk2FO0+/5ZKhqUWfwZk7kCowiF8SKVL+54+YojQoR4PaFddVVVot2T0gWrQANqdKpyPCxB7x24FGDx0xGX2UYFCnncKZ6WYtxFZv3sdDYtTN7eqqVzwv3gd01N1IOGtW26juXJpFmkdQsQGbDFKf7ikpILChgBemVHuHYf3Ex7xEtkGQlQDAcKJwIjNHdUm5BU3p31aTdwR3//GsphBPUqD0r19hu2uIBBOvOv09wH9k3dnQdx0Dn21lkSYV3WjTuXPQCvE6Loryb/QtCg7vzSB3weiO0mYsgKrSE5+fA15kN4CxbOFye7Yvfl3Yt3vf+Sc7isvmlJ0g4CRUOZauV51bMNfjo7b+bDBYGA0Rl1G3qMSPpC8+6l0LS8H6rZgMUHcDu0+SIFD1mZ0ai1k8S4qF0Gz+PHgesflK9FvsLpxXy+
Content-Type: multipart/alternative; boundary="_000_BL0PR11MB324917D4C2C85D4724A721BFA04D0BL0PR11MB3249namp_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 05061939-21db-4ce0-4105-08d76bc39922
X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Nov 2019 01:06:52.5959 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: iHh6sq2z0Eo2GUoZmfu0hEeijNkPRhmrc0XHGDDbFA5JASqKNIlBmGhGSvWaS/wB
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR11MB3314
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.14, xch-rcd-004.cisco.com
X-Outbound-Node: rcdn-core-1.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/DrX9i5dsRAQ4EQcAIbWRnGQ35dI>
Subject: Re: [spring] draft-ietf-spring-segment-routing-policy
X-BeenThere: spring@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Source Packet Routing in NetworkinG \(SPRING\)" <spring.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/spring>, <mailto:spring-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/spring/>
List-Post: <mailto:spring@ietf.org>
List-Help: <mailto:spring-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/spring>, <mailto:spring-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 18 Nov 2019 01:07:02 -0000

SPRING-WG:

Posted a new version (05) of “draft-ietf-spring-segment-routing-policy” draft addressing the agreed upon changes.

Thanks,
Siva

From: bruno.decraene@orange.com <bruno.decraene@orange.com>
Sent: Thursday, November 14, 2019 5:29 AM
To: Ketan Talaulikar (ketant) <ketant@cisco.com>
Cc: SPRING WG List <spring@ietf.org>
Subject: RE: draft-ietf-spring-segment-routing-policy

Hi Ketan,

Ok, works for me.
Thanks having looked at the point and for proposing a resolution.

--Bruno

From: Ketan Talaulikar (ketant) [mailto:ketant@cisco.com]
Sent: Thursday, November 14, 2019 8:46 AM
To: DECRAENE Bruno TGI/OLN
Cc: SPRING WG List
Subject: RE: draft-ietf-spring-segment-routing-policy

Hi Bruno,

As discussed offline, I will propose some text to the authors of draft-ietf-spring-segment-routing for introducing a request to IANA for the Segment Type registry. We can go with alphabetical instead of numeric values so as to avoid mix-up/confusion with the individual protocol code-points.

The SR Policy Yang model can then refer to these alphabetical values along with their description.

Thanks,
Ketan

From: bruno.decraene@orange.com<mailto:bruno.decraene@orange.com> <bruno.decraene@orange.com<mailto:bruno.decraene@orange.com>>
Sent: 24 October 2019 02:20
To: Ketan Talaulikar (ketant) <ketant@cisco.com<mailto:ketant@cisco.com>>
Cc: SPRING WG List <spring@ietf.org<mailto:spring@ietf.org>>
Subject: RE: draft-ietf-spring-segment-routing-policy

Hi Ketan,



·        With regards to registry creation, I’m double checking with IANA.

IANA would be fine with creating a registry, including for numbers not advertised in routing/signaling protocols.

--Bruno

From: spring [mailto:spring-bounces@ietf.org] On Behalf Of bruno.decraene@orange.com<mailto:bruno.decraene@orange.com>
Sent: Wednesday, October 23, 2019 11:13 AM
To: Ketan Talaulikar (ketant)
Cc: SPRING WG List
Subject: Re: [spring] draft-ietf-spring-segment-routing-policy

Hi Ketan,

With regards to registry creation, I’m double checking with IANA.
In the meantime, could you check whether you need Type _numbers_? It originally made sense to me, but if you are not convinced and if the only reason is the YANG module(s), then may be using short names would be easier for human users.

Thanks,
Regards,
--Bruno

From: Ketan Talaulikar (ketant) [mailto:ketant@cisco.com]
Sent: Friday, October 18, 2019 5:06 PM
To: DECRAENE Bruno TGI/OLN
Cc: SPRING WG List
Subject: RE: draft-ietf-spring-segment-routing-policy

< BCC – IDR alias since the drafts under discussions are Spring documents >

Hi Bruno,

Is it possible to check if we can create an IANA registry and use for the purpose for referencing segment types? I may be wrong about IANA managing only protocol codepoints.

Thanks,
Ketan

From: bruno.decraene@orange.com<mailto:bruno.decraene@orange.com> <bruno.decraene@orange.com<mailto:bruno.decraene@orange.com>>
Sent: 18 October 2019 20:10
To: Ketan Talaulikar (ketant) <ketant@cisco.com<mailto:ketant@cisco.com>>
Cc: idr wg <idr@ietf.org<mailto:idr@ietf.org>>; SPRING WG List <spring@ietf.org<mailto:spring@ietf.org>>
Subject: RE: draft-ietf-spring-segment-routing-policy

Hi Ketan

From: Ketan Talaulikar (ketant) [mailto:ketant@cisco.com]
Sent: Thursday, October 17, 2019 7:49 PM
To: DECRAENE Bruno TGI/OLN
Cc: idr wg; SPRING WG List
Subject: RE: draft-ietf-spring-segment-routing-policy

Hi Bruno,

I now understand your point with the two draft references you have provided. I do believe we need to ensure that the “Types” in [1] are managed in a way that future values are kept consistent across drafts/areas.

It might be too late for the codepoints in draft-ietf-idr-segment-routing-te-policy since we have implementations and deployments, but we can ensure for everything else.

Would you suggest we get create a registry with IANA for this via draft-ietf-spring-segment-routing-policy? Or is there some other way?
[Bruno] I’m not aware of other ways. I was suggesting to create an IANA registry, but your comment that this is restricted for protocol code points make me doubt.
               There is also the option of removing the Type numbers if you think that they are not that useful. That would remove the problem. Possibly with using shorter names for them (e.g, MPLS label, IPv6 SID, …)

At this point, the subject looks restricted to SPRING, so possibly we could stop copying IDR.

Thanks,
--Bruno

Thanks,
Ketan

From: bruno.decraene@orange.com<mailto:bruno.decraene@orange.com> <bruno.decraene@orange.com<mailto:bruno.decraene@orange.com>>
Sent: 17 October 2019 20:24
To: Ketan Talaulikar (ketant) <ketant@cisco.com<mailto:ketant@cisco.com>>
Cc: idr wg <idr@ietf.org<mailto:idr@ietf.org>>; SPRING WG List <spring@ietf.org<mailto:spring@ietf.org>>
Subject: RE: draft-ietf-spring-segment-routing-policy

Hi Ketan,

My point was not related to the alignment of code points but to the fact that there is no provision taken to guarantee that in the future “Types” defined in [1] be unique/(a unique idenfitier).
This type may eventually be used in protocol, e.g. yang model [2], in which case collision would be an issue.

But if a collision of such SID types, as defined in [1], is acceptable for you, let it be. In which case, possibly [2] should use the names rather than the number (e.g. “SR-MPLS Label” rather than “segment-type-1”)

[1] https://tools.ietf.org/html/draft-ietf-spring-segment-routing-policy-03#section-4
[2] https://tools.ietf.org/html/draft-raza-spring-sr-policy-yang-01#section-4.2.1


--Bruno




From: Ketan Talaulikar (ketant) [mailto:ketant@cisco.com]
Sent: Thursday, October 17, 2019 8:27 AM
To: DECRAENE Bruno TGI/OLN
Cc: idr wg; SPRING WG List
Subject: RE: draft-ietf-spring-segment-routing-policy

Hi Bruno,

A codepoint is a number that is allocated by IANA and sent over the wire as part of a protocol encoding. It is protocol/registry specific. E.g. we can have the same Segment Type signalled by codepoint “9” in  https://tools.ietf.org/html/draft-ietf-idr-te-lsp-distribution-12#section-9.7 while it is signalled by codepoint “10” in https://tools.ietf.org/html/draft-ietf-idr-segment-routing-te-policy-07#section-8.4 – there is no issue functionally. It would be nice to have those aligned across the two since they have semantic similarity but it is not necessary.

A reference is just that – a short form instead of using a long descriptive name. So a segment of “Type 9” that is referred in https://tools.ietf.org/html/draft-ietf-spring-segment-routing-policy-03#section-4 is what is signalled using codepoint 9 in BGP-LS while using codepoint 10 for SRTE. You will see places in the draft-ietf-spring-segment-routing-policy where these “types” are referred to – e.g. https://tools.ietf.org/html/draft-ietf-spring-segment-routing-policy-03#section-5.1.

Ideally, it would have been great to have the reference and codepoints (across registries) aligned – but it is not necessary.

In summary, besides the correction needed in draft-ietf-idr-segment-routing-te-policy in section 2.4.3.2 (and it’s sub-sections) as described in my email below, I do not see any issue here.

If you think we need some text changes to improve this clarity in any draft, please do suggest.

Thanks,
Ketan

From: bruno.decraene@orange.com<mailto:bruno.decraene@orange.com> <bruno.decraene@orange.com<mailto:bruno.decraene@orange.com>>
Sent: 15 October 2019 14:46
To: Ketan Talaulikar (ketant) <ketant@cisco.com<mailto:ketant@cisco.com>>
Cc: idr wg <idr@ietf.org<mailto:idr@ietf.org>>; SPRING WG List <spring@ietf.org<mailto:spring@ietf.org>>
Subject: RE: draft-ietf-spring-segment-routing-policy

Hi Keta,

Please check inline [Bruno2]

From: Ketan Talaulikar (ketant) [mailto:ketant@cisco.com]
Sent: Tuesday, October 15, 2019 6:56 AM
To: DECRAENE Bruno TGI/OLN; SPRING WG List
Cc: idr wg
Subject: RE: draft-ietf-spring-segment-routing-policy

Hi Bruno,

Please check inline below.

From: bruno.decraene@orange.com<mailto:bruno.decraene@orange.com> <bruno.decraene@orange.com<mailto:bruno.decraene@orange.com>>
Sent: 23 September 2019 22:08
To: Ketan Talaulikar (ketant) <ketant@cisco.com<mailto:ketant@cisco.com>>; SPRING WG List <spring@ietf.org<mailto:spring@ietf.org>>
Cc: idr wg <idr@ietf.org<mailto:idr@ietf.org>>
Subject: RE: draft-ietf-spring-segment-routing-policy

Hi Ketan,

Thanks for the complete answer. And sorry for my delay in responding.
More inline [Bruno]

From: Ketan Talaulikar (ketant) [mailto:ketant@cisco.com]
Sent: Friday, August 2, 2019 4:37 AM
To: DECRAENE Bruno TGI/OLN; SPRING WG List
Cc: idr wg
Subject: RE: draft-ietf-spring-segment-routing-policy

+ IDR WG since some of the affected documents are IDR WG drafts

Hi Bruno,

I agree that the draft-ietf-spring-segment-routing-policy [1] is the right place to normatively define the different segment types and perhaps would have been the right document to create an IANA registry for them.

I also agree that the draft-ietf-idr-segment-routing-te-policy [2] has a discrepancy between its IANA section 8.4 for the Segment-List sub-TLV space and section 2.4.3.2 (and it’s sub-sections) where the different Segment Types have been defined. I will request the authors of this draft to fix the text in section 2.4.3.2 (and it’s sub-sections) for the types 8 and above to adjust for the codepoint 9 allocated for the weight sub-TLV.

At this point, given the implementations available and already deployed for [2], I doubt if we can correct and map the segment types in that draft to what has been defined in [1].

There is also the https://tools.ietf.org/html/draft-ietf-idr-te-lsp-distribution-11#section-9.7 which creates the Segment Types IANA registry (aligned with [1]).

[Bruno] This IANA registry seems BGP-LS specific. (sub-registry under "Border Gateway Protocol - Link State (BGP-LS) Parameters")
On a side note,

>  “The registry contains the following codepoints (suggested values, to be assigned by IANA)”
Since you define a new registry, you can populate initial allocations at your own will. IOW :s/(suggested values, to be assigned by IANA)”/
[KT] Thanks. Fixed it in the version just posted.



And then I am not sure if draft-raza-spring-sr-policy-yang is able to benefit/leverage the IANA registry from [1].

So unless we can have the IANA registry created via [1] being consistently used in all dependent documents, I do not see much gain in setting up the Segment Type registry under IANA at this point.
[Bruno] Make sense, but brings three clarification questions:
Is there a need for draft-ietf-spring-segment-routing-policy to define numbers for the segment types (or is the name enough)?
[KT] The names are long and descriptive (as you can see) and hence the numbers allow for easy reference through the rest of the document.
[Bruno2] I’m fine with a number. But if the numbers are to be used as a useful reference, it looks like a number must only reference one type of segment.

IOW, if someone reference: Type 2: SRv6 SID: while someone else use the same number for a different reference: Type 2: SR-MPLS Label. then Type 2 doesn’t seem like a useful reference anymore.

  If yes, do we need such numbers of be unique (avoid collisions)?
[KT] The numbers in draft-ietf-spring-segment-routing-policy are not code-points today and just reference numbers. So there is no concept of collision with the code-points defined in other registries? Would it help if draft-ietf-spring-segment-routing-policy were to refer to segment types as A,B,C so as to avoid this confusion? 😊
[Bruno2] no, that would not help in any way.
I’m not sure what the difference you make between a code point and a reference. Is the former to be used by computer and the latter by humans? If so, don’t you think that human also deserve unambiguous reference?

     If yes, how do you propose to avoid code point collisions in the future? (Or do you assume that there won’t be future ones?)
[KT] I would not rule out future segment types.

 [Bruno2] That seem to answer the second question in brackets, but not the main one.

Let’s take an example: would you be fine with a document defining Type 2: SRv6+ SID: ?

        If so, what’s the purpose of a reference (type 2) which does not uniquely identify something?

If not, how do you propose to avoid collision between reference numbers?



Taking another example, lets reference “coffee” as type 2 and “tea” as type 2. Could you please bring me a cup of type 2?



Thanks,

--Bruno






Thanks,
Ketan

Thanks,
Bruno




Thanks,
Ketan

From: spring <spring-bounces@ietf.org<mailto:spring-bounces@ietf.org>> On Behalf Of bruno.decraene@orange.com<mailto:bruno.decraene@orange.com>
Sent: 01 August 2019 19:10
To: SPRING WG List <spring@ietf.org<mailto:spring@ietf.org>>
Subject: [spring] draft-ietf-spring-segment-routing-policy

Hi authors,

Speaking as individual contributor.

This document seems to define multiple types of segments (1 to 11).
May be this document would be the right place to define them normatively and creates the IANA registry for them. And this seems like a work for spring.
Otherwise, there is a risk that other documents redefine them, possibly in a non-consistent manner. (1) E.g.  the BGP draft is not using the same type numbers/name, which may bring confusion. I would expect YANG models to also need these types.
BTW is there any chance to align the types in the BGP document or is this too late? (alternatively may be changing the types in the sr-policy document)

Thanks,
Regards,
Bruno

(1)
SR-policy:

   Type 1: SR-MPLS Label:

   Type 2: SRv6 SID:

   Type 3: IPv4 Prefix with optional SR Algorithm:

   Type 4: IPv6 Global Prefix with optional SR Algorithm for SR-MPLS:

   Type 5: IPv4 Prefix with Local Interface ID:

   Type 6: IPv4 Addresses for link endpoints as Local, Remote pair:

   Type 7: IPv6 Prefix and Interface ID for link endpoints as Local, Remote pair for SR-MPLS:

   Type 8: IPv6 Addresses for link endpoints as Local, Remote pair for SR-MPLS:

   Type 9: IPv6 Global Prefix with optional SR Algorithm for SRv6:

   Type 10: IPv6 Prefix and Interface ID for link endpoints as Local, Remote pair for SRv6:

   Type 11: IPv6 Addresses for link endpoints as Local, Remote pair for SRv6:


BGP:
   1     MPLS SID sub-TLV                            This document
   2     SRv6 SID sub-TLV                            This document
   3     IPv4 Node and SID sub-TLV                   This document
   4     IPv6 Node and SID for SR-MPLS sub-TLV       This document
   5     IPv4 Node, index and SID sub-TLV            This document
   6     IPv4 Local/Remote addresses and SID sub-TLV This document
   7     IPv6 Node, index for remote and local pair  This document
         and SID for SR-MPLS sub-TLV
   8     IPv6 Local/Remote addresses and SID sub-TLV This document
   9     Weight sub-TLV                              This document
   10    IPv6 Node and SID for SRv6 sub-TLV          This document
   11    IPv6 Node, index for remote and local pair  This document
         and SID for SRv6 sub-TLV
   12    IPv6 Local/Remote addresses and SID for     This document
         SRv6 sub-TLV


_________________________________________________________________________________________________________________________



Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc

pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler

a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,

Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.



This message and its attachments may contain confidential or privileged information that may be protected by law;

they should not be distributed, used or copied without authorisation.

If you have received this email in error, please notify the sender and delete this message and its attachments.

As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.

Thank you.

_________________________________________________________________________________________________________________________



Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc

pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler

a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,

Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.



This message and its attachments may contain confidential or privileged information that may be protected by law;

they should not be distributed, used or copied without authorisation.

If you have received this email in error, please notify the sender and delete this message and its attachments.

As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.

Thank you.

_________________________________________________________________________________________________________________________



Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc

pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler

a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,

Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.



This message and its attachments may contain confidential or privileged information that may be protected by law;

they should not be distributed, used or copied without authorisation.

If you have received this email in error, please notify the sender and delete this message and its attachments.

As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.

Thank you.

_________________________________________________________________________________________________________________________



Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc

pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler

a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,

Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.



This message and its attachments may contain confidential or privileged information that may be protected by law;

they should not be distributed, used or copied without authorisation.

If you have received this email in error, please notify the sender and delete this message and its attachments.

As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.

Thank you.

_________________________________________________________________________________________________________________________



Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc

pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler

a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,

Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.



This message and its attachments may contain confidential or privileged information that may be protected by law;

they should not be distributed, used or copied without authorisation.

If you have received this email in error, please notify the sender and delete this message and its attachments.

As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.

Thank you.

_________________________________________________________________________________________________________________________



Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc

pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler

a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,

Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.



This message and its attachments may contain confidential or privileged information that may be protected by law;

they should not be distributed, used or copied without authorisation.

If you have received this email in error, please notify the sender and delete this message and its attachments.

As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.

Thank you.

_________________________________________________________________________________________________________________________



Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc

pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler

a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,

Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.



This message and its attachments may contain confidential or privileged information that may be protected by law;

they should not be distributed, used or copied without authorisation.

If you have received this email in error, please notify the sender and delete this message and its attachments.

As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.

Thank you.

_________________________________________________________________________________________________________________________



Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc

pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler

a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,

Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.



This message and its attachments may contain confidential or privileged information that may be protected by law;

they should not be distributed, used or copied without authorisation.

If you have received this email in error, please notify the sender and delete this message and its attachments.

As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.

Thank you.