IS-IS Working Group J. Tantsura Internet-DraftU. ChunduriIndividual Intended status: Standards TrackIndividualU. Chunduri Expires:May 20,September 2, 2017 Huawei S. Aldrin Google, Inc L. Ginsberg Cisco Systems March 1, 2017November 16, 2016Signaling MSD (Maximum SID Depth) using IS-ISdraft-ietf-isis-segment-routing-msd-00draft-ietf-isis-segment-routing-msd-01 Abstract This document proposes a way toexposesignal Maximum SID Depth (MSD) supported by a node at node and/or linklevelgranularity by an ISIS Router. In a Segment Routing (SR) enabled network a centralized controller that programs SR tunnelsat the head-end nodeneeds to know the MSDinformationsupported by the head-end at nodeleveland/or linklevelgranularity to push thelabelSID stack of an appropriate depth. MSD is relevent to the head-end of a SR tunnel or Binding-SID anchor node where Binding-SID expansions migth result in creation of a new SID stack. Status of This Memo This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet- Drafts is at http://datatracker.ietf.org/drafts/current/. Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." This Internet-Draft will expire onMay 20,September 2, 2017. Copyright Notice Copyright (c)20162017 IETF Trust and the persons identified as the document authors. All rights reserved. This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License. Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 1.1. Conventions used in this document . . . . . . . . . . . . 3 1.1.1. Terminology . . . . . . . . . . . . . . . . . . . . . 3 1.2. Requirements Language . . . . . . . . . . . . . . . . . . 3 2. Terminology . . . . . . . . . . . . . . . . . . . . . . . . .34 3. Node MSD Advertisement . . . . . . . . . . . . . . . . . . .34 4. LINK MSD Advertisement . . . . . . . . . . . . . . . . . . . 4 5. Node MSD vs Link MSD conflict resolution . . . . . . . . . .45 6. IANA Considerations . . . . . . . . . . . . . . . . . . . . .45 7. Security Considerations . . . . . . . . . . . . . . . . . . .46 8.AcknowledgementsContributors . . . . . . . . . . . . . . . . . . . . . .4. . 6 9. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . 6 10. References . . . . . . . . . . . . . . . . . . . . . . . . .4 9.1.6 10.1. Normative References . . . . . . . . . . . . . . . . . .4 9.2.6 10.2. Informative References . . . . . . . . . . . . . . . . .57 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . .67 1. Introduction When Segment Routing tunnels are computed by a centralized controller, it iscrucialcritical that the controllerknowslearns the MSD "Maximum SID Depth" of the node or link SR tunnel exits over, soit doesn't download a path withthe SID(label stack)stack depth of adepth more thanpath computed doesn't exceed that the nodeor link usedis capable of imposing. This document describes how to use IS-IS toexposesignal the MSD ofthea node or link to a centralized controller. PCEP SR extensions draft [I-D.ietf-pce-segment-routing]has defined MSD, to signalsignals MSD in SR PCE CapabilityTLV,TLV and METRIC Object. However,Ifif PCEP is notsupported by a node (head-end ofsupported/configured on the head-end of a SRtunnel)tunnel or a Binding-SID anchor node and controller does not participate in IGProutingrouting, it has no way to learn the MSD ofthe node or linknodes and links MSD has been configured. BGP-LS [RFC7752] defines a way to expose topology and associateddifferent attributes,attributes and capabilities of the nodes in that topology to a centralizedcontroller andcontroller. MSD signaling by BGP-LS has been defined in [I-D.tantsura-idr-bgp-ls-segment-routing-msd].For this informationTipicaly, BGP-LS is configured on a small number of nodes, that do not necessarily act as head-ends. In order, for BGP-LS tobe advertised by BGPsignal MSD for the all nodes and linksofin thenetwork, where thisnetwork MSD isprovisioned, IS-IS modulerelevant, MSD capabilites shouldhave this informationbe distributed to every IS-IS router in theLSDB.network. [I-D.ietf-isis-mpls-elc]defines, RLSDC which indicates how many labels a node can read to takedefines Readable Label Deepth Capability (RLDC) that is used by adecisionhead-end to insertanEntropy Label (EL)andat appropriate depth, so it coud be read by transit nodes. MSD in contrary signals ability to push SID's stack of a particular depth. MSD of type 1 (IANA Registry) isdifferent than how many labelsused to signal number of SID a nodecan push as definedis capable of imposing, to be used by a path computation element/ controller and is only relevant to the part of the stack created as the result of the computation. In case, there are additional labels (e.g. service) that are to be pushed to the stack - MSDin this draft.SHOULD be adjusted to reflect that. In the future, new MSD types could be defined to signal additional capabilities: entropy labels, labels that can be pushed thru recirculation, etc. 1.1. Conventions used in this document 1.1.1. TerminologyBGP-LS: DistributionBGP-LS:Distribution of Link-State and TE Information using Border Gateway Protocol ISIS: Intermediate System to Intermediate System MSD: Maximum SID Depth PCC: Path Computation Client PCE: Path Computation Element PCEP: Path Computation Element Protocol SID: Segment Identifier SR: Segment Routing 1.2. Requirements Language The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119 [RFC2119]. 2. Terminology This memo makes use of the terms defined in [RFC4971]. 3. Node MSD Advertisement A new sub-TLV within the body of IS-IS Router Capability TLV [RFC4971],calledNode MSD sub-TLV is defined to carry the provisionedSID depthMSD of the router originating the Router Capability TLV. Node MSD is the lowest MSD supported by the node and can be provisioned in IS-IS instance. 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Type | Length | Sub-Type and Value | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Figure 1: Node MSD Sub-TLV The Type (1 byte) of this sub-TLV isTBD.TBD (IANA). Length is variable (minimum of 2, multiple of 2 octets) and represents the total length of value field. Value field consists of a 1 octet sub-type (IANA Registry) and 1bytes,octet value. Sub-Type 1 (IANA Section), MSD and the Value field contains maximum MSD of the router originating the Router Capability TLV. Node Maximum MSD is a number in the range of 0-254. 0 represents lack of the ability to push MSD of any depth; any other value represents that of the node. This value SHOULD represent the lowest value supported by node. Other Sub-types other than defined above are reserved for future extensions. This TLV is optional. The scope of the advertisement is specific to the deployment. 4. LINK MSD Advertisement A new sub-TLVcalled- Link MSD sub-TLV is defined to carry the provisionedSID depthMSD of the interface associated with the link. 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Type | Length | Sub-Type and Value | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Figure 2: Link MSD Sub-TLV The Type (1 byte) of thissub- TLVsub-TLV isTBD.TBD (IANA). Length is variable and similar to what is defined in Section 3. Value field consists of a 1byte,octet sub-type (IANA Registry) and 1 octet value. Sub-Type 1 (IANA Section), MSD and the Value field contains Link MSD of the router originating the corresponding TLV's 22, 23, 141, 222, and 223. Link MSD is a number in the range of 0-254. 0 represents lack of the ability to push MSD of any depth; any other value represents that of the particular link MSD value. 5. Node MSD vs Link MSD conflict resolution When both Node MSD and Link MSD are present, the value in the Link MSD MUST be used. 6. IANA Considerations This document includes a request to IANA to allocate sub-TLV type codes for the new sub TLV proposed in Section 3 of this document fromIS- ISIS-IS Router Capability TLV Registry as defined by [RFC4971]. Also for link MSD, we request IANA to allocate new sub-TLV codes as defined in Section 4 from Sub-TLVs for TLVs 22, 23, 141, 222 and 223 registry. This document also request IANA to create a new Sub-type registry as proposed in Section 3, Section 4. Value Name Reference ----- --------------------- ------------- 0 Reserved This document 1 MSD This document 2-250 Unassigned This document 251-254 Experimental This document 255 Reserved This document Figure 3: MSD Sub-type Codepoints Registry 7. Security Considerations This document describes a mechanismfor advertisingto signal Segment RoutingSID depthMSD supported at nodeandand/or linklevel informationgranularity through IS-IS LSPs and does not introduce any new security issues. 8.Acknowledgements TBDContributors The following people contributed to this document: Peter Psenak Email: ppsenak@cisco.com 9. Acknowledgements The authors would like to thank Stephane Litkowski and Bruno Decraene for their reviews and valuable comments. 10. References9.1.10.1. Normative References [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, March 1997, <http://www.rfc-editor.org/info/rfc2119>. [RFC4971] Vasseur, JP., Ed., Shen, N., Ed., and R. Aggarwal, Ed., "Intermediate System to Intermediate System (IS-IS) Extensions for Advertising Router Information", RFC 4971, DOI 10.17487/RFC4971, July 2007, <http://www.rfc-editor.org/info/rfc4971>. [RFC5305] Li, T. and H. Smit, "IS-IS Extensions for Traffic Engineering", RFC 5305, DOI 10.17487/RFC5305, October 2008, <http://www.rfc-editor.org/info/rfc5305>.9.2.10.2. Informative References [I-D.ietf-isis-mpls-elc] Xu, X., Kini, S., Sivabalan, S., Filsfils, C., and S. Litkowski, "Signaling Entropy Label Capability Using IS- IS", draft-ietf-isis-mpls-elc-02 (work in progress), October 2016. [I-D.ietf-pce-segment-routing] Sivabalan, S., Medved, J., Filsfils, C., Crabbe, E., Raszuk, R., Lopez, V., Tantsura, J., Henderickx, W., and J. Hardwick, "PCEP Extensions for Segment Routing", draft- ietf-pce-segment-routing-08 (work in progress), October 2016. [I-D.tantsura-idr-bgp-ls-segment-routing-msd] Tantsura, J., Chunduri, U., Mirsky, G.,Sivabalan, S.,andU. Chunduri,S. Sivabalan, "Signaling Maximum SID Depth using Border Gateway Protocol Link-State", draft-tantsura-idr-bgp-ls-segment-routing-msd-01msd-02 (work in progress),July 2016.January 2017. [RFC1195] Callon, R., "Use of OSI IS-IS for routing in TCP/IP and dual environments", RFC 1195, DOI 10.17487/RFC1195, December 1990, <http://www.rfc-editor.org/info/rfc1195>. [RFC5120] Przygienda, T., Shen, N., and N. Sheth, "M-ISIS: Multi Topology (MT) Routing in Intermediate System to Intermediate Systems (IS-ISs)", RFC 5120, DOI 10.17487/RFC5120, February 2008, <http://www.rfc-editor.org/info/rfc5120>. [RFC7752] Gredler, H., Ed., Medved, J., Previdi, S., Farrel, A., and S. Ray, "North-Bound Distribution of Link-State and Traffic Engineering (TE) Information Using BGP", RFC 7752, DOI 10.17487/RFC7752, March 2016, <http://www.rfc-editor.org/info/rfc7752>. Authors' Addresses Jeff Tantsura Individual Email: jefftant.ietf@gmail.com Uma ChunduriIndividualHuawei Email: uma.chunduri@huawei.com Sam Aldrin Google, Inc Email: aldrin.ietf@gmail.com Les Ginsberg Cisco Systems Email:uma.chunduri@gmail.comginsberg@cisco.com