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

"Ketan Talaulikar (ketant)" <ketant@cisco.com> Tue, 15 October 2019 04:56 UTC

Return-Path: <ketant@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 55A56120018; Mon, 14 Oct 2019 21:56:11 -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, 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=gvdnbyYq; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=ETPVjCAt
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 Afc0y6K-d5Ve; Mon, 14 Oct 2019 21:56:07 -0700 (PDT)
Received: from alln-iport-5.cisco.com (alln-iport-5.cisco.com [173.37.142.92]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3980C120013; Mon, 14 Oct 2019 21:56:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=51304; q=dns/txt; s=iport; t=1571115367; x=1572324967; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=PFafpjIXmnZXp1o0BIzFzzPklZrf54Lyj3U9+3FMQ3U=; b=gvdnbyYq2aGnlLjDC4MR3YxiIiFN4IXTaG7sdiHyfIs6q1kyr3Df9jV6 vuQYT7ESjujZw+4VA+hWevL/IHg1pbKWmGE5PgATnlYkK5I2a2vo3c9dI jxWr59unpqYrL4k+ZHnX45A7mRb8uJ9ufFE6XDyoBz0xFWqLH0ehKQWL1 o=;
IronPort-PHdr: 9a23:OjXN6Re+/CvdxxssArDqDuXLlGMj4e+mNxMJ6pchl7NFe7ii+JKnJkHE+PFxlwKYD57D5adCjOzb++D7VGoM7IzJkUhKcYcEFnpnwd4TgxRmBceEDUPhK/u/bCEmFcJefFRk5Hq8d0NSHZW2ag==
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CEAAB1UKVd/4QNJK1mGQEBAQEBAQEBAQEBAQEBAQEBEQEBAQEBAQEBAQEBgXuBHC8kLAVsVyAECyqEJYNHA4pKglyXfoFCgRADVAkBAQEMAQElCAIBAYRAAheCSiQ4EwIDCQEBBAEBAQIBBQRthS0MhUsBAQEBAxIRChMBASoKAwEPAgEGAhEEAQEeAwEGAwICAjAUCQgBAQQBDQUIGoMBgXlNAy4BDpMKkGICgTiIYXWBMoJ9AQEFhQoYghcDBoE0jA4YgUA/gRFGgkw+gmEBAQIBgSsBEgEhKwmCWDKCLIxmCEuCN4U3JIkKjnMKgiKHCI4sgjqHTo1ZgV+OLogjkRYCBAIEBQIOAQEFgWkiZ3FwFTuCbFAQFIFPDBeDUIUUhT90AYEojQKCRQEB
X-IronPort-AV: E=Sophos;i="5.67,297,1566864000"; d="scan'208,217";a="349736764"
Received: from alln-core-10.cisco.com ([173.36.13.132]) by alln-iport-5.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 15 Oct 2019 04:56:05 +0000
Received: from XCH-ALN-005.cisco.com (xch-aln-005.cisco.com [173.36.7.15]) by alln-core-10.cisco.com (8.15.2/8.15.2) with ESMTPS id x9F4u4Hb005320 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Tue, 15 Oct 2019 04:56:05 GMT
Received: from xhs-aln-001.cisco.com (173.37.135.118) by XCH-ALN-005.cisco.com (173.36.7.15) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 14 Oct 2019 23:56:03 -0500
Received: from xhs-aln-001.cisco.com (173.37.135.118) by xhs-aln-001.cisco.com (173.37.135.118) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 14 Oct 2019 23:56:02 -0500
Received: from NAM05-CO1-obe.outbound.protection.outlook.com (173.37.151.57) by xhs-aln-001.cisco.com (173.37.135.118) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Mon, 14 Oct 2019 23:56:02 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QW6aCNTG5oPwYU1RXmd2sI3vPwUVO3Tn2ZlliJ70JcjtdPYH22qPgZaUwzvVL1vvB/twdD1p+MqtqMO/8xv98MXQ/tki6fsyjEp2GPXXPFStDjspVgE5tXmXXEMI7GfdEhzc+08vdfuWKLVpDXCyhaqsb2ur4gPvACS6u9P2pbFR15Rb/zCzS0owVINdpBKJsHhSscpAyWThJQoI0e2y2U/pfl6t8nLJ0htgxfazBHSlw/NsIk8i5cqyA5wFniPi1MxI/owN09clfdidUbuopT1e9uHtJowJT3M36wCuPTnTnSuLfg5N0ALpVn1NLiLMbPeemcKnSP38IqNgc+L9CA==
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=PFafpjIXmnZXp1o0BIzFzzPklZrf54Lyj3U9+3FMQ3U=; b=Y2PCAYQfd6n3+8/cgvXRz3aVLG2jqr/0ZICIO4wvZ/wVuks7ntqP/bDuiIm3xofyVAW4dFpbI2tmPDQuNLz7zfHxm1zsRSw1VfyVgbMVUoS9nlU35VNcct25YOT4ILCpxQBrXqTk1mH/SXk6TyRRsZAx2V24HES/LTujnolaSGRjd1vde5C3npI8wH6pERAvmpQwWNWaubdWu+feZ7Mvll2wux2mAvocbBoiho+x1N+S19MTliJ9y6HlNfA4HgMbEdmFtsKGugZGQJ0bnqOoR0J1HN0LuWJd80TNuqb0oLyyWhA/4owhdmaw5W3nx64R/CrA3u+IIMaVXEXIBWMmow==
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=PFafpjIXmnZXp1o0BIzFzzPklZrf54Lyj3U9+3FMQ3U=; b=ETPVjCAt+rp+TJNua20HhhgXYUWuggzcV9lQGF7zc8o2EbWPnBr33s1GjVrIAQOkONjQNW6S1NPn6X8eNLCGEz/j9M1ok6eo15LJtqmB19U/XreBmVid0IRLMUpw/MZQDW7Iz/LdwIduFnkRE4Uk1Eb1yzW65AfcEVX4cR56szg=
Received: from MWHPR11MB1552.namprd11.prod.outlook.com (10.172.55.18) by MWHPR11MB1262.namprd11.prod.outlook.com (10.169.236.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2347.17; Tue, 15 Oct 2019 04:56:01 +0000
Received: from MWHPR11MB1552.namprd11.prod.outlook.com ([fe80::a058:e9de:2505:f5e]) by MWHPR11MB1552.namprd11.prod.outlook.com ([fe80::a058:e9de:2505:f5e%7]) with mapi id 15.20.2347.023; Tue, 15 Oct 2019 04:56:01 +0000
From: "Ketan Talaulikar (ketant)" <ketant@cisco.com>
To: "bruno.decraene@orange.com" <bruno.decraene@orange.com>, SPRING WG List <spring@ietf.org>
CC: idr wg <idr@ietf.org>
Thread-Topic: draft-ietf-spring-segment-routing-policy
Thread-Index: AdVIa5SmJroPUcCZR8q84NofG0DylwAap4eAClUZXxAEOkCQEA==
Date: Tue, 15 Oct 2019 04:56:00 +0000
Message-ID: <MWHPR11MB1552147332CA921F6E5BC795C1930@MWHPR11MB1552.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>
In-Reply-To: <29418_1569256656_5D88F4D0_29418_238_1_53C29892C857584299CBF5D05346208A48C1A5D2@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=ketant@cisco.com;
x-originating-ip: [2001:420:c0e0:1002::258]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: d2510400-adf3-4617-00f8-08d7512bf9af
x-ms-traffictypediagnostic: MWHPR11MB1262:
x-ms-exchange-purlcount: 1
x-microsoft-antispam-prvs: <MWHPR11MB1262C7CB80251AF673CF31D3C1930@MWHPR11MB1262.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 01917B1794
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(376002)(346002)(396003)(136003)(39860400002)(366004)(189003)(199004)(51914003)(46003)(11346002)(446003)(14444005)(53546011)(5024004)(66476007)(6506007)(66946007)(66556008)(64756008)(66446008)(14454004)(256004)(966005)(76116006)(52536014)(71190400001)(71200400001)(186003)(478600001)(2501003)(606006)(476003)(486006)(2906002)(25786009)(102836004)(5660300002)(33656002)(55016002)(86362001)(4326008)(81166006)(9686003)(316002)(229853002)(236005)(6246003)(6306002)(54896002)(74316002)(8676002)(9326002)(110136005)(7736002)(8936002)(7696005)(76176011)(99286004)(6116002)(790700001)(6436002)(81156014); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR11MB1262; H:MWHPR11MB1552.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A: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: kNFM1HRWvP50oc0+LZtMU6Gpv6qoGDhk5ht7LF8uCf74eaH8Ms5HMi9+kl3bwsE7PsgV61CLtAJvq6aDDCtJ/1OP57OLY7FrqQwOj045xV6rybD6kcjqVcwMvCkGaH1Fu8HzRG8FHckeIpQ9ZnUW40R0O68OfC2i+mp7QkIsDjBEWTZTJq3sz4WF71x4FznKldHby7nPfkt7PFtpRyM9dQcWE0FHb1bmxPBzV0Uj/AVE82qLa1LBmcrZzJjFXN/aS8ws1vVxnH0/S5XQ1a6URw8bqa4uSqsbLjRLTgi7CiC91MMXNxUeD98zUFZYwW3h+IQEIQ+cqPX3mWXFa42SX5UA1Ow3nHjXPvh+9HwFIqdAwUumM+CMQCOOZ/1cPHOSo0t/Dt9FjICPZzUwNmgpVz7v5/aFNGtwLvXEHwOYmmdroQhXsw9Y7zLawmCRmlPkGKKORzZWDOHnktBluxXRXA==
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_MWHPR11MB1552147332CA921F6E5BC795C1930MWHPR11MB1552namp_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: d2510400-adf3-4617-00f8-08d7512bf9af
X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Oct 2019 04:56:00.6035 (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: xSsBaOO59XDow1e7A6HgH12Pws2recwxinAHUhNx8D/Y0DW1aSlKEKZg/jk0LDkfZMuXPW+nCrE3AvKr8wNLDg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB1262
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.15, xch-aln-005.cisco.com
X-Outbound-Node: alln-core-10.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/e7QHOMBn51Odol4QsQBOpB3nS-Y>
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: Tue, 15 Oct 2019 04:56:12 -0000

Hi Bruno,

Please check inline below.

From: bruno.decraene@orange.com <bruno.decraene@orange.com>
Sent: 23 September 2019 22:08
To: Ketan Talaulikar (ketant) <ketant@cisco.com>; SPRING WG List <spring@ietf.org>
Cc: idr wg <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.
  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? 😊
     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.

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.