DetNetInternet Engineering Task Force (IETF) N. FinnInternet-DraftRequest for Comments: 8557 Huawei Technologies Co. LtdIntended status:Category: Informational P. ThubertExpires: June 21, 2019ISSN: 2070-1721 CiscoDecember 18, 2018May 2019 Deterministic Networking Problem Statementdraft-ietf-detnet-problem-statement-09Abstract This paper documents the needs in various industries to establish multi-hop paths for characterized flows with deterministic properties. Status of This Memo ThisInternet-Draftdocument issubmitted in full conformance with the provisions of BCP 78 and BCP 79. Internet-Drafts are working documentsnot an Internet Standards Track specification; it is published for informational purposes. This document is a product of the Internet Engineering Task Force (IETF).Note that other groups may also distribute working documents as Internet-Drafts. The listIt represents the consensus ofcurrent Internet- Drafts is at https://datatracker.ietf.org/drafts/current/. Internet-Drafts are draftthe IETF community. It has received public review and has been approved for publication by the Internet Engineering Steering Group (IESG). Not all documentsvalidapproved by the IESG are candidates fora maximumany level of Internet Standard; see Section 2 of RFC 7841. Information about the current status ofsix monthsthis document, any errata, and how to provide feedback on it may beupdated, replaced, or obsoleted by other documentsobtained atany 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 June 21, 2019.https://www.rfc-editor.org/info/rfc8557. Copyright Notice Copyright (c)20182019 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. Table of Contents 1. Introduction. . . . . . . . . . . . . . . . . . . . . . . . 2....................................................2 2. On Deterministic Networking. . . . . . . . . . . . . . . . . 3.....................................4 3. Problem Statement. . . . . . . . . . . . . . . . . . . . . . 6...............................................6 3.1. Supportedtopologies . . . . . . . . . . . . . . . . . . 6Topologies .......................................6 3.2. Flow Characterization. . . . . . . . . . . . . . . . . . 6......................................6 3.3. Centralized Path Computation and Installation. . . . . . 6..............7 3.4. Distributed Path Setup. . . . . . . . . . . . . . . . . 7.....................................8 3.5. Duplicateddata format . . . . . . . . . . . . . . . . . 8Data Format .....................................8 4. Security Considerations. . . . . . . . . . . . . . . . . . . 8.........................................9 5. IANA Considerations. . . . . . . . . . . . . . . . . . . . . 9.............................................9 6.Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . 9 7.Informative References. . . . . . . . . . . . . . . . . . . 9.........................................10 Acknowledgments ...................................................11 Authors' Addresses. . . . . . . . . . . . . . . . . . . . . . . 10................................................11 1. IntroductionThe Deterministic"Deterministic Networking UseCases [I-D.ietf-detnet-use-cases] documentCases" [RFC8578] illustrates that beyond the classical case ofindustrial automationIndustrial Automation andcontrol systems (IACS),Control Systems (IACSs) there are in fact multiple industries withstrongstrong, andyetrelativelysimilarsimilar, needs for deterministic network services with latency guarantees and ultra-low packet loss. The generalization of the needs for more deterministic networkshavehas led to the IEEE 802.1AVBAudio Video Bridging (AVB) Task Group becoming the Time-Sensitive Networking (TSN)[IEEE802.1TSNTG][IEEE-802.1TSNTG] Task Group (TG), with amuch- expandedmuch-expanded constituency from the industrial and vehicular markets. Along with this expansion, the networksin considerationconsidered here are becoming larger and structured, requiring deterministic forwarding beyond the LAN boundaries. For instance, an IACS segregates the network along the broad lines of the Purdue Enterprise Reference Architecture (PERA) [ISA95], typically using deterministiclocal area networksLANs for Purdue level 2 control systems, whereas public infrastructures such asElectricity Automationelectricity automation require deterministic properties over theWide Area. The realization is now comingwide area. Implementers have come to realize that the convergence of IT andOperationalOperation Technology (OT) networks requiresLayer-3,Layer 3, as well asLayer-2,Layer 2, capabilities. While the initial user base has focused almost entirely on Ethernet physical media and Ethernet-based bridgingprotocolprotocols from several Standards DevelopmentOrganizations,Organizations (SDOs), the need forLayer-3Layer 3, as expressed above, must not be confined to Ethernet and Ethernet-like media. While such media must be encompassed by any useful Deterministic Networking (DetNet)Architecture,architecture, cooperation between the IETF and other SDOs must not be limited to the IEEE or the IEEE802.802 organizations. Furthermore, whilethe workboth completed and ongoing work in other SDOs, and in IEEE 802 in particular,provideprovides an obvious starting point for a DetNet architecture, we must not assume that these other SDOs' work confines the space in which the DetNet architecture progresses. The properties of deterministic networks will have specific requirements for the use of routed networks to support theseapplicationsapplications, and a new model must be proposed to integrate this determinism in ITtechnology.implementations. The proposed model should enable a fully scheduled operation orchestrated by a centralcontroller,controller and may support a more distributed operation withprobably lesser(probably lesser) capabilities.InAt anyfashion,rate, the model should not compromise the ability of a network to keep carrying the sorts of traffic that is already carried today in conjunction with new, more deterministic flows.Forward note: The DetNet Architecture [I-D.ietf-detnet-architecture] is the documentNote: "Deterministic Networking Architecture" [DetNet-Arch] was produced by the DetNetWGWorking Group to describe that model. At the time of this writing,the expectationit is expected that o once the abstract model is agreed upon, the IETF will specify (1) the signaling elements to be used to establish a path and (2) the tagging elements to be used to identify the flows that are to be forwarded along thatpath. The expectation is also thatpath o the IETF will specify the necessaryprotocols,protocols or protocol additions, based on relevant IETF technologies, to implement the selectedmodel.model A desirable outcome of the work is thecapabilityability to establish a multi-hop path over the IP or MPLSnetwork,network for a particular flow with given timing and precise throughputrequirements,requirements and to carry this particular flow along the multi-hop path with such characteristics as low latency and ultra-low jitter, reordering and/or replication and elimination of packets over non-congruent paths for a higher delivery ratio, and/or zero congestion loss, regardless of the amount of other flows in the network. Depending on the network capabilities andonthe current state, requests to establish a path by anend-nodeend node or a network management entity may be granted or rejected, an existing path may be moved or removed, and DetNet flows exceeding their contract may face packet declassification and drop. 2. On Deterministic Networking The Internet is not the only digital network that has grown dramatically over the last 30-40 years. Video and audio entertainment,andas well as control systems for machinery, manufacturing processes, andvehiclesvehicles, are alsoubiquitous,ubiquitous and are now based almost entirely on digital technologies. Over the past 10 years, engineers in these fields have come to realize that significant advantages in both cost andinthe ability to accelerate growth can be obtained by basing all of these disparate digital technologies on packet networks. The goals of Deterministic Networking are to (1) enable the migration of applications with critical timing and reliability issues that currently use special-purpose fieldbus technologies(HDMI, CANbus, ProfiBus, etc...(High-Definition Multimedia Interface (HDMI), Controller Area Network (CAN bus), PROFIBUS [PROFIBUS], etc. ... even RS-232!) to packet technologies ingeneral,general andthe Internet Protocolto IP inparticular,particular andto(2) support both these newapplications,applications and existing packet networkapplications,applications over the same physical network. In other words, aDeterministic Networkdeterministic network is backwards compatible with (capable of transporting) statistically multiplexed traffic while preserving the properties of the accepted deterministic flows.The Deterministic Networking Use Cases [I-D.ietf-detnet-use-cases] document[RFC8578] indicates that applications in multiple fields need some or all of a suite of features that includes: 1. Time synchronization of all host and network nodes (routersand/ orand/or bridges), accurate to something between 10 nanoseconds and 10 microseconds, depending on the application. 2. Support forDeterministicdeterministic packet flows that: * Can be unicast ormulticast;multicast. * Need absolute guarantees of minimum and maximum latencyend- to-endend to end across the network; sometimes a tight jitter is required aswell;well. * Need a packet loss ratio beyond the classical range for a particular medium, in the range of 10^-9 to10^-12,10^-12 orbetter,better onEthernet,Ethernet andinon the order of 10^-5 inWireless Sensor Mesh Networks;wireless sensor mesh networks. * Can, in total, absorb more than half of the network's available bandwidth (that is, massive over-provisioning is ruled out as asolution);solution). * Cannot suffer throttling, congestion feedback, or any other network-imposed transmission delay, although the flows can be meaningfully characterizedeitherby either (1) a fixed, repeating transmissionschedule,schedule orby(2) a maximum bandwidth and packetsize;size. 3. Multiple methodsto schedule, shape, limit,for scheduling, shaping, limiting, and otherwisecontrolcontrolling the transmission of critical packets at each hop through the network dataplane;plane. 4. Robust defenses against misbehaving hosts, routers, or bridges,bothin both the data plane and the controlplanes,plane, with guarantees that a critical flow within its guaranteed resources cannot be affected by otherflowsflows, whatever the pressures on thenetwork -network. For more on the specific threats againstDetNet in the DetNetDetNet, see "Deterministic Networking (DetNet) SecurityConsiderations [I-D.ietf-detnet-security] document;Considerations" [DetNet-Security]. 5. One or more methodsto reservefor reserving resources in bridges and routers to carry these flows.Time synchronizationTime-synchronization techniques need not be addressed by an IETFWorking Group;working group; there are a number of standards available for this purpose, including IEEE1588,1588 [IEEE-1588], IEEE802.1AS,802.1AS [IEEE-8021AS], and more. The needs related to multicast, latency, loss ratio, andnon-throttling needs are made necessary bythrottling avoidance exist because the algorithms employed by theapplications.applications demand it. They are not simply the transliteration of fieldbus needs to a packet-based fieldbussimulation, butsimulation; they also reflect fundamental mathematics of the control of a physical system. With classical forwardinglatency-of latency-sensitive and loss-sensitive packets across a network, interactions among different critical flows introduce fundamental uncertainties in delivery schedules. The details of the queuing, shaping, and scheduling algorithms employed by each bridge or router to control the output sequence on a given port affect the detailed makeup of the output stream,e.g.e.g., how finely a given flow's packets are mixed among those of other flows. This, in turn, has a strong effect on the buffer requirements, and hence the latency guarantees deliverable, by the next bridge or router along the path. For this reason, the IEEE 802.1Time- Sensitive Networking Task GroupTSN TG has defined a new set of queuing, shaping, and scheduling algorithms that enable each bridge or router to compute the exact number of buffers to be allocated for each flow or class of flows.Robustness is a commonNetworking protocols commonly needfor networking protocols, butrobustness. Note that robustness plays amoreparticularly important part in real-time control networks, where expensive equipment, and even lives, can be lost due to misbehaving equipment. Reserving resources before packet transmission is the one fundamental shift in the behavior of network applications that is impossible to avoid. In the first place, a network cannot deliver finite latency and practically zero packet loss to an arbitrarily high offered load. Secondly, achieving practically zero packet loss forun-throttledunthrottled (thoughbandwidth limited)bandwidth-limited) flows means that bridges and routers have to dedicate buffer resources to specific flows ortoclasses of flows. The requirements of each reservation have to be translated into the parameters that control each host's, bridge's, and router's queuing, shaping, and scheduling functions and delivered to the hosts, bridges, and routers. 3. Problem Statement 3.1. SupportedtopologiesTopologies In some use cases, the end pointwhich runthat runs the application is involved in thedeterministic networking operation,Deterministic Networking operation -- forinstanceinstance, by controlling certain aspects of itsthroughputthroughput, such as rate or precise time of emission. Inthatsuch a case, the deterministic path isend-to-endend to end from application host to application host. On the other end, the deterministic portion of a path may be a tunnel between an ingress point and an egress router. In any case, routers and switches in between should not need to be aware of whether the path isend-to-endend to end or a tunnel. While it is clear that DetNet does not aimat settingto set up deterministic paths over the global Internet, there is still a lack of clarityonregarding the limits of a domain where a deterministic path can be set up. These limits may dependinon the technology that is used to set the path up, whether it is centralized or distributed. 3.2. Flow Characterization Deterministic forwarding can only applyonto flows with such well-defined characteristicssuchas periodicity and burstiness. Before a path can be established to serve them, the expression of those characteristics, and how the network can servethem, for instancethem (for instance, in shaping and forwardingoperations,operations), must be specified. 3.3. Centralized Path Computation and Installation A centralized routing model, such as that provided with a Path Computation Element (PCE) (see [RFC4655]), enables global and per-flow optimizations.TheThis type of model isattractiveattractive, but a number of issuesare leftremain to besolved. Insolved -- in particular: o whether and how the path computation can be installed by1)* an end device or2)* aNetwork Management entity, onetwork management entity and o how the path is setup,up -- either * by installing state at each hop with a direct interaction between the forwarding device and thePCE,PCE or * along a path by injecting a source-routed request at one end of thepathpath, following classical Traffic Engineering (TE)models.models To enable a centralized model, DetNet should produce a description of thehigh levelhigh-level interaction and data models to: o report the topology and device capabilities to the centralcontroller;controller o establish a direct interface between the centralized PCEtoand each device under its control in order to enableavertical signaling o request a path setup for a new flow with particular characteristics over the service interface and control it through its lifecycle;cycle o provide support forlife cyclelife-cycle management for a path (instantiate/modify/update/delete) o provide support for adaptability to cope with such various eventssuchas loss of alink, etc...link o expose the status of the path to the end devices(UNI interface)(User-Network Interfaces (UNIs)) o provide additional reliability through redundancy,in particularparticularly withpacketPacket Replication,EliminationElimination, and Ordering Functions(PREOF)(PREOF), wherethe formerredundant paths maygenerate an out-of-order delivery thatdeliver packets out of order and PREOF may need tobe corrected corrected bycorrect thelatter;ordering o indicate the flows and packet sequences in-band with theflows, thisflows. This is needed for flows that require PREOF in order to isolate duplicates and reorderinpackets at theend;end of the sequence 3.4. Distributed Path Setup Whether a distributed alternative without a PCE can be valuable could be studied as well. Such an alternativecouldcould, forinstance inherit from theinstance, build upon ResourceReSerVationReservation Protocol[RFC3209]- TE (RSVP-TE)flows.flows [RFC3209]. But the focus of the work should be to deliver the centralized approach first. To enablea RSVP-TE like functionality,functionality similar to that of RSVP-TE, the following steps would take place: 1. Neighbors and their capabilitiesarewould be discovered and exposed to compute a path thatfitswould fit the DetNetconstraints,constraints -- typically those of latency, timeprecisionprecision, and resource availability. 2. A constrained pathiswould be calculated with an improved version of Constrained Shortest Path First (CSPF) that is aware of DetNet. 3. The path may be installed using a control protocol such asRSVP- TE, associated withRSVP-TE, extended to enable flowidentification,identification and install new per-hop behavior such as PacketReplication andReplication, Elimination, andblocked resources.Ordering, and to reserve physical resources for the flow. In that case, traffic flowscancould be transported through an MPLS-TE tunnel, using the reserved resources for this flow at each hop. 3.5. Duplicateddata formatData Format In somecasescases, the duplication and elimination of packets overnon- congruentnon-congruent pathsisare required to achieve a sufficiently high delivery ratio to meet application needs. In these cases, a small number of packet formats and supporting protocols are required(preferably,(preferably justone)one of each) to serialize the packets of a DetNet stream at one point in the network, replicate them at one or more points in the network, and discard duplicates at one or more other points in the network, including perhaps the destination host. Using an existing solution would be preferable to inventing a new one. 4. Security Considerations Security in the context of Deterministic Networking has an added dimension; the time of delivery of a packet can be just as important as the contents of thepacket,packet itself. A man-in-the-middle attack, for example, canimpose,impose and then systematicallyadjust,adjust additional delays into a link, and thus disrupt or subvert a real-time application without having to crack any encryption methods employed. See [RFC7384] for an exploration of this issue in a related context. Typical control networks today rely on complete physical isolation to prevent rogue access to network resources. DetNet enables the virtualization of those networks over a converged IT/OT infrastructure. Doing so, DetNet introduces an additional riskthatof flowsinteractinteracting andinterfereinterfering with one another as they share physical resources such as Ethernet trunks and the radio spectrum. The requirement is that there is no possible data leak from and into a deterministicflow, and in aflow. Stated moregeneral fashiongenerally, there is no possible influence whatsoever from the outside on a deterministic flow. The expectation is that physical resources are effectively associated with a given flow at a given pointofin time. In that model,Time Sharingthe time-sharing of physical resources becomes transparent to the individual flows, as these flowswhichhave no clue regarding whether or not the resources are used by other flows at other times. The overall security of a deterministic system must cover: o the protection of the signaling protocol o the authentication and authorization of the controllingnodesnodes, including plug-and-play participating endsystems.systems o the identification and shaping of the flows o the isolation of flows from leakage and other influences from any activity sharing physicalresources.resources The specific threats against DetNet are further discussed inthe DetNet Security Considerations [I-D.ietf-detnet-security] document.[DetNet-Security]. 5. IANA Considerations This documentdoes not require an action from IANA.has no IANA actions. 6.Acknowledgments The authors wish to thank Lou Berger, Pat Thaler, Jouni Korhonen, Janos Farkas, Stewart Bryant, Andrew Malis, Ethan Grossman, Patrick Wetterwald, Subha Dhesikan, Matthew Miller, Erik Nordmark, George Swallow, Rodney Cummings, Ines Robles, Shwetha Bhandari, Rudy Klecka, Anca Zamfir, David Black, Thomas Watteyne, Shitanshu Shah, Kiran Makhijani, Craig Gunther, Warren Kumari, Wilfried Steiner, Marcel Kiessling, Karl Weber, Alissa Cooper, and Benjamin Kaduk for their various contributions to this work. 7.Informative References[I-D.ietf-detnet-architecture][DetNet-Arch] Finn, N., Thubert, P., Varga, B., and J. Farkas, "Deterministic Networking Architecture",draft-ietf- detnet-architecture-09 (workWork inprogress), October 2018. [I-D.ietf-detnet-security]Progress, draft-ietf-detnet-architecture-13, May 2019. [DetNet-Security] Mizrahi, T., Grossman, E., Ed., Hacker, A., Das, S., Dowdell, J., Austad, H., Stanton, K., and N. Finn, "Deterministic Networking (DetNet) Security Considerations",draft-ietf- detnet-security-03 (workWork inprogress), October 2018. [I-D.ietf-detnet-use-cases] Grossman, E., "Deterministic Networking Use Cases", draft- ietf-detnet-use-cases-19 (work in progress), October 2018. [IEEE802.1TSNTG]Progress, draft-ietf-detnet-security-04, March 2019. [IEEE-1588] IEEE, "IEEE Standard for a Precision Clock Synchronization Protocol for Networked Measurement and Control Systems", IEEE Standard 1588-2008, <https://standards.ieee.org/ findstds/standard/1588-2008.html>. [IEEE-802.1TSNTG] IEEE Standards Association, "IEEE 802.1 Time-SensitiveNetworksNetworking Task Group",2013,<http://www.ieee802.org/1/pages/avbridges.html>. [IEEE-8021AS] IEEE, "IEEE Standard for Local and Metropolitan Area Networks - Timing and Synchronization for Time-Sensitive Applications in Bridged Local Area Networks", IEEE 802.1AS-2011, <http://www.ieee802.org/1/pages/802.1as.html>. [ISA95] ANSI/ISA, "Enterprise-Control System Integration - Part 1: Models and Terminology",2000,<https://www.isa.org/isa95/>. [PROFIBUS] IEC, "PROFIBUS Standard - DP Specification (IEC 61158 Type 3)", <https://www.profibus.com/>. [RFC3209] Awduche, D., Berger, L., Gan, D., Li, T., Srinivasan, V., and G. Swallow, "RSVP-TE: Extensions to RSVP for LSP Tunnels", RFC 3209, DOI 10.17487/RFC3209, December 2001, <https://www.rfc-editor.org/info/rfc3209>. [RFC4655] Farrel, A., Vasseur,J.,J.-P., and J. Ash, "A Path Computation Element (PCE)-Based Architecture", RFC 4655, DOI 10.17487/RFC4655, August 2006, <https://www.rfc-editor.org/info/rfc4655>. [RFC7384] Mizrahi, T., "Security Requirements of Time Protocols in Packet Switched Networks", RFC 7384, DOI 10.17487/RFC7384, October 2014, <https://www.rfc-editor.org/info/rfc7384>. [RFC8578] Grossman, E., Ed., "Deterministic Networking Use Cases", RFC 8578, DOI 10.17487/RFC8578, May 2019, <https://www.rfc-editor.org/info/rfc8578>. Acknowledgments The authors wish to thank Lou Berger, Pat Thaler, Jouni Korhonen, Janos Farkas, Stewart Bryant, Andrew Malis, Ethan Grossman, Patrick Wetterwald, Subha Dhesikan, Matthew Miller, Erik Nordmark, George Swallow, Rodney Cummings, Ines Robles, Shwetha Bhandari, Rudy Klecka, Anca Zamfir, David Black, Thomas Watteyne, Shitanshu Shah, Kiran Makhijani, Craig Gunther, Warren Kumari, Wilfried Steiner, Marcel Kiessling, Karl Weber, Alissa Cooper, and Benjamin Kaduk for their various contributions to this work. Authors' Addresses Norman Finn Huawei Technologies Co. Ltd 3755 Avocado Blvd. PMB 436 La Mesa, California 91941USUnited States of America Phone: +1 925 980 6430 Email: norman.finn@mail01.huawei.com Pascal Thubert CiscoSystems Village d'Entreprises Green Side 400, Avenue de Roumanille Batiment T3 BiotSystems, Inc. Building D, 45 Allee des Ormes - BP1200 Mougins - Sophia Antipolis06410 FRANCE06254 France Phone: +33497 232 6344 97 23 26 34 Email: pthubert@cisco.com