SPRING C. Filsfils, Ed. Internet-Draft F. Clad, Ed. Intended status: Standards Track P. Camarillo Expires: July 17, 2021 K. Raza Cisco Systems, Inc. January 13, 2021 Stateless and Scalable Network Slice Identification for SRv6 draft-filsfils-spring-srv6-stateless-slice-id-02 Abstract This document defines a stateless and scalable solution to achieve network slicing with SRv6. 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 https://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 on July 17, 2021. Copyright Notice Copyright (c) 2021 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 (https://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. Filsfils, et al. Expires July 17, 2021 [Page 1] Internet-Draft SRv6 Stateless Slice Identification January 2021 Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 2. Slice Identifier . . . . . . . . . . . . . . . . . . . . . . 2 3. Ingress PE SLID Assignment . . . . . . . . . . . . . . . . . 2 4. Per-Slice Forwarding . . . . . . . . . . . . . . . . . . . . 3 5. Bandwidth-Allocation Slice . . . . . . . . . . . . . . . . . 3 6. Backward Compatibility . . . . . . . . . . . . . . . . . . . 3 7. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . 4 8. References . . . . . . . . . . . . . . . . . . . . . . . . . 4 8.1. Normative References . . . . . . . . . . . . . . . . . . 4 8.2. Informative References . . . . . . . . . . . . . . . . . 4 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 4 1. Introduction SRv6 Network Programming[I-D.ietf-spring-srv6-network-programming] enables the creation of overlays with underlay optimization to be deployed in an SR domain[RFC8402]. As defined in [RFC8754], all inter-domain packets are encapsulated for the part of the packet journey that is within the SR domain. The outer IPv6 header is originated by a node of the SR domain and is destined to a node of the SR domain. This document describes a stateless encoding of slice identification in the outer IPv6 header of an SR domain. The slice identification is independent of topology and the QoS/DiffServ policy of the network, thus enabling scalable network slicing for SRv6 overlays. 2. Slice Identifier Each network slice in an SR domain is uniquely identified by an 8-bit Slice Identifier (SLID). 3. Ingress PE SLID Assignment When an ingress PE receives a packet that traverses the SR domain, it encapsulates the packet in an outer IPv6 header and optional SRH as defined in [RFC8754]. The ingress PE MAY also classify the packet into a slice and set the slice identifier as follows: o Set the SPI bit (SLID Presence Indicator) in the Traffic Class field of the outer IPv6 header. o Write this SLID in the 8 most significant bits of the Flow Label field of the outer IPv6 header. The remaining 12 bits of the Flow Filsfils, et al. Expires July 17, 2021 [Page 2] Internet-Draft SRv6 Stateless Slice Identification January 2021 Label field were set as described in section 5.5 of [RFC8754] for inter-domain packets. The slice classification method is outside the scope of this document. The choice of the SPI bit from within the IPv6 Traffic Class field is a domain-wide configuration and is outside the scope of this document. 4. Per-Slice Forwarding Any router within the SR domain that forwards a packet with SPI bit set uses the SLID to select a slice and apply per-slice policies. There are many different policies that could define a slice for a particular application or service. The most basic of these is bandwidth-allocation, an implementation complying with this specification SHOULD support the bandwidth-allocation slice as defined in the next section. 5. Bandwidth-Allocation Slice A per-slice policy is configured at each interface of each router in the SR domain, with one traffic shaper per SLID. The bitrate of each shaper is configured to reflect the bandwidth allocation of the per- slice policy. If shapers are not available, or desirable, an implementation MAY configure one scheduling queue per SLID with a guaranteed bandwidth equal to the bandwidth-allocation for the slice. This option allows a slice to consume more bandwidth than its allocation when available. Per-slice shapers or queues effectively provides a virtual port per slice. This solution MAY be complemented with a per-virtual-port hierarchical DiffServ policy. Within the context of one specific slice, packets are further classified into children DiffServ queues which hang from the virtual port. The DSCP value in the IPv6 header SHOULD be used for queue selection. 6. Backward Compatibility The Flow Label usage described in this document is consistent with [RFC6437] and [RFC6438]. PE routers that do not set the SPI bit do not enable the SLID semantic of the Flow Label bits. Hence, SLID-aware routers would not attempt to classify these packets into a slice. Filsfils, et al. Expires July 17, 2021 [Page 3] Internet-Draft SRv6 Stateless Slice Identification January 2021 Any router that does not process the SPI nor the SLID forwards packets as usual. 7. Acknowledgements The authors would like to thank Darren Dukes, Ketan Talaulikar, Jisu Bhattacharya, John Bettink, and Aman Manot for their insightful feedback on this document. 8. References 8.1. Normative References [I-D.ietf-spring-srv6-network-programming] Filsfils, C., Camarillo, P., Leddy, J., Voyer, D., Matsushima, S., and Z. Li, "SRv6 Network Programming", draft-ietf-spring-srv6-network-programming-28 (work in progress), December 2020. [RFC8402] Filsfils, C., Ed., Previdi, S., Ed., Ginsberg, L., Decraene, B., Litkowski, S., and R. Shakir, "Segment Routing Architecture", RFC 8402, DOI 10.17487/RFC8402, July 2018, . [RFC8754] Filsfils, C., Ed., Dukes, D., Ed., Previdi, S., Leddy, J., Matsushima, S., and D. Voyer, "IPv6 Segment Routing Header (SRH)", RFC 8754, DOI 10.17487/RFC8754, March 2020, . 8.2. Informative References [RFC6437] Amante, S., Carpenter, B., Jiang, S., and J. Rajahalme, "IPv6 Flow Label Specification", RFC 6437, DOI 10.17487/RFC6437, November 2011, . [RFC6438] Carpenter, B. and S. Amante, "Using the IPv6 Flow Label for Equal Cost Multipath Routing and Link Aggregation in Tunnels", RFC 6438, DOI 10.17487/RFC6438, November 2011, . Authors' Addresses Clarence Filsfils (editor) Cisco Systems, Inc. Belgium Email: cf@cisco.com Filsfils, et al. Expires July 17, 2021 [Page 4] Internet-Draft SRv6 Stateless Slice Identification January 2021 Francois Clad (editor) Cisco Systems, Inc. France Email: fclad@cisco.com Pablo Camarillo Cisco Systems, Inc. Spain Email: pcamaril@cisco.com Kamran Raza Cisco Systems, Inc. Canada Email: skraza@cisco.com Filsfils, et al. Expires July 17, 2021 [Page 5]