view Side-By-Side changes
Internet Draft R. Braden, Ed. Expiration:SeptemberDecember 1995 ISI File:draft-ietf-rsvp-spec-05.txt L.Zhangdraft-ietf-rsvp-spec-06.txt L. Zhang PARC D. Estrin ISI S. Herzog ISI S. Jamin USC Resource ReSerVation Protocol (RSVP) -- Version 1 Functional SpecificationMarch 24,June 21, 1995 Status of Memo This document is an Internet-Draft. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF), its areas, and its working groups. Note that other groups may also distribute working documents as Internet-Drafts. 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." To learn the current status of any Internet-Draft, please check the linebreak "1id-abstracts.txt" listing contained in the Internet- Drafts Shadow Directories on ds.internic.net (US East Coast), nic.nordu.net (Europe), ftp.isi.edu (US West Coast), or munnari.oz.au (Pacific Rim). Abstract This memo describes version 1 of RSVP, a resource reservation setup protocol designed for an integrated services Internet. RSVP provides receiver-initiated setup of resource reservations for multicast or unicast data flows, with good scaling and robustness properties. Braden, Zhang, et al. Expiration:SeptemberDecember 1995 [Page 1] Internet Draft RSVP SpecificationMarchJune 1995 What's Changed SinceTorontoBoston IETFThis version of theThe most important changes in this documentincorporates many offrom theprotocol changes agreedrsvp-spec-05 draft are: o Added SE (Shared Explicit) style toatall parts of theDecember 1994 IETF meetingdocument. o Further clarified reservation options and added table inSan Jose. The most major changes are:Figure 3. Defined option vector in STYLE object. oThe RSVP packet format has been reorganizedRenamed CREDENTIAL object class tocarry most dataPOLICY_DATA object class, and rewrote section 2.5 to more fully express its intended usage. o Clarified the relationship between the wildcard scope reservation option and wildcards in individual FILTER_SPEC objects: wildcard is astyped variable-length objects.wildcard does. oThis generality includes provisionAdded SCOPE object definition and define the rules for16-byte IP6 addresses. o Filter specs have been simplified. o DF style has been movedits use toan Appendix, as experimental.prevent looping of wildcard-scope messages. oUDP encapsulationAdded TAG object. This is needed to do semantic fragmentation in certain cases; however, the rules for its use are not yet written down. Furthermore, there has beenincluded.some debate about semantic fragmentation. oOPWA has been included.Added some mechanisms for handling backwards compatibility for future protocol extensions: (1) High bit of object class number; (2) unmerged FLOWSPEC C-Type; (3) unmerged POLICY_DATA C-Type. oThe Drop flag has been eliminated.Rewrote Section 4.3 on preventing looping. Included rules for SCOPE object. oSession groups have been added.Specified rules for local repair upon route change notification (Section 4.4). oThe routing of RERR messages has been changed. 1. Introduction This document defines RSVP, a resource reservation setup protocol designedSpecified foran integrated services Internet [RSVP93,ISInt93]. A host useseach error type whether or not theRSVP protocol to request a specific quality of service (QoS) fromstate information in thenetwork, on behalf of an application data stream. RSVPerroneous packet isalso used to deliver QoS requeststorouters alongbe stored and forwarded. o Deleted thepath(s)discussion ofthe data stream and to maintain router and host state to provide the requested service. This will generally (but not necessarily) require reserving resources along the data path. RSVP reserves resources for simplex data streams, i.e., it reserves resources in only one direction on a link, so thatretransmitting asenderTeardown message Q times; assume Q=1 islogically distinct from a receiver. However, the same application may act as both sendersufficient. o Moved Session Groups to Appendix D, "Experimental andreceiver. RSVP operates on top of IP, occupying the placeOpen Issues". Session Groups should be revisited as part of atransport protocol in the protocol stack. However, like ICMP, IGMP, and routing protocols, RSVP does not transport application data but is rather an Internet control protocol. As shown in Figure 1, an implementation of RSVP, like the implementationslarger context ofrouting and management protocols, will typicallycross-session reservations. o Changed common header format, removing Object Count (which was Braden, Zhang, et al. Expiration:SeptemberDecember 1995 [Page 2] Internet Draft RSVP SpecificationMarchJune 1995execute in the background, not inredundant) and rearranging thedata forwarding path. RSVP is not itself a routing protocol;remaining fields. Moved theRSVP daemon consultstwo common header flags into objects: Entry-Police into SESSION object and LUB-used into ERROR_SPEC object. o Revised thelocal routing protocol(s) to obtain routes. Thus, a host sends IGMP messages to join a multicast group,rules for state timeout (Section 4.5) andit sends RSVP messages to reserve resources alongredefined thedelivery path(s)TIME_VALUES object format. o Changed the error message format: (1) removed required RSVP_HOP object fromthat group. RSVP is designed to operate with existing and future unicastPERR andmulticast routing protocols. HOST ROUTER _________________________ RSVP ______________________ | | .---------------. | | _______ ______ | . | ________ . ______ | | | | | | | . || | . | || RSVP | |Applic-| | RSVP <----- ||Routing | -> RSVP <------> | | App <----->daemon| | ||Protocol| |daemon|| | | | | | | || daemon <----> || | |_______| |___.__| | ||_ ._____| |__.___|| |===|===============v=====| |===v=============v====| | data .......... | | . ............ | | | ____v_ ____v____ | | _v__v_ _____v___ | | | |Class-| | || data | |Class-| | || data | |=> ifier|=> Packet =============> ifier|==> Packet |======> | |______| |Scheduler|| | |______| |Scheduler|| | |_________|| | |_________|| |_________________________| |______________________| Figure 1: RSVPRERR messages; (2) removed CREDENTIAL (i.e., POLICY_DATA) object from RERR messages; (3) specified more carefully what may appear inHosts and Routers Each router that is capableflow descriptor list ofresource reservation passes incoming data packets to a packet classifierRERR messages. o Revised the definitions of error codes andthen queueserror values, and moved themas necessary ininto apacket scheduler. The packet classifier determinesseparate Appendix B. o No longer require CREDENTIAL (i.e., POLICY_DATA) match for teardown. o Revised routing of RERR messages to use SCOPE objects to avoid wildcard-induced looping. o Added LIH (logical interface handle) to RSVP_HOP object, for IP multicast tunnels. o Added two new upcall event types in therouteAPI: reservation event and policy data event. o Generalized theQoS classgeneric traffic control calls slightly to allow multiple filter specs per flowspec, foreach packet. The scheduler allocatesSE style. This introduced aparticular outgoing link for packet transmission, and it may also allocate other system resources such as CPU time or buffers. In ordernew set of handles, called FHandle. Also added a preemption upcall. o Added route change notification toefficiently accommodate heterogeneous receivers and dynamic group membership and to be consistent with IP multicast, RSVP makes receivers responsible for requesting resource reservations [RSVP93]. A QoS request, typically originating in a receiver host application, will be passed to the local RSVP implementation, shown as a user daemon in Figure 1. The RSVP protocol is then used to passtherequestgeneric interface toall the nodes (routers and hosts) alongrouting. o Updated thereverse data path(s)message processing rules (Section 5). o Rewrote Appendix C on UDP encapsulation. o Removed specification of FLOWSPEC object format (but int-serv working group has since reneged on promise tothe data source(s).specify it). Braden, Zhang, et al. Expiration:SeptemberDecember 1995 [Page 3] Internet Draft RSVP SpecificationMarchJune 1995At each node, the RSVP program applies1. Introduction This document defines RSVP, alocal decision procedure, called "admission control", to determine if it can supply the requested QoS. If admission control succeeds,resource reservation setup protocol designed for an integrated services Internet [RSVP93,ISInt93]. A host uses the RSVPprogram sets parameters to the packet classifier and schedulerprotocol toobtain the desired QoS. If admission control fails at any node,request a specific quality of service (QoS) from theRSVP program returnsnetwork, on behalf of anerror indication to theapplicationthat originated the request. We refer to the packet classifier, packet scheduler, and admission control components as "traffic control".data stream. RSVP isdesignedalso used toscale well for very large multicast groups. Sincedeliver QoS requests to routers along themembershippath(s) ofa large group will be constantly changing,theRSVP design assumes thatdata stream and to maintain router and host statefor traffic controlto provide the requested service. This willbe built and destroyed incrementally. For this purpose, RSVP uses "soft state" ingenerally (but not necessarily) require reserving resources along therouters, in addition to receiver-initiation.data path. RSVPprotocol mechanisms provide a general facilityreserves resources forcreating and maintaining distributed reservation state across a mesh of multicast or unicast delivery paths. RSVP transfers reservation parameters as opaquesimplex data(except for certain well-defined operations on the data), whichstreams, i.e., itsimply passes to traffic control for interpretation. Although the RSVP protocol mechanisms are largely independent of the encoding of these parameters, the encodings must be definedreserves resources inthe reservation modelonly one direction on a link, so that a sender ispresented to an application (see Appendix A). In summary, RSVP haslogically distinct from a receiver. However, thefollowing attributes: o RSVP supports multicast or unicast data delivery and adapts to changing group membership as wellsame application may act aschanging routes. o RSVP is simplex. oboth sender and receiver. RSVPis receiver-oriented, i.e.,operates on top of IP, occupying thereceiverplace of a transport protocol in the protocol stack. However, like ICMP, IGMP, and routing protocols, RSVP does not transport application dataflowbut isresponsible forrather an Internet control protocol. As shown in Figure 1, an implementation of RSVP, like theinitiation and maintenanceimplementations of routing and management protocols, will typically execute in theresource reservation used for that flow. o RSVP maintains "soft state"background, not in therouters, enabling it to gracefully support dynamic membership changes and automatically adapt todata forwarding path. RSVP is not itself a routingchanges. oprotocol; the RSVPprovides several reservation models or "styles" (defined below)daemon consults the local routing protocol(s) tofitobtain routes. Thus, avariety of applications. ohost sends IGMP messages to join a multicast group, and it sends RSVPprovides transparent operation through routers that do not support it. Further discussion onmessages to reserve resources along theobjectives and general justification fordelivery path(s) from that group. RSVPdesign are presented in [RSVP93,ISInt93].is designed to operate with existing and future unicast and multicast routing protocols. Braden, Zhang, et al. Expiration:SeptemberDecember 1995 [Page 4] Internet Draft RSVP SpecificationMarchJune 1995The remainder of this section describes theHOST ROUTER _________________________ RSVPreservation services. Section 2 presents an overview of the______________________ | | .---------------. | | _______ ______ | . | ________ . ______ | | | | | | | . || | . | || RSVPprotocol mechanisms, while Section 3 gives examples of the services and mechanism. Section 4 contains the functional specification of RSVP. Section 5 presents explicit message processing rules. 1.1 Data Flows The set of data flows with the same unicast or multicast destination constitute a session.| |Applic-| | RSVPtreats each session independently. All<----- ||Routing | -> RSVP <------> | | App <----->daemon| | ||Protocol| |daemon|| | | | | | | || daemon <----> || | |_______| |___.__| | ||_ ._____| |__.___|| |===|===============v=====| |===v=============v====| | datapackets in a particular session are directed to the same IP destination address DestAddress, and perhaps to some further demultiplexing point defined in a higher layer (transport or application). We refer to the latter as a "generalized destination port". DestAddress is the group address for multicast delivery, or the unicast address of a single receiver. A generalized destination port could be defined by a UDP/TCP destination port field, by an equivalent field in another transport protocol, or by some application-specific information. Although the.......... | | . ............ | | | ____v_ ____v____ | | _v__v_ _____v___ | | | |Class-| | || data | |Class-| | || data | |=> ifier|=> Packet =============> ifier|==> Packet |======> | |______| |Scheduler|| | |______| |Scheduler|| | |_________|| | |_________|| |_________________________| |______________________| Figure 1: RSVPprotocolin Hosts and Routers Each router that isdesigned to be easily extendible for greater generality, the present version uses only UDP/TCP ports as generalized ports. Figure 2 illustrates the flowcapable of resource reservation passes incoming data packets to a packet classifier and then queues them as necessary in asingle RSVP session, assuming multicast data distribution.packet scheduler. Thearrows indicate data flowing from senders S1 and S2 to receivers R1, R2, and R3,packet classifier determines the route and thecloud representsQoS class for each packet. The scheduler allocates resources for transmission on thedistribution mesh createdparticular link-layer medium used bythe multicast routing protocol. Multicast distribution forwards a copy ofeachdatainterface. If the link-layer medium is QoS-active, i.e., if it has its own QoS management capability, then the packetfrom a sender Sischeduler is responsible for negotiation with the link layer toevery receiver Rj; a unicast distribution session has a single receiver R. Each sender Siobtain the QoS requested by RSVP. There are many possible ways this might be accomplished, andeach receiver Rj may correspond tothe details will be medium-dependent. The scheduler itself allocates packet transmission capacity on aunique Internet host,QoS- passive medium such as a leased line. The scheduler may also allocate other system resources such as CPU time or buffers. In order to efficiently accommodate heterogeneous receivers and dynamic group membership and to be consistent with IP multicast, RSVP makes receivers responsible for requesting resource reservations [RSVP93]. A QoS request, typically originating in asinglereceiver hostmay contain multiple logical senders and/or receivers, distinguished by generalized ports.application, will be passed to the local RSVP implementation, shown as a user daemon in Figure 1. The RSVP protocol is then used to pass the request to all the nodes (routers and hosts) along the reverse data path(s) to the data source(s). At each node, the RSVP program applies a local decision procedure, called "admission control", to determine if it can supply the Braden, Zhang, et al. Expiration:SeptemberDecember 1995 [Page 5] Internet Draft RSVP SpecificationMarchJune 1995Senders Receivers _____________________ ( ) ===> R1 S1 ===> ( Multicast ) ( ) ===> R2 ( distribution ) S2 ===> ( ) ( by Internet ) ===> R3 (_____________________) Figure 2: Multicast Distribution Session 1.2 Reservation Model An elementary RSVP reservation request consists of a "flowspec" together with a "filter spec"; this pair is called a "flow descriptor". The flowspec specifies a desiredrequested QoS.The filter spec (together withIf admission control succeeds, theDestAddressRSVP program sets parameters to the packet classifier and scheduler to obtain thegeneralized destination port definingdesired QoS. If admission control fails at any node, thesession) definesRSVP program returns an error indication to theset of data packets --application that originated the"flow" --request. We refer toreceive the QoS defined bytheflowspec. The flowspecpacket classifier, packet scheduler, and admission control components as "traffic control". RSVP isused to set parametersdesigned to scale well for very large multicast groups. Since thepacket scheduler inmembership of a large group will be constantly changing, thenode (assumingRSVP design assumes thatadmissionrouter state for traffic controlsucceeds), while the filter spec is used to set parameterswill be built and destroyed incrementally. For this purpose, RSVP uses "soft state" in thepacket classifier. The flowspecrouters, in addition to receiver-initiation. RSVP protocol mechanisms provide a general facility for creating and maintaining distributed reservationrequest will generally includestate across aservice type and two setsmesh ofnumeric parameters: (1) an " Rspec" (Rmulticast or unicast delivery paths. RSVP transfers reservation parameters as opaque data (except for`reserve'), which definescertain well-defined operations on thedesired per-hop reservation, and (2) a "Tspec" (T for `traffic'),data), whichdefines the parameters that may be used to police the data flow, i.e., to ensureitdoes not exceed its promisedsimply passes to trafficlevel. The generalcontrol for interpretation. Although the RSVPreservation model allows filter specs to select arbitrary subsetsprotocol mechanisms are largely independent of thepackets in a given session. Such subsets mightencoding of these parameters, the encodings must be defined interms of senders (i.e., sender IP address and generalized source port), in terms of a higher-level protocol, or generally in terms of any fields in any protocol headers inthepacket. For example, filter specs might be usedreservation model that is presented toselect different subflows in a hierarchically-encoded signal, by selecting on fields inanapplication-layer header. However, considerations of both architectural purityapplication (see Appendix A). In summary, RSVP has the following attributes: o RSVP supports multicast or unicast data delivery andpractical requirements have ledadapts to changing group membership as well as changing routes. o RSVP is simplex. o RSVP is receiver-oriented, i.e., thedecisionreceiver of a data flow is responsible for the initiation and maintenance of the resource reservation used for that flow. o RSVPshould use separate sessions for distinct subflowsmaintains "soft state" in the routers, enabling it to gracefully support dynamic membership changes and automatically adapt to routing changes. o RSVP provides several reservation models or "styles" (defined below) to fit a variety ofhierarchically-encoded signals. For multicast sessions, subflows can be distinguished by multicast destination address;applications. o RSVP provides transparent operation through routers that do not support it. Further discussion on the objectives and general justification forunicast sessions, they must beRSVP design are presented in [RSVP93,ISInt93]. The remainder of this section describes the RSVP reservation Braden, Zhang, et al. Expiration:SeptemberDecember 1995 [Page 6] Internet Draft RSVP SpecificationMarchJune 1995distinguished by destination port. As a resultservices. Section 2 presents an overview ofthese considerations,thepresentRSVPversion includes a quite restricted definitionprotocol mechanisms, while Section 3 gives examples offilter specs, selecting only on sender IP address and UDP/TCP port number,the services andon protocol id. However,mechanism. Section 4 contains thedesignfunctional specification of RSVP. Section 5 presents explicit message processing rules. 1.1 Data Flows The set of data flows with theprotocol would easily handle a more general definition in future versions. Anysame unicast or multicast destination constitute a session. RSVP treats each session independently. All data packetsthat are addressed toin a particular sessionbut do not match any of the filter specs for that session will be sent as best-effort traffic. Under congested conditions, such packetsarelikelydirected toexperience long delaysthe same IP destination address DestAddress, andmay be dropped. A receiver may wishperhaps toconserve network resources by explicitly asking the networksome further demultiplexing point defined in a higher layer (transport or application). We refer todrop those data packets for which therethe latter as a "generalized destination port". DestAddress isno reservation; however, such dropping shouldthe group address for multicast delivery, or the unicast address of a single receiver. A generalized destination port could beperformed by routing, notdefined byRSVP. Determining where packets get delivered should bearouting function;UDP/TCP destination port field, by an equivalent field in another transport protocol, or by some application-specific information. Although the RSVP protocol isconcerneddesigned to be easily extendible for greater generality, the present version uses onlywithUDP/TCP ports as generalized ports. Figure 2 illustrates theQoSflow ofthosedata packetsthat are delivered by routing.in a single RSVPreservation request messages originate atsession, assuming multicast data distribution. The arrows indicate data flowing from senders S1 and S2 to receivers R1, R2, and R3, andare passed upstream towardsthesender(s). (Note that this document always usescloud represents thedirectional terms "upstream" vs. "downstream", "previous hop" vs. "next hop", and "incoming interface" vs "outgoing interface" with respect todistribution mesh created by thedata flow direction). When anmulticast routing protocol. Multicast distribution forwards a copy of each data packet from a sender Si to every receiver Rj; a unicast distribution session has a single receiver R. Each sender Si and each receiver Rj may correspond to a unique Internet host, or a single host may contain multiple logical senders and/or receivers, distinguished by generalized ports. Senders Receivers _____________________ ( ) ===> R1 S1 ===> ( Multicast ) ( ) ===> R2 ( distribution ) S2 ===> ( ) ( by Internet ) ===> R3 (_____________________) Figure 2: Multicast Distribution Session Braden, Zhang, et al. Expiration: December 1995 [Page 7] Internet Draft RSVP Specification June 1995 Even if the destination address is unicast, there may be multiple receivers, distinguished by the generalized port. There may also be multiple senders for a unicast destination, i.e., RSVP can set up reservations for multipoint-to-point transmission. 1.2 Reservation Model An elementary RSVP reservation requestis received atconsists of anode, the RSVP daemon takes two primary actions. 1. Make"flowspec" together with areservation"filter spec"; this pair is called a "flow descriptor". The flowspecand thespecifies a desired QoS. The filter specare passed to traffic control. Admission Control determines(together with theadmissibility ofDestAddress and therequest (if it's new); if it fails this test,generalized destination port defining thereservation is rejected and RSVP sends back an error message towardssession) defines theresponsible receiver(s). If it passes,set of data packets -- the "flow" -- to receive the QoS defined by the flowspec. The flowspec is used to setupparameters to the node's packet schedulerfor the desired QoS and(assuming that admission control succeeds), while the filter spec is used to set parameters in the packetclassifierclassifier. Note that the action toselectcontrol the QoS occurs at the place where theappropriatedatapackets. 2. Forwardenters the medium, i.e., at the upstream end of the link, although the RSVP reservationupstream.request originates from receiver(s) downstream. The flowspec in a reservation requestis propagated upstream towards the appropriate senders. The setwill generally include a service type and two sets ofsenders tonumeric parameters: (1) an "Rspec" (R for `reserve'), which defines the desired per-hop reservation, and (2) agiven reservation request is propagated is called"Tspec" (T for `traffic'), which defines the"scope" of that request. The reservation requestparameters thata node forwards upstreammaydiffer frombe used to police therequest that it received, for two reasons. First,data flow, i.e., to ensure itis possible (at least in theory) fordoes not exceed its promised traffic level. The form and contents of Tspecs and Rspecs are determined by thekernelintegrated service model [ServTempl95a], and are generally opaque tomodify the flowspec hop-by-hop (although currently no realtime services do Braden, Zhang, et al. Expiration: September 1995 [Page 7] Internet DraftRSVP. RSVPSpecification March 1995 this). Second, reservations from different downstream branches ofdelivers themulticast distribution tree(s) must be "merged" as reservations travel upstream. Merging reservationsTspec and Rspec, together with an indication whether traffic policing isa necessary consequence of multicast distribution, which creates a single stream of data packets in a particular router from any Si, regardless ofneeded to thesetadmission control and packet scheduling components ofreceivers downstream. The reservationtraffic control. A service that requires traffic policing might forSi on a particular outgoing link L should beexample apply it at the"maximum"edge of theindividual flowspecs from the receivers Rj that are downstream via link L. Merging is discussed further in Section 2.3. For both ofnetwork and at data merge points; RSVP knows when theseprimary actions, there are options controlled by the receiver makingoccur and must so indicate to thereservation. These options are combined into atraffic controlvariable calledmechanism. On thereservation "style", which is discussed in section 1.3. One option concernsother hand, RSVP cannot interpret thetreatment of reservations for different senders withinservice embodied in thesame session: establishflowspec and therefore does not know whether policing will actually be applied in a"distinct"particular case. In the general RSVP reservationfor each upstream sender, or else "mix" all senders'model [RSVP93], filter specs may select arbitrary subsets of the packetsintoin asingle reservation. Another option controls the scopegiven session. Such subsets might be defined in terms ofthe request: "unitary"senders (i.e.,a single specified sender), an explicitsenderlist, orIP address and generalized source port), in terms of a"wildcard" that implicitly selects all senders upstreamhigher-level protocol, or generally in terms of any fields in any protocol headers in thegiven node. The basic RSVP reservation model is "one pass": a receiver sendspacket. For example, filter specs might be used to select different subflows in areservation request upstream, and each nodehierarchically-encoded signal by selecting on fields in an application-layer header. However, in Braden, Zhang, et al. Expiration: December 1995 [Page 8] Internet Draft RSVP Specification June 1995 thepath can only accept or reject the request. This scheme provides no wayinterest of simplicity (and tomake end-to-end service guarantees;minimize layer violation), theQoS request is applied independently at each hop.present RSVPalso supports an optional reservation model, known as " One Pass With Advertising" (OPWA) [Shenker94]. In OPWA,version uses a much more restricted form of filter spec: select only on sender IP address, on UDP/TCP port number, and perhaps on IP protocol id. RSVPcontrolcan distinguish subflows of a hierarchically-encoded signal if they are assigned distinct multicast destination addresses, or, for a unicast destination, distinct destination ports. Data packetssent downstream, following the data paths,that areusedaddressed togather information on the end-to-end service that would result fromavarietyparticular session but do not match any ofpossible reservation requests. The results ("advertisements")the filter specs for that session aredelivered by RSVPexpected tothe receiver host,be sent as best-effort traffic, andperhapsunder congested conditions, such packets are likely tothe receiver application. The informationexperience long delays, and they maythenbeused by thedropped. When a receiver does not wish toconstruct an appropriate reservation request. 1.3 Reservation Styles Each RSVP reservation request specifiesreceive a"reservation style". The following reservation styles are defined in this version ofparticular (sub-)flow, it can economize on network resources by explicitly asking theprotocol. 1. Wildcard-Filter (WF) Style The WF style specifiesnetwork to drop unneeded theoptions: "mixing" reservation and " wildcard" reservation scope. Thus, a WF-style reservation creates a single reservation intodata packets; it does so by leaving the multicast group(s) to whichflows from all upstream sendersthese packets aremixed. This reservation mayaddressed. Thus, determining where packets get delivered should bethought Braden, Zhang, et al. Expiration: September 1995 [Page 8] Internet Draft RSVP Specification March 1995 ofashared "pipe", whose "size"routing function; RSVP is concerned only with thelargestQoS ofthe resource requests forthose packets thatlink from all receivers, independent of the number of senders using it. A WF-style reservation has wildcard scope, i.e., theare delivered by routing. RSVP reservationis propagatedrequest messages originate at receivers and are passed upstream towardsall senders. A WF-style reservation automatically extends to new senders tothesession as they appear. 2. Fixed-Filter (FF) Style The FF style specifiessender(s). (This document defines theoptions: "distinct" reservationdirectional terms "upstream" vs. "downstream", "previous hop" vs. "next hop", anda "unitary" reservation scope. Thus,"incoming interface" vs "outgoing interface" with respect to the data flow direction.) When an elementaryFF- stylereservation requestcreates a distinct reservation for data packets fromis received at aparticular sender, not mixing them with other senders' packets fornode, thesame session.RSVP daemon takes two primary actions: 1. Daemon makes a reservation Thetotalflowspec and the filter spec are passed to traffic control. Admission control determines the admissibility of the request (if it's new); if this test fails, the reservationon a link for a given sessionis rejected and RSVP returns an error message to thetotal ofappropriate receiver(s). If admission control succeeds, theFF reservationsnode uses the flowspec to set up the packet scheduler forall requested senders. Ontheother hand, FF reservations requested by different receivers Rj but selectingdesired QoS and thesame sender Si must necessarily be mergedfilter spec toshare a singleset the packet classifier to select the appropriate data packets. 2. Daemon forwards the reservationinupstream The reservation request is propagated upstream towards the appropriate senders. The set of sender hosts to which a givennode. WF reservations are appropriate for those multicast applications whose application-specific constraints make it unlikely that multiple data sources will transmit simultaneously. One example is audio conferencing, where a limited number of people talk at once; each receiver might issue a WFreservation requestfor twice one audio channel (to allow some over-speaking). On the other hand, the FF style, which creates independent reservations for the flows from different senders,isappropriate for video signals. The WF and FF styles are incompatible and cannot be combined within a session. Other reservation styles may be defined inpropagated is called thefuture (see Appendix C). 2. RSVP Protocol Mechanisms 2.1 RSVP Messages There are two fundamental RSVP message types, RESV messages and PATH messages. Each receiver host sends RSVP"scope" of that request. The reservation request(RESV) messages towards the senders. These reservation messages must follow in reverse the routes the data packets will use, all the waythat a node forwards upstreamto the senders within the scope. RESV messages are delivered tomay differ from thesender hosts, sorequest thatthe hosts can set up appropriate trafficit received, for two reasons. First, it is Braden, Zhang, et al. Expiration:SeptemberDecember 1995 [Page 9] Internet Draft RSVP SpecificationMarchJune 1995control parameterspossible (in theory) for thefirst hop. If a reservation request fails at any node, an RSVP error message is returnedkernel to modify thereceiver; however, RSVP sendsflowspec hop- by-hop, although currently nopositive acknowledgment messages to indicate success. Sender Receiver _____________________ Path --> ( ) Si =======> ( Multicast ) Path --> <-- Resv ( ) =========> Rj (realtime services do this. Second, reservations from different downstream branches of the multicast distribution) <-- Resv (_____________________) Figure 3: RSVP Messages Each sender transmits RSVP PATH messages forward along the uni- /multicast routes provided by the routing protocol(s); see Figure 3. These "Path" messages store path state in each node. Path statetree(s) must be "merged" as reservations travel upstream. Merging reservations isused by RSVP to route the RESV messages hop-by-hop in the reverse direction. (In the future, some routing protocols may supply reverse path forwarding information directly, without path state). PATH messages may also carry the following information: o Sender Template The Sender Template describes the formata necessary consequence of multicast distribution, which creates a single stream of data packetsthat the sender will originate. This template isin a particular router from any Si, regardless of theformset of receivers downstream. The reservation for Si on afilter spec that couldparticular outgoing link L should beused to select this sender's packets from others inthesame session on"maximum" of thesame link. o Tspecindividual flowspecs from the receivers Rj that are downstream via link L. Merging is discussed further in Section 2.2. ThePATH message may optionally carrybasic RSVP reservation model is "one pass": aflowspec containing onlyreceiver sends aTspec, defining an upper bound onreservation request upstream, and each node in thetraffic level thatpath can only accept or reject thesender will generate.request. ThisTspec can be used by RSVPscheme provides no way toprevent over-reservation (and perhaps unnecessary Admission Control failure) onmake end-to-end service guarantees, since thenon-shared links startingQoS request must be applied independently atthe sender. o Adspec The PATH message may carry a package of OPWA advertising information,each hop. RSVP also supports an optional reservation model, known as "One Pass With Advertising" (OPWA) [Shenker94]. In OPWA, RSVP control packets sent downstream, following the data paths, are used to gather information on the end-to-end service that would result from a variety of possible reservation requests. The results ("advertisements") are delivered by RSVP to the receiver host, and perhaps to the receiver application. The information may then be used by the receiver to construct an"Adspec".appropriate reservation request. 1.3 Reservation Styles A reservation request includes a set of control options. One option concerns the treatment of reservations for different senders within the same session: establish a "distinct" reservation for each upstream sender, or else make a single reservation that is "shared" all senders' packets. A distinct reservation requires that the filter spec match exactly one sender, a wildcard reservation must match at least one. Another option controls the scope of the request: an " explicit" sender specification, or a "wildcard" that implicitly selects all sender hosts upstream of the given node. These control options are collectively called the reservation "style", as shown in Figure 3. Braden, Zhang, et al. Expiration:SeptemberDecember 1995 [Page 10] Internet Draft RSVP SpecificationMarchJune 1995Previous Incoming Outgoing Next Hops Interfaces Interfaces Hops _____ _____________________ _____ | | data --> | | data --> | | | A |-----------| a c |--------------| C | |_____| <-- Resv | | <-- Resv |_____| Path --> | | Path --> _____ _____ | ROUTER|| Reservations: Scope || Distinct | Shared _________||__________________|____________________ || | | Explicit || Fixed-Filter | Shared-Explicit | || (FF) style | (SE) Style | __________||__________________|____________________| || | ||--| DWildcard || (None defined) | Wildcard-Filter |B |--| data-->||| |data -->(WF) Style ||_____| |_____| |--------| b d |-----------| |<-- Resv| | <-- Resv | _____ _____ | Path-->|_____________________| Path --> | | | | | | |--| D' | | B' |--| | |_____| |_____| | | Figure 4: Router Using RSVP__________||__________________|____________________| Figure4 illustrates RSVP's model of a router node. Each data stream arrives from a previous hop through a corresponding incoming interface3: Reservation Attributes anddeparts through one or more outgoing interface(s).Styles Thesame physical interface may act in bothstyles currently defined are as follows: 1. Wildcard-Filter (WF) Style The WF style implies theincomingoptions: "shared" reservation andoutgoing roles (for different data" wildcard" reservation scope. Thus, a WF-style reservation creates a single reservation into which flowsbut the same session). As illustrated in Figure 4, therefrom all upstream senders are mixed; this reservation may bemultiple previous hops and/or next hops through a given physical interface. This may result from the connected network beingthought of as a sharedmedium or"pipe", whose "size" is the largest of the resource requests for that link from all receivers, independent of theexistencenumber ofnon-RSVP routers insenders using it. A WF-style reservation has wildcard scope, i.e., thepathreservation is propagated upstream towards all sender hosts. A WF-style reservation automatically extends to new senders as they appear. 2. Fixed-Filter (FF) Style The FF style implies thenext RSVP hop (see Section 2.6). An RSVP daemon must preserve the nextoptions: "distinct" reservations andprevious hop addresses in its"explicit" reservationand path state, respectively. A RESV message is sent withscope. Thus, an elementary FF-style reservation request creates aunicast destination address, the address ofdistinct reservation for data packets from aprevious hop. PATH messages, on the other hand, are sentparticular sender, not sharing them withthe session destination address, unicast or multicast. Although multiple next hops may send reservation requests throughother senders' packets for the samephysical interface, the final effect should be to install a reservation on that interface, whichsession. It scope isdefineddetermined by aneffective flowspec. This effective flowspec will beexplicit list of senders. The total reservation on a link for a given session is the"maximum"total of theflowspecsFF reservations for all requestedbysenders. On the other hand, FF reservations requested by differentnext hops. In turn, a RESV message forwardedreceivers Rj but selecting the same sender Si must necessarily be merged to share aparticular previous hop carriessingle reservation in aflowspec that is the "maximum" over the effective reservations on thegiven node. Braden, Zhang, et al. Expiration:SeptemberDecember 1995 [Page 11] Internet Draft RSVP SpecificationMarchJune 1995corresponding outgoing interfaces. Both cases represent merging,3. Shared Explicit (SE) Style The SE style implies the options: "shared" reservation and " explicit" reservation scope. Thus, an SE-style reservation creates a single reservation into whichis discussed further below. Thereflows from all upstream senders are mixed. However, like anumber of ways for a newFF reservationrequest to fail in a given node. 1. There may be no matching path state (i.e.,the set of senders (and therefore its scopemay empty), which would prevent the reservation being propagated upstream. 2. Its style may be incompatible with(and therefore thestyle(s) of existing reservations forscope) is specified explicitly by thesame session onreceiver making thesame outgoing interface, so an effective flowspec cannot be computed. 3. Its style may be incompatible with the style(s) of reservationsreservation. WF and SE are both shared reservations, appropriate for those multicast applications whose application-specific constraints make it unlikely thatexist on other outgoing interfaces butmultiple data sources willbe merged with this reservation whentransmit simultaneously. One example is audio conferencing, where arefresh message to createlimited number of people talk at once; each receiver might issue arefresh messageWF or SE reservation request for twice one audio channel (to allow some over-speaking). On theprevious hop. 4. The effective flowspec may fail admission control. In any of these cases, an error message is returned toother hand, thereceiver(s) responsibleFF style, which creates independent reservations for themessage, but any existing reservationflows from different senders, isleft in place. This preventsappropriate for video signals. It is not possible to merge shared reservations with distinct reservations. Therefore, WF and SE styles are incompatible with FF, but are compatible with each other. Merging anew, very large,WF style reservationfrom disrupting the existing QoS by mergingwith anexisting reservation and then failing admission control. 2.2 Soft State To maintainSE style reservationstate, RSVP keeps "soft state"results inroutera WF reservation. Other reservation options andhost nodes.styles may be defined in the future (see Appendix D.4, for example). 2. RSVPsoft state is createdProtocol Mechanisms 2.1 RSVP Messages There are two fundamental RSVP message types: RESV andperiodically refreshed byPATHand RESV messages. The state is deleted if no refreshes arrive before. Each receiver host sends RSVP reservation request (RESV) messages towards theexpiration of a "cleanup timeout" interval; it may also be deleted as the result of an explicit "Teardown" message. It is not necessary (although it may be desirable, sincesenders. These reservation messages must follow in reverse theresources being consumed may be "valuable"), to explicitly tear down an old reservation. When a route changes,routes thenext PATH messagedata packets willinitializeuse, all thepath state onway upstream to thenew route, and futuresender hosts included in the scope. RESV messageswill establish reservation state, while the state onmust be delivered to thenow-unused segment ofsender hosts so that theroute will time out. Thus, whether a message is "new" or a "refresh" is determined separately at each node, depending uponhosts can set up appropriate traffic control parameters for theexistence of state atfirst hop. Also note thatnode. (This document uses the term "refresh message" in this effective sense,RSVP sends no positive acknowledgment messages to indicatean RSVP message that does not modifysuccess (although theexisting statedelivery of a reservation request to a sender could be used to trigger an acknowledgement atthe node in question.)a higher level of protocol.) Braden, Zhang, et al. Expiration:SeptemberDecember 1995 [Page 12] Internet Draft RSVP SpecificationMarchJune 1995In addition to the cleanup timeout, there is a "refresh timeout" period. As messages arrive, theSender Receiver _____________________ Path --> ( ) Si =======> ( Multicast ) Path --> <-- Resv ( ) =========> Rj ( distribution ) <-- Resv (_____________________) Figure 4: RSVPdaemon checks them against the existing state; if it matches,Messages Each sender transmits RSVP PATH messages forward along thecleanup timeout timer onuni- /multicast routes provided by thestate is reset and the message is dropped. At the expiration ofrouting protocol(s); see Figure 4. These "Path" messages store path state in eachrefresh timeout period, RSVP scans itsnode. Path state is used by RSVP tobuild and forward PATH androute the RESVrefreshmessagesto succeeding hops. RSVP sends its messages as IP datagrams without reliability enhancement. Periodic transmissionhop-by-hop in the reverse direction. (In the future, some routing protocols may supply reverse path forwarding information directly, replacing the reverse-routing function ofrefreshpath state). PATH messagesby hosts and routers is expected to replace any lost RSVP messages. To tolerate K successive packet losses,may also carry theeffective cleanup timeout must be at least K timesfollowing information: o Sender Template The Sender Template describes therefresh timeout. In addition,format of data packets that thetraffic control mechanismsender will originate. This template is in thenetwork shouldform of a filter spec that could bestatically configured to grant high-reliability service to RSVP messages,used toprotect RSVP messagesselect this sender's packets fromcongestion losses. In steady state, refreshing is performed hop-by-hop, which allows merging and packing as describedothers in thenext section. However, if the received state differs fromsame session on thestored state,same link. Like a filter spec, thestored stateSender Template isupdated. Furthermore, ifless than fully general at present, specifying only sender IP address, UDP/TCP sender port, and protocol id. The port number and/or protocol id can be wildcarded. o Tspec PATH message may optionally carry a Tspec that defines an upper bound on theresulttraffic level that the sender will generate. This Tspec can be used by RSVP tomodify the refresh messages to be generated, these refresh messages must be generated and forwarded immediately. This will result in changes propagating end-to-end without delay. However, propagation of a change stops when and if it reaches a point where merging causes no resulting state change; this minimizes RSVP control traffic due to changes, and is essential for scaling to large multicast groups. The "soft" router state maintained by RSVP is dynamic; to change the set of senders Si or receivers Rj or to change any QoS request, a host simply starts sending revised PATH and/or RESV messages. The result should be the appropriate adjustment inprevent over- reservation (and perhaps unnecessary Admission Control failure) on thedistributed RSVP state, and immediate propagation tonon-shared links starting at thesucceeding nodes. The RSVP state associated with a session in a particular node is divided into atomic elements that are created, refreshed, and timed out independently.sender. o Adspec Theatomicity is determined by the requirement that any sender or receiver may enter or leave the session at any time, and its state should be created and timed out independently. Management of RSVP state is complex because therePATH message maynot becarry aone-to-one correspondence between state carried in RSVP control messages and the resulting statepackage of OPWA advertising information, known as an "Adspec". An Adspec received innodes. Due to merging,asinglePATH messagecontain state referring to multiple stored elements. Conversely, dueis passed toreservation sharing, a single stored state element may depend upon (typically,themaximum of) state values received in multiplelocal traffic controlmessages. Braden, Zhang, et al.routines, which return an updated Adspec; the updated version is Braden, Zhang, et al. Expiration:SeptemberDecember 1995 [Page 13] Internet Draft RSVP SpecificationMarchJune 19952.3 Merging and Packingforwarded downstream. Previous Incoming Outgoing Next Hops Interfaces Interfaces Hops _____ _____________________ _____ | | data --> | | data --> | | | A |-----------| a c |--------------| C | |_____| <-- Resv | | <-- Resv |_____| Path --> | | Path --> _____ _____ | ROUTER | | | | | | | | | |--| D | | B |--| data-->| | data --> | |_____| |_____| |--------| b d |-----------| |<-- Resv| | <-- Resv | _____ _____ | Path-->|_____________________| Path --> | | | | | | |--| D' | | B' |--| | |_____| |_____| | | Figure 5: Router Using RSVP Figure 5 illustrates RSVP's model of a router node. Each data stream arrives from a previoussection explained that reservation requestshop through a corresponding incoming interface and departs through one or more outgoing interface(s). The same physical interface may act inRESV messages are necessarily merged, to matchboth themulticast distribution tree.incoming and outgoing roles (for different data flows but the same session). As illustrated in Figure 5, there may be multiple previous hops and/or next hops through aresult, only the essential (i.e.,given physical interface. This may result from the"largest") reservation requests are forwarded, once per refresh period. A successful reservation request will propagate as far asconnected network being a shared medium or from theclosest point(s) alongexistence of non-RSVP routers in thesink treepath to thesender(s) where a reservation level equal or greater than that being requested has been made. At that point, the merging process will drop it in favor of another, equal or larger, reservation request. Although flowspecs are opaque to RSVP, annext RSVP hop (see Section 2.6). An RSVP daemon mustbe able to calculatepreserve the"largest" of a set of flowspecs. Thisnext and previous hop addresses in its reservation and path state, respectively. A RESV message isrequired both to calculatesent with a unicast destination address, theeffective flowspec to install onaddress of agiven physical interface (seeprevious hop. PATH messages, on thediscussion in connectionother hand, are sent withFigure 4), andthe session destination address, unicast or multicast. Although multiple next hops may send reservation requests through the same physical interface, the final effect should be tomerge flowspecs when sendinginstall arefresh message upstream. Since flowspecs are generally multi-dimensional vectors (they contain both Tspec and Rspec components, each ofreservation on that interface, whichmay itselfis defined by an effective flowspec. This effective flowspec will bemulti-dimensional), they are not strictly ordered. When it cannot takethelarger"maximum" oftwo flowspecs,the flowspecs requested by the different next hops. In turn, a RESV Braden, Zhang, et al. Expiration: December 1995 [Page 14] Internet Draft RSVPmust compute and useSpecification June 1995 message forwarded to a particular previous hop carries athirdflowspec that isat least as large as each, i.e., a "least upper bound" (LUB). It is also possible for two flowspecs to be incomparable, which is treated as an error. The definition and implementation oftherules for comparing flowspecs are outside RSVP proper, but they are defined as part of"maximum" over theservice templates. For protocol efficiency, RSVP also allows multiple setseffective reservations on the corresponding outgoing interfaces. Both cases represent merging, which is discussed further below. There are a number ofpath (or reservation) informationways forthe same sessiona new or modified reservation request tobe "packed" intofail in asingle PATH (or RESV) message, respectively. (For simplicity,given node: 1. The effective flowspec, computed using theprotocol prohibits packing different sessions intonew request, may fail admission control. 2. Administrative policy or control may prevent thesame RSVP message). 2.4 Teardown RSVP teardown messages removerequested reservation. 3. There may be no matching pathand reservationstatewithout waiting for(i.e., thecleanup timeout period, as an optimization to release resources quickly. Although teardown messages (like other RSVP messages) are not delivered reliably,scope may be empty), which would prevent thestate will time out even if it is not explicitly deleted.reservation being propagated upstream. 4. Ateardown requestreservation style that requires a unique sender maybe initiated either by an application in an end system (sender or receiver), or byhave arouter asfilter spece that matches more than one sender in theresultpath state, due to the use ofstate timeout. A routerwildcards. 5. The requested style mayalso initiate a teardown message asbe incompatible with theresultstyle(s) ofrouter or link failures detected byexisting reservations for therouting protocol. Once initiated, a teardown request shouldsame session on the same outgoing interface, so an effective flowspec cannot beforwarded Braden, Zhang, et al. Expiration: September 1995 [Page 14] Internet Draft RSVP Specification March 1995 hop-by-hop without delay. To increasecomputed. 6. The requested style may be incompatible with thereliability of teardown, Q copiesstyle(s) ofany given teardown message can be sent. Notereservations that exist on other outgoing interfaces but will be merged with this reservation to create anode cannot actually delete the state being torn down until it has sent Q Teardown messages; it must placerefresh message for thestate in a "moribund" status meanwhile. The appropriate valueprevious hop. In any ofQ isthese cases, anengineering issue. Q = 1 would beerror message is returned to thesimplest andreceiver(s) responsible for the erroneous message, which may or may not beadequate, since unrefreshedpropagated forward along the path. An error message does not modify state in the nodes through which it passes. Therefore, any reservations established downstream of the node where the failure was detected willtime out anyway; teardownpersist until the receiver(s) responsible cease attempting the reservation. In general, if the error isan optimization. If one or more Teardown message hops are lost,likely to be repeated at every node further along therouter that failedpath, it is best toreceive a Teardown message will time out its state and initiate a new Teardown message beyonddrop theloss point. Assuming that RSVPerrneous messageloss probabilityrather than generate a flood of error messages; this issmall,thelongest time to delete state will seldom exceed one refresh timeout period. There arecase for the last four error classes listed above. The first twotypeserror classes, admission control and administrative policy, may or may not allow propagation ofRSVP Teardownthe message,PTEARdepending upon the detailed reason andRTEAR. A PTEARperhaps on local administrative policy and/or the particular service request. More complete rules are given in the Braden, Zhang, et al. Expiration: December 1995 [Page 15] Internet Draft RSVP Specification June 1995 error definitions in Appendix B. An erroneous FILTER_SPEC object in a RESV messagetravels towards all receivers downstreamwill normally be detected at the first RSVP hop fromits point of initiation and tears down path statethe receiver application, i.e., within the receiver host. However, an admission control failure caused by a FLOWSPEC or a POLICY_DATA object may be detected anywhere along theway. A RTEAR message tears downpath(s) to the sender(s). When admission control fails for a reservation request, any existing reservation is left in place. This prevents a new, very large, reservationstate and travels towards all senders upstreamfromits point of initiation.disrupting the existing QoS by merging with an existing reservation and then failing admission control (this has been called the "killer reservation" problem). APTEAR (RTEAR) messagenode may beconceptualized as a reversed-sense Path message (Resv message, respectively). A teardown message deletes the specified stateallowed to preempt an established reservation, inthe node where it is received. Like any other state change,accordance with administrative policy; this willbe propagated immediatelyalso trigger an error message to all affected receivers. 2.2 Merging and Packing A previous section explained that reservation requests in RESV messages are necessarily merged, to match thenext node, but only if it represents a change.multicast distribution tree. As a result,an RTEAR message will pruneonly the essential (i.e., the "largest") reservationstate back (only)requests are forwarded, once per refresh period. A successful reservation request will propagate as far aspossible. Note thattheRTEAR message will cease to be forwarded atclosest point(s) along thesame nodesink tree to the sender(s) where a reservation level equal or greater than that being requested has been made. At that point, the mergingsuppresses forwardingprocess will drop it in favor of another, equal or larger, reservation request. For protocol efficiency, RSVP also allows multiple sets of path (or reservation) information for thecorresponding RESV messages. The change willsame session to bepropagated as"packed" into anew teardown message ifsingle PATH (or RESV) message, respectively. (For simplicity, theresult has been to remove all state for this session at this node. However,protocol currently prohibits packing different sessions into theresult may simplysame RSVP message). Unlike merging, packing preserves information. In order to merge reservations, RSVP must be able tochange the propagated information; thus,merge flowspecs and to merge filterspecs. Merging flowspecs requires calculating thereceipt of a RTEAR message may result intheimmediate forwarding"largest" of amodified RESV refresh message. Deletionset ofpath state, whether asflowspecs, which are otherwise opaque to RSVP. Merging flowspecs is required both to calculate theresult ofeffective flowspec to install on ateardown message or because of timeout, may force adjustments in ordergiven physical interface (see the discussion inrelated reservation stateconnection with Figure 5), and tomaintain consistency in the local node. For example,merge flowspecs when sending aPTEAR deletesrefresh message upstream. Since flowspecs are generally multi-dimensional vectors (they contain both Tspec and Rspec components, each of which may itself be multi-dimensional), they are not strictly ordered. When it cannot take thepath state forlarger of two flowspecs, RSVP must compute and use asender S, the adjustment in reservation depends upon the style: if the style is WF and S is the only sender to the session, delete the reservation; if the style is FF, delete only reservations for sender S. These reservation changes should not trigger an immediate RESV refresh message, since the teardown message will have already made the required changes upstream. However, at the node in which an RTEAR message stops, the change of reservation state may trigger a RESV refresh starting at that node.Braden, Zhang, et al. Expiration:SeptemberDecember 1995 [Page15]16] Internet Draft RSVP SpecificationMarchJune 19952.5 Security There are two distinct types of security concerns in RSVP. 1. Protecting RSVP Message Integritythird flowspec that is at least as large as each, i.e., a "least upper bound" (LUB). Itmay be necessaryis also possible for two flowspecs toensure the integrity of RSVP messages against corruption or spoofing, hop by hop. RSVP messages have an optional integrity field that canbecreatedincomparable, which is treated as an error. The definition andverified by neighboring RSVP nodes. 2. Authenticating Reservation Requests RSVP-mediated resource reservations may reserve network resources, providing special treatmentimplementation of the rules fora particular setcomparing flowspecs are outside RSVP proper, but they are defined as part ofusers. Administrative mechanisms will be necessary to control who gets privilegedthe serviceand to collect billing information. These mechanisms may require secure authentication of senders and/or receivers responsibletemplates [ServTempl95a] We can now give the complete rules for calculating thereservation. RSVP messages may contain credential informationeffective flowspec (Te, Re), toverify user identity. The RSVP packet formats provide for both; see Section 4. 2.6 Automatic RSVP Tunneling Itbe installed on an interface. Here Te isimpossible to deploy RSVP (or any new protocol) atthesame moment throughouteffective Tspec and Re is theentire Internet. Furthermore, RSVP may never be deployed everywhere. RSVP must therefore provide correct protocol operation even when two RSVP-capable routers are joined by an arbitrary "cloud" of non-RSVP routers. Of course,effective Rspec. As anintermediate cloud that does not support RSVPexample, consider interface (d) in Figure 5. o Re isunable to perform resource reservation, so service guarantees cannot be made. However,calculated as the largest (using an LUB ifthere is sufficient excess capacity through such a cloud, acceptablenecessary) of the Rspecs in RESV messages from different next hops (e.g., D anduseful realtime serviceD') but the same outgoing interface (d). o The Tspecs supplied in PATH messages from different previous hops which maystill be possible. RSVP will automatically tunnel through such a non-RSVP cloud. Both RSVPsend data packets to this reservation (e.g., some or all of A, B, andnon-RSVP routers forward PATHB' in Figure 5) are summed; call this sum Path_Te. o The maximum Tspec supplied in RESV messagestowards the destination address using their local uni-/multicast routing table. Therefore,from different next hops (e.g., D and D') is calculated; call this Resv_Te. o Te is theroutingGLB (greatest lower bound) ofPath messages will be unaffectedPath_Te and Resv_Te. For Tspecs defined bynon-RSVP routers in the path. When a PATH message traverses a non-RSVP cloud, the copies that emerge will carry as a Previous Hop addresstoken bucket parameters, this means to take theIP addresssmaller of thelast RSVP-capable router before enteringbucket size and thecloud. This will effectively construct a tunnelrate parameters. Two filter specs can be merged only they are identical or if one contains the other through wild-carding. The result is thecloud for RESV messages, which willmore general of the two, i.e., the one with more wildcard fields. 2.3 Soft State To maintain reservation state, RSVP keeps "soft state" in router and host nodes. RSVP soft state is created and periodically refreshed by PATH and RESV messages. The state is deleted if no refreshes arrive before the expiration of a "cleanup timeout" interval; it may also beforwarded directly todeleted as the result of an explicit "teardown" message. When a route changes, the nextRSVP-capable routerPATH message will initialize the path state on thepath(s) back towardsnew route, and future RESV messages will establish reservation state; thesource.state on the now-unused segment of the route will time out. Thus, whether a message is "new" or a "refresh" is determined separately at each node, depending upon the existence of state at that node. (This document uses the term "refresh message" in this effective sense, to indicate an RSVP Braden, Zhang, et al. Expiration:SeptemberDecember 1995 [Page16]17] Internet Draft RSVP SpecificationMarchJune 1995Automatic tunneling ismessage that does notperfect;modify the existing state at the node insome circumstances it may distribute path informationquestion.) In addition toRSVP-capable routers not included inthedata distribution paths, which may create unused reservations at these routers. Thiscleanup timeout, there isbecause PATHa "refresh timeout" period. As messagescarryarrive, theIP source address ofRSVP daemon checks them against theprevious hop, not ofexisting state; if it matches, theoriginal sender,cleanup timeout timer on the state is reset andmulticast routing may depend uponthesource as well asmessage is dropped. At thedestination address. This can be overcome by manual configurationexpiration ofthe neighboringeach refresh timeout period, RSVPprograms, when necessary. 2.7 Session Groups Section 1.2 explained that a distinct destination address,scans its state to build andtherefore a distinct session, will be used for each of the subflows in a hierarchically encoded flow. However, these separate sessions are logically related. For example it may be necessaryforward PATH and RESV messages topass reservations for all subflowssucceeding hops. RSVP sends its messages as IP datagrams without reliability enhancement. Periodic transmission of refresh messages by hosts and routers is expected toAdmission Control atreplace any lost RSVP messages. To tolerate K-1 successive packet losses, thesame time (since it wouldeffective cleanup timeout must benonsense to admit high frequency components but rejectat least K times thebaseband component ofrefresh timeout. In addition, thesession data). Such a logical grouping is indicatedtraffic control mechanism in the network should be statically configured to grant high-reliability service to RSVPby defining a "session group", an ordered set of sessions. To declare that a set of sessions form a session group, a receiver includes a data structure we call a SESSION_GROUP objectmessages, to protect RSVP messages from congestion losses. In steady state, refreshing is performed hop-by-hop, which allows merging and packing as described in theRESV message for each ofprevious section. If thesessions. A SESSION_GROUP object contains four fields: a reference address, a session group ID, a count, and a rank. o The reference address is an agreed-upon choicereceived state differs fromamongtheDestAddress values ofstored state, thesessions instored state is updated. Furthermore, if thegroup, for exampleresult will be to modify thesmallest numerically. o The session group IDrefresh messages to be generated, these refresh messages must be generated and forwarded immediately. This will result in state changes propagating end-to-end without delay. However, propagation of a change stops when and if it reaches a point where merging causes no resulting state change. This minimizes RSVP control traffic due to changes and isusedessential for scaling todistinguish different groups with the same reference address. olarge multicast groups. Thecount"soft" router state maintained by RSVP is dynamic; to change thenumberset ofmembers in the group. osenders Si or receivers Rj or to change any QoS request, a host simply starts sending revised PATH and/or RESV messages. Therank,result should be aninteger between 1 and count, is differentappropriate adjustment ineach session ofthesession group. The SESSION_GROUP objects forRSVP state and immediate propagation to allsessions in the group will contain the same values of the reference address,nodes along the path. The RSVP state associated with a sessiongroup ID,in a particular node is divided into atomic elements that are created, refreshed, andthe count value.timed out independently. Therank values establishesatomicity is determined by thedesired order among them. If RSVPrequirement that any sender or receiver may enter or leave the session ata given node receives a RESV message containing a SESSION_GROUP object, itany time, so its state shouldwait until RESVbe created and timed out independently. 2.4 Teardown RSVP teardown messagesfor all `count' sessions have appeared (or until the end ofremove path and reservation state without waiting for therefreshcleanup timeout period, as an optimization to Braden, Zhang, et al. Expiration:SeptemberDecember 1995 [Page17]18] Internet Draft RSVP SpecificationMarchJune 1995cycle) and then pass the RESV requests to Admission Control as a group.release resources quickly. It isnormally expected that all sessions in the group willnot necessary (although it may berouted through the same nodes. However, if not, only a subset ofdesirable, since thesession group reservationsresources being consumed mayappear at a given node;be "valuable"), to explicitly tear down an old reservation. A teardown request may be initiated either by an application inthis case, the RSVP should wait until thean endof the refresh cycle and then perform Admission Control onsystem (sender or receiver), or by a router as thesubsetresult ofthe session group that it has received. The rank values will identify whichstate timeout. Once initiated, a teardown request should be forwarded hop-by-hop without delay. Teardown messages (like other RSVP messages) aremissing. Note that routing different sessionsnot delivered reliably. However, loss of a teardown message is not considered a problem because thesession group differentlystate willgenerally result in delays in establishingtime out even if it is not explicitly deleted. If one orrejectingmore teardown message hops are lost, thedesired QoS. A "bundling" facility could be added to multicast routing,router that failed toforce all sessions inreceive asession group to be routed along the same path. 2.8 Host Model Beforeteardown message will time out its state and initiate asession can be created, the session identification, comprised of DestAddress and perhapsnew teardown message beyond thegeneralized destination port, must be assigned and communicated to allloss point. Assuming that RSVP message loss probability is small, thesenders and receivers by some out-of-band mechanism. In orderlongest time tojoin andelete state will seldom exceed one refresh timeout period. There are two types of RSVPsession, the following events happen at the end systems. H1teardown message, PTEAR and RTEAR. Areceiver joinsPTEAR message travels towards all receivers downstream from its point of initiation and deletes path state along themulticast group specified by DestAddress, using IGMP. H2way. Apotential sender starts sending RSVP PATH messages to the DestAddress, using RSVP. H3RTEAR message deletes reservation state and travels towards all senders upstream from its point of initiation. Areceiver listens for PATH messages. H4PTEAR (RTEAR) message may be conceptualized as a reversed-sense Path message (Resv message, respectively). Areceiver starts sending appropriate RESV messages, specifyingteardown message deletes thedesired flow descriptors, using RSVP. H5 A sender starts sending data packets. There are several synchronization considerations. o Suppose that a new sender starts sending data (H5) but no receivers have joinedspecified state in thegroup (H1). Then therenode where it is received. Like any other state change, this will beno multicast routes beyond the host (or beyond the first RSVP- capable router) along the path;propagated immediately to thedatanext node, but only if it represents a net change after merging. As a result, an RTEAR message willbe dropped atprune thefirst hop until receivers(s) do appear (assuming a multicast routing protocol that "prunes off"reservation state back (only) as far as possible. 2.5 Admission Policy and Security RSVP-mediated QoS requests will result in particular user(s) getting preferential access to network resources. To prevent abuse, some form of back pressure on users will be required. This back pressure might take the form of administrative rules, orotherwise avoids unnecessary paths). o Supposeof some form of real or virtual billing for the `cost' of a reservation. The form and contents of such back pressure is a matter of administrative policy that may be determined independently by each administrative domain in the Internet. Therefore, admission control at each node is likely to contain anew sender starts sending PATHpolicy component as well as a resource reservation component. As input to the policy-based admission decision, RSVP messages(H2) and immediately starts sendingmay carry policy data. This data(H5), and there aremay include credentials identifying Braden, Zhang, et al. Expiration:SeptemberDecember 1995 [Page18]19] Internet Draft RSVP SpecificationMarchJune 1995receivers but no RESV messages have reached the sender yet (e.g., because its PATH messages have not yet propagated to the receiver(s)). Thenusers or user classes, account numbers, limits, quotas, etc. To protect theinitial data may arrive at receivers withoutintegrity of thedesired QoS. o If a receiver starts sending RESV messages (H4) before any PATH messages have reachedpolicy-based admission control mechanisms, it(H5) (and if path state is being usedmay be necessary toroute RESV messages),ensure the integrity of RSVPwill return errormessagesto the receiver. The receiver may simply choose to ignore such error messages,against corruption orit may avoid themspoofing, hop bywaiting for PATH messages before sending RESV messages. A specific application program interface (API) for RSVP is not defined inhop. For thisprotocol spec, as itpurpose, RSVP messages may carry integrity objects that can behost system dependent. However, Section 4.6.1 discusses the general requirementscreated andpresentsverified by neighboring RSVP-capable nodes. These objects are expected to contain an encrypted part and to assume ageneric API. 3. Examples We use the following notation forshared secret between neighbors. User policy data in reservation request messages presents aRESV message: 1. Wildcard-Filter WF( *{Q}) Here "*{Q}" representsscaling problem. When aFlow Descriptor withmulticast group has a"wildcard" scope (choosinglarge number of receivers, it will not be possible or desirable to carry allsenders)the receivers' policy data upstream to the sender(s). The policy data will have to be administratively merged, near enough to the receivers to avoid excessive policy data. Administrative merging implies checking the user credentials and accounting data and then substituting aflowspec of quantity Q. 2. Fixed-Filter FF( S1{Q1}, S2{Q2}, ...)token indicating the check has succeeded. Alistchain of(sender, flowspec) pairs, i.e., flow descriptors, packed into a single RESV message. For simplicity we assume heretrust established using an integrity field will allow upstream nodes to accept these tokens. Note thatflowspecs are one-dimensional, definingthe merge points forexamplepolicy data are likely to be at theaverage throughput, and state them as a multipleboundaries ofsome unspecified base resource quantity B. Figure 5 shows schematically a router with two previous hops labeled (a) and (b) and two outgoing interfaces labeled (c) and (d). This topology willadministrative domains. It may beassumed in the examples that follow. There are three upstream senders; packets from sender S1 (S2necessary to carry accumulated andS3) arriveunmerged policy data upstream throughprevious hop (a) ((b), respectively). There are also three downstream receivers; packets bound for R1 and R2 (R3)multiple nodes before reaching one of these merge points. 2.6 Automatic RSVP Tunneling It is impossible to deploy RSVP (or any new protocol) at the same moment throughout the entire Internet. Furthermore, RSVP may never be deployed everywhere. RSVP must therefore provide correct protocol operation even when two RSVP-capable routers arerouted via outgoing interface (c) ((d) respectively). In additionjoined by an arbitrary "cloud" of non-RSVP routers. Of course, an intermediate cloud that does not support RSVP is unable to perform resource reservation, so service guarantees cannot be made. However, if such a cloud has sufficient excess capacity, it may provide acceptable and useful realtime service. RSVP will automatically tunnel through such a non-RSVP cloud. Both RSVP and non-RSVP routers forward PATH messages towards theconnectivity showndestination address using their local uni-/multicast routing table. Therefore, the routing of PATH messages will be unaffected by non-RSVP routers in5, we must also specifythe path. When a PATH message traverses a non-RSVP cloud, the copies that emerge will carry as a Previous Hop address the IP address of the last RSVP-capable router before entering the cloud. This will effectively construct a tunnel through the cloud for RESV messages, which will be forwarded directly to the next RSVP-capable router on the path(s) back Braden, Zhang, et al. Expiration:SeptemberDecember 1995 [Page19]20] Internet Draft RSVP SpecificationMarchJune 1995multicast routing within this node. Assume first that data packets (hence, PATH messages) from each Si shown in Figure 5towards the source. Automatic tunneling isrouted to both outgoing interfaces. Under this assumption, Figures 6 and 7 illustrate Wildcard-Filter reservations and Fixed-Filter reservations, respectively. ________________ (a)| | (c) ( S1 ) ---------->| |----------> ( R1, R2) | Router | (b)| | (d) ( S2,S3 ) ------->| |----------> ( R3 ) |________________| Figure 5: Router Configuration In Figure 6, the "Receive" column showsnot perfect; in some circumstances it may distribute path information to RSVP-capable routers not included in theRESVdata distribution paths, which may create unused reservations at these routers. This is because PATH messagesreceived over outgoing interfaces (c) and () and the "Reserve" column showscarry theresulting reservation state for each interface. The "Send" column showsIP source address of theRESV messages forwarded toprevioushops (a)hop, not of the original sender, and(b). Inmulticast routing may depend upon the"Reserve" column, each box represents one reservation "channel", withsource as well as thecorresponding filter. Asdestination address. This can be overcome by manual configuration of the neighboring RSVP programs, when necessary. 2.7 Host Model Before aresultsession can be created, the session identification, comprised ofmerging, onlyDestAddress and perhaps thelargest flowspec is forwarded upstreamgeneralized destination port, must be assigned and communicated toeach previous hop. | Send | Reserve Receive | | _______ WF( *{3B} ) <- (a) | (c) | * {B} | (c) <- WF( *{B} ) | |_______| | -----------------------|---------------------------------------- | _______ WF( *{3B} ) <- (b) | (d) | * {3B}| (d) <- WF( *{3B} ) | |_______| Figure 6: Wildcard-Filter Reservation Example 1 Figure 7 shows Fixed-Filter style reservations. The flow descriptors forall the sendersS2andS3, received from outgoing interfaces (c) and (d), are packed intoreceivers by some out-of-band mechanism. When an RSVP session is being set up, themessage forwardedfollowing events happen at the end systems. H1 A receiver joins the multicast group specified by DestAddress, using IGMP. H2 A potential sender starts sending RSVP PATH messages toprevious hop b. Ontheother hand,DestAddress, using RSVP. H3 A receiver application receives a PATH message. H4 A receiver starts sending appropriate RESV messages, specifying thetwo differentdesired flowdescriptors fordescriptors, using RSVP. H5 A senderS1application receives a RESV message. H6 A sender starts sending data packets. There aremerged intoseveral synchronization considerations. o Suppose that a new sender starts sending data (H6) but no receivers have joined thesingle message FF( S1{3B} ), which is sent to previous hop (a), For each outgoing interface,group (H1). Then thereiswill be no multicast routes beyond the host (or beyond the first RSVP- capable router) along the path; the data will be dropped at the first hop until receivers(s) do appear (assuming aprivatemulticast routing protocol that "prunes off" or otherwise avoids unnecessary paths). o Suppose that a new sender starts sending PATH messages (H2) and immediately starts sending data (H6), and there are receivers but no RESV messages have reached the sender yet Braden, Zhang, et al. Expiration:SeptemberDecember 1995 [Page20]21] Internet Draft RSVP SpecificationMarchJune 1995reservation for each source that has been requested, but this private reservation is shared among(e.g., because its PATH messages have not yet propagated to the receiver(s)). Then the initial data may arrive at receiversthat madewithout therequest. | Send | Reserve Receive | | ________ FF( S1{3B} ) <- (a) | (c) | S1{B} | (c) <- FF( S1{B}, S2{5B} ) | |________| | | S2{5B} | | |________| ---------------------|--------------------------------------------- | ________ <- (b) | (d) | S1{3B} | (d) <- FF( S1{3B}, S3{B} ) FF( S2{5B}, S3{B} ) | |________| | | S3{B} | | |________| Figure 7: Fixed-Filter Reservation Exampledesired QoS. Thetwo examples just shown assume full routing, i.e., data packets from S1, S2, and S3 are routed to both outgoing interfaces. Assumesender could mitigate this problem by awaiting arrival of therouting shown in Figure 8, in which data packets from S1first RESV message [H5]; however, receivers that are farther away may notforwardedhave reservations in place yet. o If a receiver starts sending RESV messages (H4) before any PATH messages have reached it (H3), RSVP will return error messages tointerface (d) (becausethemesh topology provides a shorter pathreceiver. The receiver may simply choose to ignore such error messages, or it may avoid them by waiting forS1 -> R3 that doesPATH messages before sending RESV messages. A specific application program interface (API) for RSVP is nottraverse this node). _______________ (a)| | (c) ( S1 ) ---------->| --------->--> |----------> ( R1, R2) | / | | / | (b)| / | (d) ( S2,S3 ) ------->| ->----------> |----------> ( R3 ) |_______________| Figure 8: Router Configuration Underdefined in thisassumption, Figure 9 shows Wildcard-Filter reservations. Since there is no route from (a) to (d),protocol spec, as it may be host system dependent. However, Section 4.6.1 discusses thereservation forwarded out interface (a) considers onlygeneral requirements and presents a generic API. 3. Examples We use thereservation on interface (c), so no merging takes place in this case. Braden, Zhang, et al. Expiration: September 1995 [Page 21] Internet Draft RSVP Specification March 1995 | Send | Reserve Receive | | _______ WF( *{B} ) <- (a) | (c) | * {B} | (c) <- WF( *{B} ) | |_______| | -----------------------|---------------------------------------- | _______ WF( *{3B} ) <- (b) | (d) | * {3B}| (d) <-following notation for a RESV message: 1. Wildcard-Filter (WF) WF(* {3B} ) | |_______|*{Q}) Here "*{Q}" represents a Flow Descriptor with a "wildcard" scope (choosing all senders) and a flowspec of quantity Q. 2. Fixed-Filter (FF) FF( S1{Q1}, S2{Q2}, ...) A list of (sender, flowspec) pairs, i.e., flow descriptors, packed into a single RESV message. 3. Shared Explicit (SE) SE( (S1,S2,...)Q1, (S3,S4,...)Q2, ...) A list of shared reservations, each specified by a single flowspec and a list of senders. For simplicity we assume here that flowspecs are one-dimensional, defining for example the average throughput, and state them as a multiple of some unspecified base resource quantity B. Figure9: Wildcard-Filter Reservation Example -- Partial Routing6 shows schematically a router with two previous hops labeled Braden, Zhang, et al. Expiration:SeptemberDecember 1995 [Page 22] Internet Draft RSVP SpecificationMarchJune 19954. RSVP Functional Specification 4.1 RSVP Message Formats All RSVP messages consist of a common header followed by a variable number of variable-length typed "objects" using a common structure. The subsections that follow define the formats of the common header, the object structures,(a) andeach of the RSVP message types. For each RSVP message type, there is a set of rules for the permissible ordering(b) andchoice of object types. These rules are specified using Backus-Naur Form (BNF) augmented with square brackets surrounding optional sub-sequences. 4.1.1 Common Header 0 1 2 3 +-------------+-------------+-------------+-------------+ | Vers | Type | Flags | Message Length | +-------------+-------------+-------------+-------------+ | RSVP Checksum | Object Count | +-------------+-------------+-------------+-------------+ The common header fields are as follows: Vers Protocol version number. This is version 2. Type 1 = PATH 2 = RESV 3 = PERR 4 = RERR 5 = PTEAR 6 = RTEAR Flags 0x01 = Entry-Police Braden, Zhang, et al. Expiration: September 1995 [Page 23] Internet Draft RSVP Specification March 1995two outgoing interfaces labeled (c) and (d). Thisflag shouldtopology will beon in a PATH message sent by an RSVP daemon in a sender host. The first RSVP node that finds the flag onassumed ina PATH message (i.e.,thefirst-[RSVP-]hop router) should institute policingexamples that follow. There are three upstream senders; packets from sender S1 (S2 and S3) arrive through previous hop (a) ((b), respectively). There are also three downstream receivers; packets bound for R1 and R2 (R3) are routed via outgoing interface (c) ((d) respectively). In addition to theflow(s) describedconnectivity shown in 6, we must also specify the multicast routing within thismessage. This flag should never be forwarded innode. Assume first that data packets (hence, PATHrefresh messages. 0x02 = LUB-Used This flag is described belowmessages) from each Si shown inthe section on Error Messages. Message Length The total length of this RSVP message, includingFigure 6 is routed to both outgoing interfaces. Under thiscommon headerassumption, Figures 7, 8, and 9 illustrate Wildcard-Filter, Fixed-Filter, and Shared-Explicit reservations, respectively. ________________ (a)| | (c) ( S1 ) ---------->| |----------> ( R1, R2) | Router | (b)| | (d) ( S2,S3 ) ------->| |----------> ( R3 ) |________________| Figure 6: Router Configuration In Figure 7, theobjects included in Object Count. RSVP Checksum A standard TCP/UDP checksum"Receive" column shows the RESV messages received over outgoing interfaces (c) and (d) and thecontents of"Reserve" column shows theRSVP message, withresulting reservation state for each interface. The "Send" column shows thechecksum field replaced by zero. Object Count Count of variable-length objects that follow. 4.1.2 Object Formats An object consists ofRESV messages forwarded to previous hops (a) and (b). In the "Reserve" column, each box represents oneor more 32-bit wordsreservation "channel", witha one-word header, in the following format: 0 1 2 3 +-------------+-------------+-------------+-------------+ | Length (bytes) | Class | C-Type | +-------------+-------------+-------------+-------------+ | | // (Object contents) // | | +-------------+-------------+-------------+-------------+ An object header hasthefollowing fields: Length Total length in bytes. Must always becorresponding filter. As amultipleresult of4, and at least 4.merging, only the largest flowspec is forwarded upstream to each previous hop. Braden, Zhang, et al. Expiration:SeptemberDecember 1995 [Page24]23] Internet Draft RSVP SpecificationMarchJune 1995Class Object class. In this document, the names of object classes are capitalized. 0 = NULL A NULL object has a Class of zero; its C-Type is ignored. Its length must be at least 4, but can be any multiple of 4. A NULL object may appear anywhere in a sequence of objects, and its contents will be ignored by the receiver.| Send | Reserve Receive | | _______ WF( *{3B} ) <- (a) | (c) | * {B} | (c) <- WF( *{B} ) | |_______| | -----------------------|---------------------------------------- | _______ WF( *{3B} ) <- (b) | (d) | * {3B}| (d) <- WF( *{3B} ) | |_______| Figure 7: Wildcard-Filter Reservation Example 1= SESSION Contains the IP destination address (DestAddress)Figure 8 shows Fixed-Filter (FF) style reservations. The flow descriptors for senders S2 andpossibly a generalized source port,S3, received from outgoing interfaces (c) and (d), are packed into the message forwarded todefine a specific session forprevious hop b. On the otherobjects that follow. Required in every RSVP message. 2 = SESSION_GROUP When present, defines a session group, a set of related sessions whose reservation requests should be passed collectively to Admission Control. 3 = RSVP_HOP Carrieshand, theIP address oftwo different flow descriptors for sender S1 are merged into theRSVP-capable node thatsingle message FF( S1{3B} ), which is sentthis message. This document refersto previous hop (a). For each outgoing interface, there is aRSVP_HOP object as a PHOP ("previous hop") object for downstream messages or as a NHOP ("next hop") objectprivate reservation forupstream messages. 4 = STYLE Defines theeach source that has been requested, but this private reservation is shared among the receivers that made the request. Finally, Figure 9 shows a simple example of Shared-Explicit (SE) styleplus style-specific informationreservations. Here each outgoing interface has a single reservation that isnotshared by aFLOWSPEC or FILTER_SPEC object, in a RESV message. 5 = FLOWSPEC Defines a desired QoS, in a RESV message. 6 = FILTER_SPEC Defines a subsetlist ofsession data packets that should receive the desired QoS (specified by an FLOWSPECsenders. Braden, Zhang, et al. Expiration:SeptemberDecember 1995 [Page25]24] Internet Draft RSVP SpecificationMarchJune 1995object), in a RESV message. 7 = SENDER_TEMPLATE Contains a sender IP address| Send | Reserve Receive | | ________ FF( S1{3B} ) <- (a) | (c) | S1{B} | (c) <- FF( S1{B}, S2{5B} ) | |________| | | S2{5B} | | |________| ---------------------|--------------------------------------------- | ________ <- (b) | (d) | S1{3B} | (d) <- FF( S1{3B}, S3{B} ) FF( S2{5B}, S3{B} ) | |________| | | S3{B} | | |________| Figure 8: Fixed-Filter Reservation Example | Send | Reserve Receive | | ________ SE( S1{3B} ) <- (a) | (c) |(S1,S2) | (c) <- SE( (S1,S2){B} ) | | {B} | | |________| ---------------------|--------------------------------------------- | ________ <- (b) | (d) |(S1,S3) | (d) <- SE( (S1,S3){3B} ) SE( (S2,S3){3B} ) | | {3B} | | |________| Figure 9: Shared-Explicit Reservation Example The three examples just shown assume full routing, i.e., data packets from S1, S2, andperhaps some additional demultiplexing informationS3 are routed toidentify a sender, in a PATH message. 8 = SENDER_TSPEC Defines the traffic characteristicsboth outgoing interfaces. The top part ofa sender'sFigure 10 shows another routing assumption: datastream, in a PATH message. 9 = ADVERT Carries an Adspec containing OPWA data, inpackets from S1 are not forwarded to interface (d), because the mesh topology provides aPATH message. 10 = TIME_VALUES If present, contains valuesshorter path forthe refresh period R and the state time-to-live T (see section 4.5), to override the default valuesS1 -> R3 that does not traverse this node. The bottom ofR and T. 11 = ERROR_SPEC Specifies an error, in a PERR or RERR message. 12 = CREDENTIAL Contains user credential and/or information for policy control and/or accounting. 13 = INTEGRITY Contains a cryptographic dataFigure 10 shows WF style reservations under this assumption. Since there is no route from (a) toauthenticate(d), theoriginating node, and perhaps verifyreservation forwarded out interface (a) considers only thecontents, of this RSVP message. C-Type Object type; unique within Class. Values defined in Appendix A. The Class and C-Type fields may be used together as a 16-bit number to define a unique type for each object. The formats of specific object types are definedreservation on interface (c); no merging takes place inAppendix A.this case. Braden, Zhang, et al. Expiration:SeptemberDecember 1995 [Page26]25] Internet Draft RSVP SpecificationMarchJune 19954.1.3 Path Message PATH messages carry information from senders to receivers along the same paths, and using the same uni-/multicast routes, as the data packets. The IP destination address of a PATH message is the DestAddress for the session, and the source address is an address of the node that sent the message (if possible, the address of the particular interface through which it was sent). The format of a PATH message is as follows: <Path Message> ::= <Common Header> <SESSION> <RSVP_HOP> [ <INTEGRITY> ] [ <TIME_VALUES> ] <sender descriptor list> <sender descriptor list> ::= <empty >_______________ (a)| |<sender descriptor list> <sender descriptor> <sender descriptor> ::= [ <CREDENTIAL> ] <SENDER_TEMPLATE> [ <SENDER_TSPEC> ] [ <ADVERT> ] Each sender descriptor defines(c) ( S1 ) ---------->| --------->--> |----------> ( R1, R2) | / | | / | (b)| / | (d) ( S2,S3 ) ------->| ->----------> |----------> ( R3 ) |_______________| Router Configuration | Send | Reserve Receive | | _______ WF( *{B} ) <- (a) | (c) | * {B} | (c) <- WF( *{B} ) | |_______| | -----------------------|---------------------------------------- | _______ WF( *{3B} ) <- (b) | (d) | * {3B}| (d) <- WF( * {3B} ) | |_______| Figure 10: Wildcard-Filter Reservation Example -- Partial Routing Finally, we note that state that is received through asender, andparticular interface Iout in never forwarded out thesender descriptor list allows multiple sender descriptors tosame interface. Conversely, state that is forwarded out interface Iout must bepacked intocomputed using only state that arrived on interfaces different from Iout. A trivial example of this rule is illustrated in Figure 11, which shows aPATH message. For eachtransit router with one sender and one receiver on each interface (and assumes one next/previous hop per interface). Interfaces (a) and (c) are both outgoing and incoming interfaces for this session. Both receivers are making wildcard-scope reservations, in which thelist,RESV messages are forwarded to all previous hops for senders in theSENDER_TEMPLATE object definesgroup, with theformatexception ofdata packets, the SENDER_TSPEC object may specify the traffic flow, andtheCREDENTIAL object may specifynext hop from which they came. These result in independent reservations in theuser credentials. There may also be an ADVERT object carrying advertising (OPWA) data. Each sender host must periodically send a PATH message containing the sender descriptor(s) describing its own data stream(s), for a given session. Each sender descriptor is forwarded and replicated as necessary to follow the delivery path(s) fortwo directions. Braden, Zhang, et al. Expiration: December 1995 [Page 26] Internet Draft RSVP Specification June 1995 ________________ adata packet from the same sender, finally reaching the applications| | c ( R1, S1 ) <----->| Router |<-----> ( R2, S2 ) |________________| Send | Receive | WF( *{3B}) <-- (a) | (c) <-- WF( *{3B}) | Receive | Send | WF( *{4B}) --> (a) | (c) --> WF( *{4B}) | Reserve onall receivers (except not a receiver included in the sender process). At each node, a route must be computed independently for each sender descriptors being forwarded. These routes, obtained from the uni/multicast routing table, generally depend upon the (sender host address, DestAddress) pairs, and consist of a list of outgoing interfaces. Then the descriptors being forwarded through the same outgoing interface can be packed into as few(a) | Reserve on (c) __________ | __________ | * {4B} | | | * {3B} | |__________| | |__________| | Figure 11: Independent Reservations Braden, Zhang, et al. Expiration:SeptemberDecember 1995 [Page 27] Internet Draft RSVP SpecificationMarchJune 1995PATH4. RSVP Functional Specification 4.1 RSVP Message Formats All RSVP messagesas possible. Noteconsist of a common header followed by a variable number of variable-length typed "objects". The subsections thatmulticast routingfollow define the formats ofpath information is based onthesender address(es) fromcommon header, thesender descriptors, not the IP source address; this is necessary to prevent routing loops; see Section 4.3. PHOP (i.e., the RSVP_HOP object) of each PATH message should contain the IP source address, the interface address through whichobject structures, and each of the RSVP messageis sent. PATH messages are processed attypes. For eachnode they reach to create path state, which includes SENDER_TEMPLATE object and possibly CREDENTIAL, SENDER_TSPEC, and ADVERT objects. If an error is encountered while processing a PATH message, a PERRRSVP message type, there issent to all senders implied bya set of rules for theSENDER_TEMPLATEspermissible ordering and choice of object types. These rules are specified using Backus-Naur Form (BNF) augmented with square brackets surrounding optional sub-sequences. 4.1.1 Common Header 0 1 2 3 +-------------+-------------+-------------+-------------+ | Vers | Flags| Type | RSVP Checksum | +-------------+-------------+-------------+-------------+ | Message Length | (Reserved) | +-------------+-------------+-------------+-------------+ The fields in thesender descriptor list. 4.1.4 Resv Messagescommon header are as follows: Vers Protocol version number. This is version 2. Flags (None defined yet) Type 1 = PATH 2 = RESVmessages carry reservation requests hop-by-hop from receivers to senders, along3 = PERR 4 = RERR 5 = PTEAR 6 = RTEAR Braden, Zhang, et al. Expiration: December 1995 [Page 28] Internet Draft RSVP Specification June 1995 RSVP Checksum A standard TCP/UDP checksum over thereverse pathscontents ofdata flow forthesession.RSVP message, with the checksum field replaced by zero. Message Length TheIP destination addresstotal length ofa RESVthis RSVP messageisin bytes, including this common header and theunicast addressvariable-length objects that follow. 4.1.2 Object Formats An object consists of one or more 32-bit words with aprevious-hop node, obtained fromone-word header, in thepath state. The Next Hop address (in the RSVP_HOP object) should be the IP address of the (incoming) interface through which the RESV message is sent. The IP source address is an address of the node that sentfollowing format: 0 1 2 3 +-------------+-------------+-------------+-------------+ | Length (bytes) | Class-Num | C-Type | +-------------+-------------+-------------+-------------+ | | // (Object contents) // | | +-------------+-------------+-------------+-------------+ An object header has themessage (if possible,following fields: Length A 16-bit field containing theaddresstotal object length in bytes. Must always be a multiple of 4, and at least 4. Class-Num Identifies theparticular interface through which it was sent). The permissible sequenceobject class; values ofobjectsthis field are defined in Appendix A. Each object class has aRESV message depends upon the reservation style specifiedname, which will always be capitalized in this document. An RSVP implementation must recognize theSTYLE object. Currently,following classes: NULL A NULL objecttypes Style-WF and Style-FFhas a Class-Num ofclass STYLE are defined (see Appendix A). The RESV message formatzero, and its C-Type isas follows: <Resv Message> ::= <Common Header> <SESSION> [ <SESSION_GROUP> ] <RSVP_HOP> [ <INTEGRITY> ] [ <TIME_VALUES> ] [ <CREDENTIAL> ] <style-specific tail> <style-specific-tail> ::= <Style-WF> [ <FILTER_SPEC> ] <FLOWSPEC> |ignored. Its length must be at least 4, but can be any multiple of 4. A NULL object may appear anywhere in a sequence of objects, and its contents will be ignored by the receiver. Braden, Zhang, et al. Expiration:SeptemberDecember 1995 [Page28]29] Internet Draft RSVP SpecificationMarchJune 1995<Style-FF> <flow descriptor list> <flow descriptor list> ::= <empty> | <flow descriptor list> <FILTER_SPEC> <FLOWSPEC> The reservation scope, i.e.,SESSION Contains theset of senders towards whichIP destination address (DestAddress) and possibly aparticular reservation is to be forwarded, is determined by matching FILTER_SPEC objects againstgeneralized destination port, to define a specific session for thepath state created from SENDER_TEMPLATE objects, considering any wildcardsother objects thatmay be present. 4.1.5 Error Messages There are two types offollow. Required in every RSVPerror messages: o PERR messages result from PATH messages and travel towards senders. PERR messages are routed hop-by-hop like RESV messages; at each hop,message. RSVP_HOP Carries the IPdestination address is the unicastaddress of the RSVP-capable node that sent this message. This document refers to aprevious hop. o RERR messages result from RESVRSVP_HOP object as a PHOP ("previous hop") object for downstream messages or as a NHOP ("next hop") object for upstream messages. TIME_VALUES If present, contains values for the refresh period R andtravel hop- by-hop towardstheappropriate receivers, routed bystate time-to-live T (see section 4.5), to override the default values of R and T. STYLE Defines the reservationstate. At each hop,style plus style-specific information that is not a FLOWSPEC or FILTER_SPEC object, in a RESV message. FLOWSPEC Defines a desired QoS, in a RESV message. FILTER_SPEC Defines a subset of session data packets that should receive the desired QoS (specified by an FLOWSPEC object), in a RESV message. SENDER_TEMPLATE Contains a sender IPdestinationaddressisand perhaps some additional demultiplexing information to identify a sender, in a PATH message. SENDER_TSPEC Defines theunicast addresstraffic characteristics of anext-hop node. Routing is discussed below. RSVP error messages are triggered only by processing ofsender's data stream, in a PATHand RESV messages; errors encountered while processing error or teardown messages must not create error messages. <PathErr message> ::= <Common Header> <SESSION> <RSVP_HOP> [ <INTEGRITY> ] <ERROR_SPEC> <sender descriptor> <sender descriptor list> ::= (see earlier definition) <ResvErr Message> ::= <Common Header> <SESSION> <RSVP_HOP> [ <INTEGRITY> ] <ERROR_SPEC> [ <CREDENTIAL> ] <style-specific tail>message. Braden, Zhang, et al. Expiration:SeptemberDecember 1995 [Page29]30] Internet Draft RSVP SpecificationMarchJune 1995<style-specific tail> ::= (see earlier definition) TheADSPEC Carries an Adspec containing OPWA data, in a PATH message. ERROR_SPECspecifies the error. It includes the IP address of the node that detected theSpecifies an error,called the Error Node Address. Whenin a PERR or RERR message. POLICY_DATA Carries information that will allow a local policy module to decide whether an associated reservation is administratively permitted. May appear in a PATH or RESVmessage has been "packed" with multiple sets of elementary parameters,message. INTEGRITY Contains cryptographic data to authenticate the originating node, and perhaps to verify the contents, of this RSVPimplementation should process each set independentlymessage. SCOPE An explicit specification of the scope for forwarding a RESV message. TAG Encloses a list of one or more objects andreturnattaches aseparate error message for each thatlogical name or "tag" value to them. The tag value isin error. An error message may be duplicated and forwarded unchanged. In general, error messages should be deliveredunique to theapplications on allnext/previous hop and the sessionnodes that (may have) contributed to this error. o A PERR message(specified by HOP and SESSION objects, respectively). The enclosed object list isforwarded to all previous hops for all senders listedthe "tagged sublist", and the objects in it said to be "tagged" with theSender Descriptor List. o The node that createstag value. Objects in aRERR message asparticular tagged sublist must all have theresult of processing a RESV message should send the RERR message out the interface through which the RESV arrived. In succeeding hops,same class-num. Tagged objects with theroutingsame tag value are declared to be logically related, i.e., to be members ofa RERR message depends upon its style and upon routing. In general, a RERR message is sent outsomesubsetlarger logical set of objects. Note that theoutgoing interfaces specified for multicast routing, using Error Node Address as the source address and DestAddress as the destination. (This rule is necessary to prevent packet loops; see Section 4.3 below). Within thistagged sublist implies no ordering; it defines only a set ofoutgoing interfaces, a RERR message is sent only to next hop(s) whose RESV message(s) createdobjects. The meaning of theerror; this in turnlogical relationship depends upon themergingclass-num offlowspecs. Assume that a reservation whose error is being reported was formed by merging two flowspecs Q1 and Q2 from different next hops. - If Q1 = Q2, the error message should be forwarded to both next hops. - If Q1 < Q2, the error message should be forwarded only to the next hop for Q2. - If Q1 and Q2 are incomparable, the error message should be forwarded to both next hops, andtheLUB flag should be turned on.tagged objects. C-Type Braden, Zhang, et al. Expiration:SeptemberDecember 1995 [Page30]31] Internet Draft RSVP SpecificationMarchJune 1995 Object type, unique within Class-Num. Values are defined in Appendix A. TheERROR_SPECmaximum object content length is 65528 bytes. The Class- Num and C-Type fields (together with theLUB-flag should'Optional' flag bit) may bedeliveredused together as a 16-bit number tothe receiver application. In the casedefine a unique type for each object. The high-order bit ofan Admission Control error, the style-specific tail will containtheFLOWSPEC object that failed.Class-Num is used to determine what action a node should take if it does not recognize the Class- Num of an object. If Class-Num < 128, then theLUB-flag is off, thisnode shouldbeignore thesame as a FLOWSPEC in a RESV message sent by this application; otherwise, they may differ. An error in a FILTER_SPECobjectin a RESVbut forward it (unmerged). If Class-Num >= 128, the messagewill normallyshould bedetected at the first RSVP hop from the receiver application, i.e., within the receiver host. However,rejected and anadmission control failure caused by a FLOWSPEC or a CREDENTIAL"Unknown Object Class" error returned. Note that merging cannot be performed on unknown object types; as a result, unmerged objects may bedetected anywhere along the path(s)forwarded to thesender(s). 4.1.6 Teardown Messages There are two types of RSVP Teardown message, PTEARfirst node that does know how to merge them. The scaling limitations that this imposes must be considered when defining andRTEAR. o PTEARdeploying new object types. 4.1.3 Path Message PATH messagesdelete path state (which in turn may delete reservations state) and travel towards all receivers that are downstreamcarry information from senders to receivers along thepoint of initiation. PTEAR messages are routed like PATH messages, and theirpaths used by the data packets. The IP destination address of a PATH message is the DestAddress for thesession. o RTEAR messages delete reservation state and travel towards all matching senders upstream fromsession; thepoint of teardown initiation. RTEAR message are routed like RESV messages, and their IP destinationsource address is an address of the node that sent the message (preferably theunicastaddress ofa previous hop. <PathTear Message> ::= <Common Header> <SESSION> <RSVP HOP> [ <INTEGRITY> ] <sender descriptor list> <sender descriptor list> ::= (see earlier definition) <ResvTearthe interface through which it was sent). The PHOP (i.e., the RSVP_HOP) object of each PATH message should contain the IP source address. The format of a PATH message is as follows: <Path Message> ::= <Common Header> <SESSION><RSVP HOP><RSVP_HOP> [ <INTEGRITY> ] [<CREDENTIAL><TIME_VALUES> ]<style-specific tail> <style-specific tail><sender descriptor list> <sender descriptor list> ::=(see earlier definition) Flowspec objects in the style-specific tail of<empty > | <sender descriptor list> <sender descriptor> <sender descriptor> ::= <SENDER_TEMPLATE> [ <SENDER_TSPEC> ] [ <POLICY_DATA> ] [ <ADSPEC> ] Each sender descriptor defines aRTEAR messagesender, and the sender descriptor list allows multiple sender descriptors to be packed Braden, Zhang, et al. Expiration:SeptemberDecember 1995 [Page31]32] Internet Draft RSVP SpecificationMarchJune 1995will be ignored and may be omitted. Ifinto a PATH message. For each sender in thestate being deleted was created with user credentials fromlist, the SENDER_TEMPLATE object defines the format of data packets; in addition, aCREDENTIAL field, thenSENDER_TSPEC object may specify thematching PTEAR or RTEAR message must include matching CREDENTIAL field(s). [There istraffic flow, aproblem here: tearing down path statePOLICY_DATA object mayimplicitly delete reservation state. Butspecify user credential and accounting information, and an ADSPEC object may carry advertising (OPWA) data. Each sender host must periodically send PATH message(s) containing aPTEAR message does not have credentialssender descriptor for each its own data stream(s). Each sender descriptor is forwarded and replicated as necessary to follow thereservation state, onlydelivery path(s) for a data packet from thepath state. Some arguesame sender, finally reaching the applications on all receivers (except thata CREDENTIAL mayit is notbe neededlooped back to a receiver included inteardown messages, ontheassumption that false teardown messages can be injected only with the collusion of routers alongsame application process as thedata path, and insender). It is an error to send ambiguous path state, i.e., two or more Sender Templates thatcase, the colluding router can just as well stop delivering the RESV messages, which will have the same effect.] 4.2 Sending RSVP Messages RSVP messagesaresent hop-by-hop between RSVP-capable routersdifferent but overlap, due to wildcards. For example, if we represent a Sender Template as"raw" IP datagrams,(IP address, sender port, protocolnumber 46. Raw IP datagrams are similarly intendedid and use `*' to represent a wildcard, then each of the following pairs of Sender Templates would beused betweenanend system and the first/last hop router; however, iterror: (10.1.2.3, 34567, *) and (10.1.2.3, *, *) (10.1.2.3, 34567, *) and (10.1.2.3, 34567, 17) A PATH message received at a node isalso possibleprocessed toencapsulate RSVP messages as UDP datagramscreate path state forend-system communication, as describedall senders defined by SENDER_TEMPLATE objects inAppendix C. UDP encapsulation will simplify installation of RSVP on current end systems, particularly when firewallsthe sender descriptor list. If present, any POLICY_DATA, SENDER_TSPEC, and ADSPEC objects are also saved inuse. Under overload conditions, lost RSVP control messages could causetheloss of resource reservations. Routers should be configured to givepath state. If an error is encountered while processing apreferred class of servicePATH message, a PERR message is sent toRSVP packets. RSVP should not use significant bandwidth, butall senders implied by thequeueing delay for RSVP messages needsSENDER_TEMPLATEs. Periodically, the path state is scanned tobe controlled. An RSVPcreate new PATHor RESV message consists of a small root segment followed by a variable-length list of objects,messages whichmay overfloware forwarded upstream. A node must independently compute thecapacity of one datagram. IP fragmentation is inadvisable, since it has bad error characteristics; RSVP-level fragmentation should be used. That is, a message withroute for each sender descriptor being forwarded. These routes, obtained from uni-/multicast routing, generally depend upon the (sender host address, DestAddress) pairs and consist of alonglist of outgoing interfaces. The descriptorswillbeing forwarded through the same outgoing interface may bedividedpacked intosegmentsas few PATH messages as possible. Note thatwill fit into individual datagrams, each carrying the same root fields. Eachmulticast routing ofthese messages will be processed at the receiving node, with a cumulative effectpath information is based on thelocal state. No explicit reassemblysender address(es) from the sender descriptors, not the IP source address; this isneeded. Since RSVP messages are normally expectednecessary tobe generated and sent hop-by-hop, their MTU should be determined byprevent routing loops; see Section 4.3. Multicast routing may also report theMTU of each interface.expected incoming Braden, Zhang, et al. Expiration:SeptemberDecember 1995 [Page32]33] Internet Draft RSVP SpecificationMarchJune 1995[There may be rare instances in which this does not work very well, and in which manual configuration would not help. The problem case is aninterfaceconnected to a non-RSVP cloud in which some particular link far away has a smaller MTU. This would affect only those sessions that happened(i.e., the shortest path back tousethe sender). If so, any PATH message thatlink. Proper solution to this case would require MTU discovery separately for eacharrives on a different interfaceand each session, whichshould be discarded immediately. It isa very large amount of machinery and some overheadpossible that routing will report no routes for arare (?) case. Best approach seems to(sender, DestAddress) pair; path state for this sender should beto rely on IP fragmentation and reassembly for this case.] 4.3 Avoiding RSVP Message Loops We must ensure that the rules for forwarding RSVP control messages avoid looping. In steady state, PATH andstored locally but not forwarded. 4.1.4 Resv Messages RESV messagesare forwarded on each hop only once per refresh period. This avoids directly looping packets, but there is stillcarry reservation requests hop-by-hop from receivers to senders, along thepossibilityreverse paths ofan " auto-refresh" loop, clocked bydata flow for therefresh period.session. TheeffectIP destination address ofsuchaloopRESV message isto keep state active "forever", even iftheend nodes have ceased refreshing it (butunicast address of a previous-hop node, obtained from thestate will be deleted whenpath state. The IP source address is an address of thereceivers leavenode that sent themulticast group and/ormessage. The NHOP (i.e., thesenders stop sending PATH messages). In addition, error and teardown messages are forwarded immediately and are therefore subject to direct looping. PATH messages are forwarded using routes determined byRSVP_HOP) object must contain theappropriate routing protocol. For routing that is source- dependent (e.g., some multicast routing algorithms),IP address of theRSVP daemon must route each sender descriptor separately using(incoming) interface through which thesource addresses found inRESV message is sent. The RESV message format is as follows: <Resv Message> ::= <Common Header> <SESSION> <RSVP_HOP> [ <INTEGRITY> ] [ <TIME_VALUES> ] [ <SCOPE> ] <STYLE> <flow descriptor list> The following style-dependent rules control theSENDER_TEMPLATE objects. This should ensure that there will be no auto-refresh loopscomposition ofPATH information, even inatopology with cycles. Since PATH messages don't loop, they create path state defining a loop-free reverse path to each sender. As a result, RESV and RTEAR messages directed to particular senders cannot loop. PERR messages are always directed to particular senders and therefore cannot loop. However, therevalid flow descriptor list. o WF Style: <flow descriptor list> ::= <FLOWSPEC> [ <POLICY_DATA> ] [ <FILTER_SPEC> ] A FILTER_SPEC that isa potential auto-refresh problem for RESV, RTEAR, and RERR messages with wildcard scope, as we now discuss. If the topology has no loops, then auto-refresh can be avoided, even forentire wildcardscope, with the following rule: A reservation request received from next hop N must notmay beforwarded to N.omitted. o FF style: <flow descriptor list> ::= <FLOWSPEC> [ <POLICY_DATA> ] <FILTER_SPEC> Braden, Zhang, et al. Expiration:SeptemberDecember 1995 [Page33]34] Internet Draft RSVP SpecificationMarchJune 1995This rule| <flow descriptor list> [ <FLOWSPEC> ] [ <POLICY_DATA> ] <FILTER_SPEC> Each elementary FF style request isillustrated in Figure 10, which shows a transit router with one sender and one receiver on each interface (and assumes one next/previous hop per interface). Interfacesdefined by a single (FLOWSPEC, FILTER_SPEC) pair, andc are both outgoing and incoming interfaces for this session. Both receivers are making wildcard-scope reservations, in whichmultiple such requests may be packed into the flow descriptor list of a single RESVmessages are forwardedmessage. A FLOWSPEC or POLICY_DATA object can be omitted if it is identical toall previous hops for senders in the group, with the exception ofthenext hop from which they came. These result in independent reservation requestsmost recent such object that appeared in thetwo directions, without an auto-refresh loop. ________________ a | | c ( R1, S1 ) <----->| Router |<-----> ( R2, S2 ) |________________| Send & Receive on (a) | Send & Receive on (c) | WF( *{3B}) <-- (a) | (c) <-- WF( *{3B}) | WF( *{4B}) --> (a) | (c) --> WF( *{4B}) | | Reserve on (a) | Reserve on (c) __________ | __________ | * {4B} | | | * {3B} | |__________|list. o SE style: <flow descriptor list> ::= <SE descriptor> ||__________|<flow descriptor list> <SE descriptor> <SE descriptor> ::= <FLOWSPEC> [ <POLICY_DATA> ] <filter spec list> <filter spec list> ::= <FILTER_SPEC> |Figure 10: Avoiding Auto-Refresh in Non-Looping Topology However, further effort<filter spec list> <FILTER_SPEC> Each elementary SE style request isneeded to prevent auto-refresh loops from wildcard-scope reservations indefined by a single SE descriptor, which includes a FLOWSPEC defining thepresenceshared reservation, possibly a POLICY_DATA object, and a list ofcycles inFILTER_SPEC objects. Multiple elementary requests, each representing an independent shared reservation, may be packed into thetopology. [TBD!!]. We treat routingflow descriptor list ofRERR messages asaspecial case. They are sent with unicast addresses of next hops, but the multicast routingsingle RESV message. A POLICY_DATA object may be omitted if it isused to prevent loops. As explained above, RERR messages are forwarded to a subset of the multicast treeidentical toDestAddress, rooted atthenode on whichmost recent such object that appeared in theerror was discovered. Since multicast routing cannot create loops, this will prevent loops for RERR messages. [Open question about Figure 10: should it be possible to have incompatiblelist. The reservationstyles onscope, i.e., thetwo interfaces? For example, if R1 requestsset of sender hosts towards which aWFparticular reservationand R2 requests a FF reservation, itislogically possibletomakebe forwarded, is determined as follows: o For a style with explicit scope, match each FILTER_SPEC object against thecorresponding reservations onpath state created from SENDER_TEMPLATE objects to select a particular sender. It is an error if a FILTER_SPEC matches more than one SENDER_TEMPLATE, due to wildcarding. A SCOPE object, if present, should be ignored. o For a style with wildcard scope, a SCOPE object, if present, defines thetwo different interfaces. The currentscope with an explicit list of sender Braden, Zhang, et al. Expiration:SeptemberDecember 1995 [Page34]35] Internet Draft RSVP SpecificationMarchJune 1995implementation does NOT allow this; instead, it prevents mixingIP addresses (see Section 4.3 below). If there is no SCOPE object, the scope is determined by the relevant set ofincompatible stylessenders in thesame session on a node, even if they are on different interfaces.] 4.4 Local Repair Each RSVP daemon periodically sends refreshespath state. A SCOPE object must be sent in any wildcard scope RESV message that is forwarded toits next/previous hops. An important optimization would allow the local routing protocol modulemore than one previous hop. See Section 4.3 below. If an outgoing message is too large tonotifyfit into theRSVP daemon of route changes for particular destinations. The RSVP daemon should use this information to trigger an immediate refreshMTU ofstate for these destinations, usingthenew route. This allows fast adaptationinterface, it can be sent as multiple messages, as follows: o For FF style, the flow descriptor list can be split as required torouting changes withoutfit; theoverheadrest ofa short refresh period. 4.5 Time Parameters For each elementthe message should be replicated into each packet. o For WF style, a SCOPE object containing an explicit list ofstate, there are two time parameters:sender IP addresses can be split as required to fit; therefresh period R andrest of thetime-to-live value T. R specifiesmessage should be replicated into each packet. o For SE style, theperiod between sending successive refreshes of this data. T controls how long state willflow descriptor list can beretained after refreshes stop appearing, and depends upon period between receiving successive refreshes. Specifically, R <= T, andsplit as required to fit; the"cleanout time" is K * T. Here K is a small integer; K-1 successive messages mayrest of the message should belost before state is deleted. Currently K = 3 is suggested. Clearly, a smaller T means increased RSVP overhead.replicated into each packet. Ifthe router does not implement local repair,asmaller T improves the speed of adaptingsingle SE descriptor is too large torouting changes. With local repair, a routerfit, its filter spec list can similarly bemore relaxed about T, sincesplit as required. However, theperiodic refresh becomes only a backstop robustness mechanism. There are three possible ways forsubsets of arouter to determine R and T. o Default values are configuredparticular filter spec list must each be enclosed in TAG objects carrying therouter. Current defaults are 30 seconds for T and R. o A router may adjustsame tag value, so thevalue of T dynamicallyreceiver will be able tokeep a constant total overhead duematch each FILTER_SPEC object torefresh traffic; as more sessions appear, the period would be lengthened. In this case, R = T could be used. o R and T can be specified bytheend systems. For this purpose,appropriate shared reservation. 4.1.5 Error Messages There are two types of RSVP error messages. o PERR messages result from PATHand RESVmessagesmay contain the optional TIM_VALUES object. Whenand travel towards senders. PERR messages aremerged and forwarded torouted hop-by-hop using thenextpath state; at each hop,R should be the minimum R that has been received, and T should be the maximum T that has been received. Thus,thelargest T determines how long stateIP destination address isretained, andthesmallest R determines the responsivenessunicast address ofBraden, Zhang, et al. Expiration: September 1995 [Page 35] Internet Draft RSVP Specification March 1995 RSVP to route changes. Ina previous hop. o RERR messages result from RESV messages and travel towards thefirst hop, theyappropriate receivers. They areexpected to be equal. The RSVP API might allow an application to overriderouted hop-by-hop using thedefault value forreservation state; at each hop, the IP destination address is the unicast address of aparticular session.next-hop node. Errors encountered while processing error messages must not create further error messages. Braden, Zhang, et al. Expiration:SeptemberDecember 1995 [Page 36] Internet Draft RSVP SpecificationMarchJune 19954.6 RSVP Interfaces RSVP on a router has interfaces to routing and to traffic control in the kernel. RSVP on a host has an interface to applications (i.e, an API) and also an interface to traffic<PathErr message> ::= <Common Header> <SESSION> [ <INTEGRITY> ] <ERROR_SPEC> <sender descriptor> <sender descriptor> ::= (see earlier definition) <ResvErr Message> ::= <Common Header> <SESSION> [ <INTEGRITY> ] <ERROR_SPEC> <STYLE> <error flow descriptor> The following style-dependent rules control(if it exists onthehost). 4.6.1 Application/RSVP Interface This section describescomposition of ageneric interface between an application and an RSVP control process. The details of a real interface may be operating-system dependent; the following can only suggest the basic functions to be performed. Some of these calls cause information to be returned asynchronously.valid error flow descriptor. oRegister Call: REGISTER( DestAddress , DestPort [ , SESSION_object ] , SND_flag , RCV_flag [ , Source_Address ] [ , Source_Port ] [ , Sender_Template ] [ , Sender_Tspec ] [ , Data_TTL ] [ , UserCredential ]WF Style: <error flow descriptor> ::= <FLOWSPEC> [, Upcall_Proc_addr<FILTER_SPEC> ]) -> Session-id This call initiates RSVP processing for a session, defined by DestAddress together witho FF style: <error flow descriptor> ::= <FLOWSPEC> <FILTER_SPEC> o SE style: <error flow descriptor> ::= <FLOWSPEC> <filter spec list> The ERROR_SPEC object specifies theTCP/UDP port number DestPort. If successful,error and includes theREGISTER call returns immediately with a local session identifier Session-id, which may be used in subsequent calls. The SESSION_object parameter is included as an escape mechanism to support some more general definitionIP address of thesession ("generalized destination port"), shouldnode thatbe necessary indetected thefuture. Normally SESSION_object will be omitted; if it is supplied, it should be an appropriately-formatted representation oferror (Error Node Address). When aSESSION object. SND_flagPATH or RESV message has been "packed" with multiple sets of elementary parameters, the RSVP implementation shouldbeprocess each settrue if the host will send data,independently andRCV_flagreturn a separate error message for each that is in error. In general, error messages should beset true ifdelivered to thehost will receive data. Setting neither true is anapplications on all the session nodes that (may have) contributed to this error.The optional parameters Source_Address, Source_Port, Sender_Template,More specifically: o A PERR message is forwarded to all previous hops for all Braden, Zhang, et al. Expiration:SeptemberDecember 1995 [Page 37] Internet Draft RSVP SpecificationMarchJune 1995Sender_Tspec, and Data_TTL are all concerned with a data source, and they will be ignored unless SND_flag is true. If SND_FLAGsenders listed in the Sender Descriptor List. o A RERR message istrue, a successful REGISTER call will cause RSVPgenerally forwarded tobegin sending PATH messages for this session using these parameters, which are interpreted as follows: - Source_Address This is the address of the interface from whichall receivers that may have caused thedata will be sent. If it is omitted,error being reported. The node that creates adefault interface will be used. - Source_Port This isRERR message sends theUDP/TCP portRERR message to the next hop from which thedata will be sent. If it is omitted or zero,erroneous reservation came. The message must contain theport is "wild"information required to define the error andcan match any port in a FILTERSPEC. - Sender_Template This parameter is included as an escape mechanismtosupportroute the error message. Thus, it contains the STYLE, a FLOWSPEC, and one or moregeneral definition ofFILTER_SPEC(s) from thesender ("generalized source port"). Normally this parameter may be omitted; if it is supplied, it should be an appropriately formatted representation oferroneous RESV message. In succeeding hops, aSENDER_TEMPLATE object. - Sender_Tspec This parameterRERR message isa Tspec describingforwarded using thetraffic flow to be sent. It may be includednode's reservation state, toprevent over-the next hops of reservations that match the FILTER_SPEC(s) and the FLOWSPEC in the RERR message. Assume that a reservationonwhose error is being reported was formed by merging two flowspecs Q1 and Q2 from different next hops. - If Q1 = Q2, theinitialerror message should be forwarded to both next hops. -Data_TTL This isIf Q1 < Q2, the(non-default) IP Time-To-Live parametererror message should be forwarded only to the next hop for Q2. - If Q1 and Q2 are incomparable, the error message should be forwarded to both next hops, and the LUB- Used flag should be turned on. The RERR message that isbeing supplied onforwarded should carry thedata packets. ItFILTER_SPEC from the corresponding reservation state (thus `un-merging' the filter spec). For reservations with wildcard scope, there isneededan additional limitation on forwarding RERR messages, toensure that Path messages do not haveavoid loops; see Section 4.3 below. When ascope larger than multicast data packets. Finally, Upcall_Proc_addr isRERR message reaches a receiver, theaddressSTYLE object, flow descriptor list, and ERROR_SPEC object (which contains the LUB-Used flag) should be delivered to the receiver application. In the case of anupcall procedureAdmission Control error, the flow descriptor list will contain the FLOWSPEC object that failed. If the LUB-Used flag is off, this should be `equal' toreceive asynchronous error or event notification; see below. o Reserve Call: RESERVE( session-id, style, style-dependent-parms )(but not necessarily identical to) the FLOWSPEC originated by this application; otherwise, they may differ. Braden, Zhang, et al. Expiration:SeptemberDecember 1995 [Page 38] Internet Draft RSVP SpecificationMarchJune 1995A receiver uses this call to make a resource reservation for the session registered as `session-id'. The style parameter indicates the reservation style. The rest4.1.6 Teardown Messages There are two types of RSVP Teardown message, PTEAR and RTEAR. o A PTEAR message deletes path state (which may, in turn, delete reservation state) and travels towards all receivers that are downstream from theparameters depend uponpoint of initiation. A PTEAR message is routed like a PATH message, and its IP destination address is DestAddress for thestyle, but generally these will include appropriate flowspecssession. o A RTEAR message deletes reservation state andfilter specs. The first RESERVE call will initiatetravels towards all matching senders upstream from theperiodic transmissionpoint ofRESV messages.teardown initiation. Alater RESERVE callRTEAR message is routed like a corresponding RESV message (using the same scope rules). Its IP destination address is the unicast address of a previous hop. <PathTear Message> ::= <Common Header> <SESSION> <RSVP_HOP> [ <INTEGRITY> ] <sender descriptor list> <sender descriptor list> ::= (see earlier definition) <ResvTear Message> ::= <Common Header> <SESSION> <RSVP_HOP> [ <INTEGRITY> ] [ <SCOPE> ] <STYLE> <flow descriptor list> <flow descriptor list> ::= (see earlier definition) FLOWSPEC or POLICY_DATA objects in the flow descriptor list of a RTEAR message will be ignored and may begivenomitted. Note that the RTEAR message will cease tomodifybe forwarded at theparameterssame node where merging suppresses forwarding of theearlier call (but note that changingcorresponding RESV messages. The change will be propagated as a new teardown message if thereservationsresult has been to remove all state for this session at this node; otherwise, it may result inadmission control failure, depending uponthestyle). The RESERVE call returns immediately. Followingimmediate forwarding of aRESERVE call, an asynchronous ERROR/EVENT upcall may occur at any time. o Release Call: RELEASE( session-id ) This call will terminate RSVP state for the session specified by session-id. It may send appropriate teardown messages and will cease sending refreshes for this session-id. o Error/Event Upcalls Call: <Upcall_Proc> (session-id, Info_type, List_count [ ,Error_code ,Error_value ,LUB-flag ] [ ,Filter_spec_list ] [ ,Flowspec_list ] [ ,Advert_list ] ) Here "Upcall_Proc" represents the upcall procedure whose address was supplied inmodified RESV refresh message. Deletion of path state, whether as theREGISTER call. This upcall may occur asynchronously at any time after a REGISTER call and beforeresult of aRELEASE call, to indicate an errorteardown message oran event. Currently there are three upcall types, distinguished by the Info_type parameter: 1. Info_type = Path Event A Path Event upcall indicates the receiptbecause ofa PATH message, indicatingtimeout, may force adjustments in related reservation state to maintain consistency in theapplication that there islocal node. Braden, Zhang, et al. Expiration:SeptemberDecember 1995 [Page 39] Internet Draft RSVP SpecificationMarchJune 1995at least one active sender. This upcall provides synchronizing information to the receiver application, and it may also provide parallel lists of senders (in Filter_spec_list), traffic descriptions (in Flowspec_list), and service advertisements (in Advert_list). 'List_count' is the number in each list; where these objects are missing, corresponding null objects must appear. Error_code and Error_value, and LUB-flag should be ignoredThe adjustment in reservation state depends upon the style. For example, suppose aPath Event upcall. 2. Info_type = Path Error An Path Error event indicates an error in processingPTEAR deletes the path state for a senderdescriptor originated by this sender. The Error_code parameter will define the error, and Error_value may supply some additional (perhaps system-specific) data aboutS. If theerror. `List_count' willstyle specifies distinct reservations (FF), only reservations for sender S should be1, and Filter_spec_list and Flowspec_list will contain the Sender_Template anddeleted; if theSender_Tspec supplied instyle specifies shared reservations (WF or SE), delete theREGISTER call; Advert_list will contain one NULL object. 3. Info_type = Resv Error An Resv Error event indicates an error in processing a RESV message to whichreservation if thisapplication contributed. The Error_code parameter will define the error, and Error_value may supply some additional (perhaps system-specific) data onwas theerror. `List_count' will be 1, and Filter_spec_list and Flowspec_list will contain one FILTER_SPEC and one FLOWSPEC object.last filter spec. Theseobjects are taken from thereservation changes should not trigger an immediate RESV refresh message, since the teardown messagethat causedwill have already made theerror (unlessrequired changes upstream. However, at theLUB- flag is on,node in whichcase FLOWSPECa RTEAR message stops, the change of reservation state maydiffer). Althoughtrigger a RESV refresh starting at that node. 4.2 Sending RSVP Messages RSVP messagesindicating path events or errors may be received periodically, the API should make the corresponding asynchronous upcall to the application only on the first occurrence, or when the informationare sent hop-by-hop between RSVP-capable routers as "raw" IP datagrams with protocol number 46. Raw IP datagrams are similarly intended to bereported changes. 4.6.2 RSVP/Traffic Control Interface In each routerused between an end system andhost, enhanced QoSthe first/last hop router; however, it isachieved by a groupalso possible to encapsulate RSVP messages as UDP datagrams for end-system communication, as described in Appendix C. UDP encapsulation may simplify installation ofinter-related traffic control functions: a packet classifier, Braden, Zhang, et al. Expiration: September 1995 [Page 40] Internet DraftRSVPSpecification March 1995 an admissionon current end systems, particularly when firewalls are in use. Under overload conditions, lost RSVP controlmodule, andmessages could cause apacket scheduler. This section describesfailure of resource reservations. Routers should be configured to give agenericpreferred class of service to RSVPinterfacepackets. RSVP should not use significant bandwidth, but queueing delay and dropping of RSVP messages needs totraffic control. 1. Make a Reservation Call: Rhandle = TC_AddFlowspec( Flowspec, Police_Flag [ , Sender_Tspec] [ , SD_rank , SD_end_flag ] ) This call passesbe controlled. An RSVP PATH or RESV message generally consists of aFlowspec definingsmall root segment followed by adesired QoS to admission control. Itpotentially unbounded variable-length list of objects. The variable part mayalso pass Sender_Tspec,overflow themaximum traffic characteristics computed overcapacity of one datagram. If RSVP used IP fragmentation and reassembly (or an equivalent byte-by-byte fragmentation mechanism at theSENDER_TSPECsRSVP level), loss ofsenders that will contribute data packets to this reservation. Police_Flag isaBoolean parameter that indicates whether traffic policing should be applied at this point. The SD_rank and SD_end_flag fields are usedsingle packet would unnecessarily lose the entire state update for amember of a session group. SD_ranksession. It is instead recommended that an RSVP implementation use "semantic" fragmentation, using therank value from the SESSION_GROUP object. The call is made with eachstructure of thesessionsRSVP message. An unbounded list inthe group, and SD_end_flag is set true for the last one. This call returnsanerror code if Flowspec is malformed or if the requested resourcesRSVP message in fact consists of individual atomic elements that areunavailable. Otherwise, it establishespacked together for efficiency. Wben sending anew reservation channel corresponding to Rhandle. It returnsmessage, an RSVP should therefore pack only what will fit into one packet, and then continue packing with theopaque number Rhandle for subsequent references to this reservation. 2. Add Filter Call: TC_AddFilter( Rhandle, Session, Filterspec ) This callnext packet, etc. Each of these messages will be processed independently at the receiving node, each updating its part of the session state in the node. No explicit reassembly isused to define a filter correspondingneeded. Since RSVP messages are normally expected tothe given handle, following a successful TC_AddFlowspec call. 3. Modify or Delete Filter Call: TC_ModFilter( Rhandle, Session, [ new_Filterspec] ) This call can modify an existing filter or replace anbe generated and sent Braden, Zhang, et al. Expiration:SeptemberDecember 1995 [Page41]40] Internet Draft RSVP SpecificationMarchJune 1995existing filter with no filter (i.e., deletehop-by-hop, their MTU should be determined by thefilter). 4. Modify or Delete Flowspec Call: TC_ModFlowspec( Rhandle [, new_Flowspec [ ,Sender_Tspec]] ) This call can modifyMTU of each interface. Upon the arrival of anexisting reservation or deleteRSVP message M that changes thereservation. If new_Flowspec is included, it is passed to Admission Control; if it is rejected,state, a node must forward thecurrent flowspec is left in force.modified state immediatly. Ifnew_Flowspecthis isomitted,implemented as an immediate refresh of all thereservationstate for the session, then no refresh messages should be sent out the interface through which M arrived. This rule isdeleted and Rhandle is invalidated. 5. OPWA Update Call: TC_Advertise( interface, Adspec [ ,Sender_TSpec ] ) -> New_Adspec This call is used for OPWA to compute the outgoing advertisement New_Adspec for a specified interface. 6. Initialize Traffic Control Call: TC_Initialize(interface ) This call is used when RSVP initializes its state,necessary toclear out all existing classifier and/orprevent packetscheduler statestorms on broadcast LANs. Some multicast routing protocols provide for "multicast tunnels", which encapsulate multicast packets for transmission through routers that do not have multicast capability. A multicast tunnel looks like aspecifiedlogical outgoing interface that is mapped into some physical interface.4.6.3 RSVP/Routing Interface AnA multicast routing protocol that supports tunnels will describe a route using a list of logical rather than physical interfaces. RSVPimplementation needscan support multicast tunnels in the followingsupport frommanner: 1. When a node N forwards a PATH message out a logical outgoing interface L, it includes in thepacket forwarding and routing mechanismmessage some encoding of thenode. o Promiscuous receive mode for RSVP messages Any datagram received for IP protocol 46identity of L. This information is carried (in the HOP object) as a value called the "logical interface handle" or LIH. 2. The next hop node N' stores the LIH value in its path state. 3. When N' sends a RESV message tobe divertedN, it includes the LIH value from the path state (again, in the HOP object). 4. When the RESV message arrives at N, its LIH value provides the information necessary to attach theRSVP program for processing, without being forwarded. The identity ofreservation to theinterface on whichappropriate logical interface. Note that N creates and interprets the LIH; it isreceived should also be availablean opaque value tothe RSVP daemon. o Route discovery Braden, Zhang, et al. Expiration: September 1995 [Page 42] Internet Draft RSVP Specification March 1995N'. 4.3 Avoiding RSVP Message Loops We mustbe able to discover the route(s)ensure that therouting algorithm would have usedrules for forwardinga specific datagram. GetUcastRoute( DestAddress ) -> OutInterface GetMcastRoute( SrcAddress, DestAddress ) -> OutInterface_list o Route Change Notification Routing may provide an asynchronous notification to RSVP that a specified route has changed. New_Ucast_Route( DestAddress ) -> new_OutInterface New_Mcast_Route( SrcAddress, DestAddress ) -> new_OutInterface_list o Outgoing Link SpecificationRSVPmust be able to force a (multicast) datagram to be sentcontrol messages avoid looping. In steady state, PATH and RESV messages are forwarded only once per refresh period on each hop. This avoids directly looping packets, but there is still the possibility of an " auto-refresh" loop, clocked by the refresh period. The effect of such aspecific outgoing virtual link, bypassingloop is to keep state active "forever", even if thenormal routing mechanism. A virtual link mayend nodes have ceased refreshing it (but the state will bea real outgoing link or adeleted when the receivers leave the multicasttunnel. Outgoing link specification is necessary because RSVP may send different versions of outgoinggroup and/or the senders stop sending PATHmessages on different interfaces, formessages). On thesame sourceother hand, error anddestination addresses,teardown messages are forwarded immediately and are therefore subject toavoid loops. o Discover Interface List RSVP must be able to learn what real and virtual interfaces exist.direct looping. Braden, Zhang, et al. Expiration:SeptemberDecember 1995 [Page43]41] Internet Draft RSVP SpecificationMarchJune 19955. Message Processing Rules This generic description of RSVP operation assumes the following data structures. An actual implementation may use additional or different structures to optimize processing.oPSB -- Path State Block Each PSB holds path state for a particular (session, sender) pair, defined by SESSION and SENDER_TEMPLATE objects, respectively. PSB contents include a PHOP object and possibly SENDER_TSPEC, CREDENTIAL, and/or ADVERT objects fromPATHmessages. o RSB -- Reservation State Block RSB'sMessages PATH messages areused to hold reservation state. Each RSB holds reservation state for the 4-tuple: (session, next hop, style, filterspec), defined in SESSION, NHOP (i.e., RSVP_HOP), STYLE, and FILTER_SPEC objects, respectively. We assume that RSB contents includeforwarded using routes determined by theoutgoing interface OIappropriate routing protocol. For routing that isimplied by NHOP. RSB contents also include a FLOWSPEC object and may include a CERTIFICATE object. MESSAGE ARRIVES Verify version number, checksum, and length fields of common header, and discard message if it fails. Further processing depends upon message type. PATH MESSAGE ARRIVES Start withsource- dependent (e.g., some multicast routing algorithms), theRefresh_Needed flag off. EachRSVP daemon must route each sender descriptorobject sequenceseparately using the source addresses found in themessage definesSENDER_TEMPLATE objects. This should ensure that there will be no auto-refresh loops of PATH messages, even in asender. Processtopology with cycles. Consider eachsendermessage type. o PTEAR Messages PTEAR messages use the same routing asfollows. 1. If there is a CREDENTIAL object, verify it; if it is unacceptable, buildPATH messages andsend atherefore cannot loop. o PERRmessage, drop theMessages Since PATHmessage, and return. 2. If there is nomessages don't loop, they create path stateblock (PSB) for the (session, sender) pair then: o Createdefining anew PSB.loop-free reverse path to each sender. PERR messages are always directed to particular senders and therefore cannot loop. oSetRESV Messages Like PERR message, RESV messages directed to particular senders (i.e., with explicit scope) cannot loop. However, there is acleanup timerpotential for auto-refresh of RESV messages with wildcard scope; thePSB.solution is presented below. o RTEAR Messages RTEAR messages are routed the same as RESV messages and have an analogous looping problem for wildcard scope. o RERR Messages RERR messages for wildcard scope reservations have the same potential for looping as the reservations themselves, and the solution presented below is required. Ifthisthe topology has no loops, then looping of wildcard-scoped messages can be avoided by simply enforcing the rule given earlier: state that is received through a particular interface must never be forwarded out thefirstsame interface. However, when the topology does have cycles then further effort is needed to prevent auto-refresh loops in wildcard-scope RESV, RTEAR, and RERR Braden, Zhang, et al. Expiration:SeptemberDecember 1995 [Page44]42] Internet Draft RSVP SpecificationMarchJune 1995PSBmessages. The solution is forthe session, setsuch messages to carry an explicit sender address list in arefresh timer for the session. o Copy PHOP into the PSB. Copy into the PSB any ofSCOPE object. When a RESV or RTEAR message with wildcard scope is to be forwarded to a particular previous hop, a new SCOPE object is computed from thefollowingSCOPE objects thatare present inwere received (in messages of themessage: CREDENTIAL, SENDER_TSPEC, and/or ADVERT. Copysame type). If theEntryPolice flag fromcomputed SCOPE object is empty, thecommon header intomessage is not forwarded to thePSB. o Callprevious hop; otherwise, theappropriate route discovery routine, using DestAddress from SESSION and (for multicast routing) SrcAddress from SENDER_TEMPLATE. Store the resulting routing bit mask ROUTE_MASK in the PSB. 3. Otherwise (theremessage is sent containing the new SCOPE object. The rules for computing amatching PSB): o If CREDENTIAL differs between message and PSB, verifynewCREDENTIAL. If it is acceptable, copy it into PSB. Otherwise, build and sendSCOPE object for aPERRRESV or RTEAR messagefor "Bad Credential", drop the PATH message, and return. o Restart cleanup timer. o Update the PSB with values from the message,are asfollows. Copy the ADVERT object, if any, into the PSB. Copy the EntryPolice flag into the PSB. If the valuesfollows: 1. The union is formed ofPHOP or SEND_TSPEC differ between the message and the PSB, copythenew values intosets of sender IP addresses listed in all SCOPE objects in thePSB and turn onreservation state for theRefresh_Needed flag.given session. IfSEND_TSPEC has changed, reservations matching S may also change; this may be deferred untilreservation state from some NHOP does not contain aRESV refresh arrives. o Call the appropriate route discovery routineSCOPE object, a substitute sender list must be created andcompare the route mask with the ROUTE_MASK value alreadyincluded in thePSB; ifunion. For anew bit (interface) has been added, turnwildcard scope (WF) message that arrived on outgoing interface OI, theRefresh_Needed flag. Store new ROUTE_MASKsubstitute list is the set of senders that route to OI. For an explicit scope (SE) message, it is the set of senders explicitly listed in thePSB. 4.message. 2. Any local senders are removed from this set. 3. If theRefresh_Needed flagSCOPE object isnow set, executeto be sent to PHOP, remove from thePATH REFRESH event sequence (below). PATH TEAR MESSAGE ARRIVES o If there is no path state for this destination, drop the message and return. o Forward a copyset any senders that did not come from PHOP. Figure 12 shows an example of wildcard-scoped (WF style) RESV messages. The address lists within SCOPE objects are shown in square brackets. Note that there may be additional connections among thePTEAR message using the same rules asnodes, creating looping topology that is not shown. Braden, Zhang, et al. Expiration:SeptemberDecember 1995 [Page45]43] Internet Draft RSVP SpecificationMarchJune 1995for________________ aPATH message (see PATH REFRESH). o Each sender descriptor in| | c R4, S4<----->| Router |<-----> R2, S2, S3 | | b | | R1, S1<----->| | |________________| Send on (a): | Receive on (c): | <-- WF( [S4] ) | <-- WF( [S4, S1]) | Send on (b): | | <-- WF( [S1] ) | | Receive on (a): | Send on (c): | WF( [S1,S2,S3]) --> | WF( [S2, S3]) --> | Receive on (b): | | WF( [S2,S3,S4]) --> | | Figure 12: SCOPE Objects in Wildcard-Scope Reservations SCOPE objects are not necessary if thePTEAR message containsmulticast routing uses shared trees or if the reservation style has explicit scope. Furthermore, attaching aSENDER_TEMPLATESCOPE objectdefinesto asender S; process it as follows.reservation may be deferred to a node which has more than one previous hop upstream. The following rules are used for SCOPE objects in wildcard-scoped RERR messages: 1.LocateThe node that detected thePSB forerror initiates an RERR message containing a copy of thepair: (session, S). If none exists, continueSCOPE object associated withnext sender descriptor. 2. ExaminetheRSB's for this session and delete anyreservation stateassociatedor message in error. 2. Suppose a wildcard-scoped RERR message arrives at a node withsender S, depending upona SCOPE object containing thereservation style. For example: Delete a WF reservation for which S issender host address list L. The node forwards theonly sender. Delete an FF reservation for S. 3. DeleteRERR message using thePSB. PATH ERROR MESSAGE ARRIVES o If there are no existing PSB's for SESSION then droprules of Section 4.1.5. However, thePERRRERR messageand return. o Look up the PSB for (session, sender); sender is definedforwarded out OI must contain a SCOPE object derived from L bySENDER_TEMPLATE. If no PSB is found, drop PERR message and return. oincluding only those senders that route to OI. IfPHOP in PSBthis SCOPE object islocal API, deliver error to application via an upcall: Call: <Upcall_Proc>( session-id, Path Error, 1, Error_code, Error_value, 0, SENDER_TEMPLATE, NULL, NULL) Note that CREDENTIAL, SENDER_TSPEC, and ADVERT objects inempty, the RERR messageis ignored. Otherwise (PHOP isshould notlocal API), forward a copy of the PERR message to the PHOP node. RESV MESSAGE ARRIVESbe sent out OI. Braden, Zhang, et al. Expiration:SeptemberDecember 1995 [Page46]44] Internet Draft RSVP SpecificationMarchJune 1995A RESV message arrives through outgoing interface OI. o Check the SESSION object. If there are no existing PSB's for SESSION then build and send4.4 Local Repair When aRERR message (as described later) specifying "No Path Information", droproute changes, the next PATH or RESVmessage, and return. However, do not send the RERR message if the style has wildcardrefresh will establish path or reservationscope and this is notstate (respectively) along thereceiver host itself. o Checknew route. To provide fast adaptation to routing changes without theSTYLE object. If style inoverhead of short refresh periods, themessage conflicts withlocal routing protocol module can notify thestyleRSVP daemon ofany reservationroute changes for particular destinations. The RSVP daemon should use thissession in place on any interface, rejectinformation to trigger an immediate refresh of state for these destinations, using theRESV message by building and sending a RERR message specifying "Bad Style", dropnew route. More specifically, theRESV message, and return.rules are as follows: oCheck the CREDENTIAL object. Verify the CREDENTIAL field (if any) to check permission to createWhen routing detects areservation. [This check may also involvechange of theCREDENTIAL fieldsset of outgoing interfaces for sending PATH messages for destination G, RSVP should send immediate PATH refreshes for all sessions G/* (i.e., for any session with destination G, regardless of destination port). o When a PATH message arrives with a Previous Hop address that differs from thePSB'sone stored in thescope of this reservation; inpath state, RSVP should send immediate RESV refreshes for thatcase, it would better fit belowsession. 4.5 Time Parameters There are two time parameters relevant to each element of RSVP path or reservation state inprocessinga node: theindividual flow descriptors.] o Checkrefresh period R between receiving successive refreshes forpath state If there are no PSB's matchingthescope of this reservation, buildstate, andsend a RERRits lifetime L. Each RSVP RESV or PATH message may contain a TIME_VALUES object specifying"No Sender Information", droptheRESV message, and return. o Make reservations ProcessR value that was used to generate this refresh message; this is used to determine thestyle-specific tail sequence. For FF style, executeL when thefollowing steps for each b flow descriptor, i.e., each (FLOWSPEC, FILTERSPEC) pair. For WF style execute the following once, using some internal placeholder "WILD_FILTER" for FILTERSPEC to indicate wildcard scope.state is received and stored. In more detail: 1.Find or createTo avoid premature loss of state, we require that L >= (K + 0.5)* R, where K is areservationsmall integer. Then K-1 successive messages may be lost without stateblock (RSB) for the 4-tuple: (SESSION, NHOP, style, FILTERSPEC).being deleted. Currently K = 3 is suggested. 2.Start or restartEach message will generally carry a TIME_VALUES object containing thecleanout timer onR used to generate refreshes; theRSB.recipient node uses this R to determine L of the stored state. However, if a default R = Rdef is used, the TIME_VALUES object may be omitted from a message. Rdef is currently defined to be 30 seconds. Braden, Zhang, et al. Expiration:SeptemberDecember 1995 [Page47]45] Internet Draft RSVP SpecificationMarchJune 1995 3.Start a refresh timerThis document does not specify the interval R to be used forthis session if none was started. 4.generating refresh messages. If theRSB existed and if FLOWSPEC and the SENDER_TSPEC objects are unchanged, drop the RESV message and return. 5. Compute Sender_Tspec as the maximum over the SENDER_TSPEC objectsnode does not implement local repair of reservations disrupted by route changes, a smaller R improves thePSB's within the scopespeed ofthe reservation. 6. Set Police_flag on if any PSB's in the scope have the EntryPolice flag on, or if the style is WF and there isadapting to routing changes (but increases overhead). With local repair, a router can be morethan one PSB inrelaxed about R since thescope, otherwise off. 7. Computer K_Flowspec,periodic refresh becomes only a backstop robustness mechanism. A node may therefore adjust the effectivekernel flowspec, as the maximum of the FLOWSPEC values in all RSB's for the same (SESSION, OI, FILTERSPEC) triple. Similarly, the kernel filter spec K_filter is eitherR dynamically to limit theFILTER_SPECoverhead due to refresh messages. 4. The TIME_VALUES objectunder consideration (unitary scope), or it is WILD_FILTER (wildcard scope). If there was no previous kernel reservationcould contain, inplace for (SESSION, OI, FILTERSPEC), calladdition to thekernel interface module: TC_AddFlowspec( Sender_Tspec, K_flowspec, Police_Flag ) If this call fails, build and sendhop-by-hop R value, an end-to-end upper bound on R, called Rmax. When Rmax is specified, aRERR message specifying "Admission control failed", drop the RESV message, and return. Otherwise, record the kernel handle K_handle returned by the call in the RSB(s). Then call: TC_AddFilter( K_handle, K_Filter) tonode cannot setthe filter, drop the RESV message and return. /itemR > Rmax. However,if there was a previous kernel reservation with handle K_handle, call the kernel interface module: TC_ModFlowspec( K_handle, K_Flowspec, Sender_Tspec) If this call fails, build and sendaRERRnode is allowed to refuse an RSVP messagespecifying "Admission control failed". In any case,(i.e., dropthe RESV messageit andreturn. Braden, Zhang, et al. Expiration: September 1995 [Page 48] Internet Draft RSVP Specification March 1995 If processing a RESV message findsreturn anerror, a RERR message is created containing flow descriptor anderror) when it specifies anERRORS object. The Error Node fieldRmax value that is so small that it would create unacceptable overhead. This refusal would look like a kind ofthe ERRORS object (see Appendix A)admission control failure. 5. However, when R issetchanged dynamically, there is a limit to how fast it may increase. Specifically, theIP addressratio ofOI, and the message is sent unicast to NHOP. created RESV TEAR MESSAGE ARRIVES A RTEAR message arrives on outgoing interface OI. o If there are no existing PSB's for SESSION then drop the RTEAR message and return. o Process the style-specific tail sequence to tear down reservations. For FF style, execute the following steps for each b flow descriptor, i.e., each (FLOWSPEC, FILTERSPEC) pair. For WF style execute the following once, using some internal placeholder "WILD_FILTER" for FILTERSPEC to indicate wildcard scope. 1. Find matching RSB(s) for the 4-tuple: (SESSION, NHOP, style, FILTERSPEC). If no RSBtwo successive values R2/R1 must not exceed 1 + Slew.Max. Currently, Slew.Max isfound, continue with next flow descriptor, if any. 2. Delete the RSB(s). 3. If there are no more RSBs for the same (SESSION, OI, FILTERSPEC/) triple, call the kernel interface module: TC_ModFlowspec( K_handle ) to delete the reservation. Then build and forward0.30. With K = 3, one packet may be lost without state timeout while R is increasing 30 percent per refresh cycle. 6. To improve robustness, anew RERR message. - WF style:node may temporarily send refreshes more often than R after acopystate change (including initial state establishment). 7. A node should randomize its refresh timeouts toeach PHOP among all matching senders. - FF style: Sendavoid synchronization and burstiness of refreshes. 8. The values of Rdef, K, and Slew.Max used in an implementation should be easily modifiable, as experience may lead toPHOPdifferent values. The possibility ofmatching PSB. 4. Otherwise (there are other RSB'sdynamically changing K and/or Slew.Max in response to measured loss rates is forthe same reservation), recompute K_Flowspec and call the kernel interface module: TC_ModFlowspec( K_handle, K_Flowspec, Sender_Tspec)future study. Braden, Zhang, et al. Expiration:SeptemberDecember 1995 [Page49]46] Internet Draft RSVP SpecificationMarchJune 1995 4.6 RSVP Interfaces RSVP on a router has interfaces toupdate the reservation,routing andthen execute the RESV REFRESH sequence (below). If this kernel call fails, return; the prior reservation will remainto traffic control inplace. RESV ERROR MESSAGE ARRIVES o Calltheappropriate route discovery routine, using DestAddress from SESSIONkernel. RSVP on a host has an interface to applications (i.e, an API) and(for multicast routing) SrcAddress fromalso an interface to traffic control (if it exists on theError Node field inhost). 4.6.1 Application/RSVP Interface This section describes a generic interface between an application and an RSVP control process. The details of a real interface may be operating-system dependent; theERRORS object. Letfollowing can only suggest theresulting routing bit maskbasic functions to beM. o Determine the setperformed. Some ofRSBs matching the triple: (SESSION, style, FILTERSPEC). If no RSB is found, drop RERR message and return. Recompute the maximum overthese calls cause information to be returned asynchronously. o Register Call: REGISTER( DestAddress , DestPort [ , SESSION_object ] , SND_flag , RCV_flag [ , Source_Address ] [ , Source_Port ] [ , Source_ProtID ] [ , Sender_Template ] [ , Sender_Tspec ] [ , Data_TTL ] [ , Sender_Policy_Data ] [ , Upcall_Proc_addr ] ) -> Session-id This call initiates RSVP processing for a session, defined by DestAddress together with theFLOWSPEC objects of this set of RSB's.TCP/UDP port number DestPort. If successful, theLUB wasREGISTER call returns immediately with a local session identifier Session-id, which may be used inthis computation, turn on the LUB-flag in the received RESV message. o Delete from the set of RSVs any whose OI does not appear in the bit mask M and whose NHOP is not the local API. If none remain, drop RERR message and return. For each PSB in the resulting set, do the following step. o If NHOP in PSB is local API, deliver error to application via an upcall: Call: <Upcall_Proc>( session-id, Resv Error, 1, Error_code, Error_value, LUB-flag, FILTER_SPEC, FLOWSPEC, NULL) Here LUB-flagsubsequent calls. The SESSION_object parameter istaken from the received packet,included aspossibly modified above. Otherwise (NHOP is not local API), forward a copy of the RERR messagean escape mechanism to support some more general definition of thePHOP node. PATH REFRESH This sequence maysession ("generalized destination port"), should that beentered by eithernecessary in theexpirationfuture. Normally SESSION_object will be omitted; if it is supplied, it should be an appropriately-formatted representation ofthe path refresh timer foraparticular session, or immediately asSESSION object. SND_flag should be set true if theresult of processing a PATH message turning onhost will send data, and RCV_flag should be set true if theRefresh_Needed flag. For each virtual outgoing interface ("vif") V, build a PATH messagehost will receive Braden, Zhang, et al. Expiration:SeptemberDecember 1995 [Page50]47] Internet Draft RSVP SpecificationMarchJune 1995 data. Setting neither true is an error. The optional parameters Source_Address, Source_Port, Sender_Template, Sender_Tspec, Data_TTL, andsend it to V. To build the message, consider each PSB whose ROUTE_MASK includes V, and do the following: o Pass the ADVERT and SENDER_TSPEC objects present in the PSB to the kernel call TC_Advertise, and get backSender_Policy_Data are all concerned with amodified ADVERT object. Pack this modified object into the PATH message being built. o Create a sender descriptor sequence containing the SENDER_TEMPLATE, CREDENTIAL,data source, andSENDER_TSPEC objects, if present inthey will be ignored unless SND_flag is true. If SND_FLAG is true, a successful REGISTER call will cause RSVP to begin sending PATH messages for this session using these parameters, which are interpreted as follows: - Source_Address This is thePSB. Packaddress of thesender descriptor intointerface from which thePATH message being built. odata will be sent. Ifthe PSB has the EntryPolice flag on and ifit is omitted, a default interfaceVwill be used. This parameter isnot capable of policing, turn the EntryPolice flagneeded onin the PATH message being built. o Ifa multihomed sender host. - Source_Port This is themaximum size ofUDP/TCP port from which thePATH messagedata will be sent. If it isreached, sendomitted or zero, thepacket out interface Vport is "wild" andstart packingcan match any port in anew one. RESV REFRESHFILTER_SPEC. - Source_ProtID Thissequence may be entered by either the expiration ofis thereservation refresh timerIP protocol ID fora particular session,the sender data. If it is omitted orimmediately aszero, theresult of processing a RESV message. Each PSB for this sessionprotocol id isconsidered"wild" and can match any protocol id inturn, to compute a style- dependent tail sequence. These sequences foragiven PHOP are then packed into the same message(s) and sent to that PHOP. The logicFILTER_SPEC. - Sender_Template This parameter issomewhat different depending upon whether the scopeincluded as an escape mechanism to support a more general definition of thereservations is wildcard or not (theysender ("generalized source port"). Normally this parameter maynotbemixed). For each PSB that does not correspond to the API, do the following. o Compute (FLOWSPEC, FILTER_SPEC) Pair Select each RSB in whose reservation scope the PSB falls, and compute the maximum over the FLOWSPEC objects of this set of RSB's. Also, selectomitted; if it is supplied, it should be anappropriate FILTER_SPEC. The scope depends upon the style and the filter specappropriately formatted representation ofthe RSB: 1. WF: Select every RSB whose OI matchesabit inSENDER_TEMPLATE object. - Sender_Tspec This parameter is a Tspec describing theROUTE_MASK oftraffic flow to be sent. It may be included to prevent over- reservation on thePSB. In this case, FILTER_SPECinitial hops. - Data_TTL This is thestandard WILD_FILTER. 2. FF: Select every RSB whose FILTER_SPEC matches SENDER_TEMPLATE in(non-default) IP Time-To-Live parameter that is being supplied on theRSB. This matching process shoulddata packets. It is Braden, Zhang, et al. Expiration:SeptemberDecember 1995 [Page51]48] Internet Draft RSVP SpecificationMarchJune 1995consider wildcards. In this case, FILTER_SPEC is taken from any of the matching RSB's. [?? Need to either 'merge' filter specs, which probably meansneeded toremove gratuitous wildcards??] This computation also yieldsensure that Path messages do not have astyle (since style must be consistent across RSB'sscope larger than multicast data packets. - Sender_Policy_Data This optional parameter passes policy data forgiven session). [??Again, need merging rules]] o Build RESV packets Append this (FLOWSPEC, FILTER_SPEC pair) totheRESV message being built for destination PHOP (fromsender. This data may be supplied by a system service, with thePSB). Whenapplication treating it as opaque. Finally, Upcall_Proc_addr is thepacket fills, or upon completionaddress ofall PSB's with the same PHOP, setan upcall procedure to receive asynchronous error or event notification; see below. o Reserve Call: RESERVE( session-id, style, style-dependent-parms ) A receiver uses this call to make a resource reservation for theNHOP address insession registered as `session-id'. The style parameter indicates themessage toreservation style. The rest of theinterface addressparameters depend upon the style, but generally these will include appropriate flowspecs, filter specs, andsendpossibly receiver policy data objects. The first RESERVE call will initiate thepacket out that interfaceperiodic transmission of RESV messages. A later RESERVE call may be given to modify thePHOP address.parameters of the earlier call (but note that changing the reservations may result in admission control failure, depending upon the style). The RESERVE call returns immediately. Following a RESERVE call, an asynchronous ERROR/EVENT upcall may occur at any time. o Release Call: RELEASE( session-id ) This call will terminate RSVP state for the session specified by session-id. It may send appropriate teardown messages and will cease sending refreshes for this session-id. o Error/Event Upcalls Braden, Zhang, et al. Expiration:SeptemberDecember 1995 [Page52]49] Internet Draft RSVP SpecificationMarchJune 1995appendix 6. Object Type Definitions C-types are defined forUpcall: <Upcall_Proc>( ) -> session-id, Info_type, [ Error_code , Error_value , LUB-Used, ] List_count, [ Flowspec_list,] [ Filter_spec_list, ] [ Advert_list, ] [ Policy_data ] Here "Upcall_Proc" represents thetwo Internetupcall procedure whose addressfamilies IPv4was supplied in the REGISTER call. This upcall may occur asynchronously at any time after a REGISTER call andIP6. To accomodate other address families, additional C-types could easily be defined. These definitions are contained as an Appendixbefore a RELEASE call, toease updating. 6.1 SESSION Class Currently, SESSION objects containindicate an error or an event. Currently there are three upcall types, distinguished by thepair: (DestAddress, DestPort), where DestAddressInfo_type parameter: 1. Info_type = Path Event A Path Event upcall indicates to a receiver application that there is at least one active sender. It results from receipt of thedata destination addressfirst PATH message for this session. This upcall provides synchronizing information to the receiver application, andDestPort isit may also provide parallel lists of senders (in Filter_spec_list), traffic descriptions (in Flowspec_list), and service advertisements (in Advert_list). `List_count'will be theUDP/TCP destination port. Other SESSION C-Types couldnumber in each list; where these objects are missing, corresponding null objects must appear. The Error_code, Error_value, LUB-Used flag, and Policy_data parameters will bedefinedundefined inthe futurethis upcall. 2. Info_type = Resv Event A Resv Event upcall indicates tosupport other demultiplexing conventionsa sender application that a reservation for this session in place along the entire path to at least one receiver. It is triggered by thetransport-layerreceipt of the first reservation message orapplication layer. o IPv4/UDP SESSION object: Class = 1, C-Type = 1 +-------------+-------------+-------------+-------------+ | IPv4 DestAddress (4 bytes) | +-------------+-------------+-------------+-------------+ | //////////// | DestPort | +-------------+-------------+-------------+-------------+ o IP6/UDP SESSION object: Class =by modification of previous reservation state, for this session. `List_count' will be 1,C-Type = 129 +-------------+-------------+-------------+-------------+ | | + + | | + IP6 DestAddress (16 bytes) + | | + + | | +-------------+-------------+-------------+-------------+ | //////////// | DestPort | +-------------+-------------+-------------+-------------+and Flowspec_list will contain one FLOWSPEC, the effective QoS that would be Braden, Zhang, et al. Expiration:SeptemberDecember 1995 [Page53]50] Internet Draft RSVP SpecificationMarchJune 19956.2 SESSION_GROUP Class o IPv4 SESSION_GROUP Object: Class = 2, C-Type = 1: +-------------+-------------+-------------+-------------+ | IPv4 Reference DestAddress | +-------------+-------------+-------------+-------------+ | Session_Group ID | Count | Rank | +-------------+-------------+-------------+-------------+ o IP6 SESSION_GROUP Object: Class = 2, C-Type = 129: +-------------+-------------+-------------+-------------+ | | + + | | + IP6 Reference DestAddress + | | + + | | +-------------+-------------+-------------+-------------+ | Session-Group ID | Count | Rank | +-------------+-------------+-------------+-------------+ Braden, Zhang, et al. Expiration: September 1995 [Page 54] Internet Draft RSVP Specification March 1995 6.3 RSVP_HOP Class o IPv4 RSVP_HOP object: Class = 3, C-Type = 1 +-------------+-------------+-------------+-------------+ | IPv4 Next/Previous Hop Address | +-------------+-------------+-------------+-------------+ Braden, Zhang, et al. Expiration: September 1995 [Page 55] Internet Draft RSVP Specification March 1995 o IP6 RSVP_HOP object: Class = 3, C-Type = 129 +-------------+-------------+-------------+-------------+ | | + + | | + IP6 Next/Previous Hop Address + | | + + | | +-------------+-------------+-------------+-------------+ This object provides the IP address of the interface through whichapplicable to thelast RSVP-knowledgeable hop forwardedapplication itself. Filter_spec_list and Advert_list will contain one NULL object. The Error_code, Error_value, LUB-Used flag, and Policy_data parameters will be undefined in thismessage. Braden, Zhang, et al. Expiration: September 1995 [Page 56] Internet Draft RSVP Specification March 1995 6.4 STYLE Class o STYLE-WF object: Class = 4, C-Type = 1 +-------------+-------------+-------------+-------------+ | Style=1 | //////// | //////// | ///////// | +-------------+-------------+-------------+-------------+ o STYLE-FF object: Class = 4, C-Typeupcall. 3. Info_type =2 +-------------+-------------+-------------+-------------+ | Style=2 | //////// | //////// | FD Count | +-------------+-------------+-------------+-------------+ FD Count The count of elementsPath Error An Path Error event indicates an error inthe variable-length object listsender information thatfollows. Seewas specified in theRESV message format definition earlier.REGISTER call. The Error_code parameter will define the error, and Error_value may supply some additional (perhaps system-specific) data about the error. `List_count' will be 1, and Filter_spec_list and Flowspec_list will contain the Sender_Template supplied in the REGISTER call; Sender_Tspec and Advert_list will each contain one NULL object. The Policy_data parameter will be undefined in this upcall. 4. Info_type = Resv Error An Resv Error event indicates an error in processing a reservation message to which this application contributed. The Error_code parameter will define the error, and Error_value may supply some additional (perhaps system-specific) data on the error. Filter_spec_list and Flowspec_list will contain the FILTER_SPEC and FLOWSPEC objects from the error flow descriptor (see Section 4.1.5). List_count will specify the number of FILTER_SPECS in Filter_spec_list, while there will be one FLOWSPEC in Flowspec_list. The Policy_data parameter will be undefined in this upcall. 5. Info_type = Policy Data A Policy Information upcall passes a Policy_data parameter containing policy information (accounting, current costs, prices, quota, etc.) that arrived at the receiver. List_count will be zero, and the Error_code, Error_value, and LUB-Used flag parameters will be undefined in this upcall. Although RSVP messages indicating path events or errors Braden, Zhang, et al. Expiration:SeptemberDecember 1995 [Page57]51] Internet Draft RSVP SpecificationMarchJune 19956.5 Flowspec Class o CSZ FLOWSPEC object: Class = 5, C-Type = 1 +-----------+-----------+-----------+-----------+ | QoS Service Code | +-----------+-----------+-----------+-----------+ | b: Token Bucket Depth (bits) | +-----------+-----------+-----------+-----------+ | r: Average data rate (bits/sec) | +-----------+-----------+-----------+-----------+ | d: Max end-to-end delay (ms) | +-----------+-----------+-----------+-----------+ | (For Future Use) | +-----------+-----------+-----------+-----------+ QoS Service Code Integer value defining what service is being requested. The values currently defined for this code are: 1 = Guaranteed Service The Tspec is (b, r), whilemay be received periodically, theRspec is (r). (d)API should make the corresponding asynchronous upcall to the application only on the first occurrence, or when the information to be reported changes. 4.6.2 RSVP/Traffic Control Interface In each router and host, enhanced QoS isignored. 2achieved by a group of inter-related traffic control functions: a packet classifier, an admission control module, and a packet scheduler. This section describes a generic RSVP interface to traffic control. 1. Make a Reservation Call: Rhandle =Bounded-Delay Predictive Service The TspecTC_AddFlowspec( Interface, Flowspec [ , Sender_Tspec] , E_Police_Flag , M_Police_Flag ) This call passes a Flowspec defining a desired QoS to admission control. It may also pass Sender_Tspec, the maximum traffic characteristics computed over the SENDER_TSPECs of senders that will contribute data packets to this reservation. E_Police_Flag and M_Police_Flag are Boolean parameters. E_Police_Flag is on if this is(b, r),an entry node, while M_Police is on if this node is an interior data merge point for a shared reservation style. These flags are used to enable traffic policing or shaping when appropriate, in accordance with theRspecservice. This call returns an error code if Flowspec is(d).malformed or if the requested resources are unavailable. Otherwise, it establishes a new reservation channel corresponding to Rhandle. It returns the opaque number Rhandle for subsequent references to this reservation. 2. Modify Reservation Call: TC_ModFlowspec( Rhandle, new_Flowspec [ , Sender_Tspec] , Police_flag ) This call can modify an existing reservation. If Braden, Zhang, et al. Expiration:SeptemberDecember 1995 [Page58]52] Internet Draft RSVP SpecificationMarchJune 19956.6 FILTER_SPEC Class o IPv4/UDP FILTER_SPEC object: Class = 6, C-Type = 1 +-------------+-------------+-------------+-------------+ | IPv4 SrcAddress (4 bytes) | +-------------+-------------+-------------+-------------+ | Protocol Id | ////// | SrcPort | +-------------+-------------+-------------+-------------+ o IP6/UDP FILTER_SPEC object: Class = 6, C-Typenew_Flowspec is included, it is passed to Admission Control; if it is rejected, the current flowspec is left in force. The corresponding filter specs, if any, are not affected. 3. Delete Flowspec Call: TC_DelFlowspec( Rhandle ) This call will delete an existing reservation, including the flowspec and all associated filter specs. 4. Add Filter Spec Call: FHandle =129 +-------------+-------------+-------------+-------------+ | | + + | | + IP6 SrcAddress (16 bytes) + | | + + | | +-------------+-------------+-------------+-------------+ | Protocol Id | ////// | SrcPort | +-------------+-------------+-------------+-------------+ SrcAddressTC_AddFilter( Rhandle, Session , FilterSpec ) This call is used to associate anIP address foradditional filter spec with the reservation specified by the given Rhandle, following ahost, and SrcPortsuccessful TC_AddFlowspec call. This call returns a filter handle FHandle. 5. Delete Filter Spec Call: TC_DelFilter( FHandle ) This call is used to remove aUDP/TCP source port, definingspecific filter, specified by FHandle. 6. OPWA Update Call: TC_Advertise( interface, Adspec [ ,Sender_TSpec ] ) -> New_Adspec This call is used for OPWA to compute the outgoing advertisement New_Adspec for asender.specified interface. Sender_TSpec is also passed if it is available. 7. Preemption Upcall Upcall: TC_Preempt() -> RHandle, Reason_code In order to grant a new reservation request, the admission Braden, Zhang, et al. Expiration:SeptemberDecember 1995 [Page59]53] Internet Draft RSVP SpecificationMarchJune 19956.7 SENDER_TEMPLATE Class o IPv4/UDP SENDER_TEMPLATE object: Class = 7, C-Type = 1 Definition same as IPv4/UDP FILTER_SPEC object. o IP6/UDP SENDER_TEMPLATE object: Class = 7, C-Type = 129 Definition same as IP6/UDP FILTER_SPEC object. 6.8 SENDER_TSPEC Class The most common formcontrol and/or policy modules may be allowed to preempt an existing reservation. This might be reflected in an upcall to RSVP, passing the RHandle ofTspec is a token bucket.the preempted reservation, and some indication of the reason. 4.6.3 RSVP/Routing Interface An RSVP implementation needs the following support from the packet forwarding and routing mechanisms of the node. oToken Bucket SENDER_TSPEC object: Class = 8, C-Type = 1 +-----------+-----------+-----------+-----------+ | b: Token Bucket Depth (bits) | +-----------+-----------+-----------+-----------+ | r: Average data rate (bits/sec) | +-----------+-----------+-----------+-----------+ Braden, Zhang, et al. Expiration: September 1995 [Page 60] Internet DraftPromiscuous receive mode for RSVPSpecification March 1995 6.9 ADVERT Class [TBD] 6.10 TIME_VALUES Classmessages Any datagram received for IP protocol 46 must be diverted to the RSVP program for processing, without being forwarded. The identity of the interface on which it is received should also be available to the RSVP daemon. oTIME_VALUES Object: Class = 10, C-Type = 1 +-------------+-------------+-------------+-------------+ | Refresh Period | +-------------+-------------+-------------+-------------+ | State TTL Time | +-------------+-------------+-------------+-------------+Route Query RSVP must be able to query the routing daemon for the route(s) for forwarding a specific datagram. Ucast_Route_Query( DestAddress, Notify_flag ) -> OutInterface Mcast_Route_Query( SrcAddress, DestAddress, Notify_flag ) -> OutInterface_list If the Notify_flag is True, routing will save state necessary to issue unsolicited route change notification callbacks whenever the specified route changes. This will continue until routing receives a route query call with the Notify_Flag set False. o Route Change Notification If requested by a route query with the Notify_flag True, the routing daemon may provide an asynchronous callback to RSVP that a specified route has changed. Ucast_Route_Change( ) -> DestAddress, OutInterface Mcast_Route_Change( ) -> SrcAddress, DestAddress, OutInterface_list Braden, Zhang, et al. Expiration:SeptemberDecember 1995 [Page61]54] Internet Draft RSVP SpecificationMarchJune 19956.11 ERROR_SPEC ClassoIPv4 ERROR_SPEC object: Class = 11, C-Type = 1 +-------------+-------------+-------------+-------------+ | IP4 Error Node Address (4 bytes) | +-------------+-------------+-------------+-------------+ | Error Code | ////////// | ErrorOutgoing Link Specification RSVP must be able to force a (multicast) datagram to be sent on a specific outgoing virtual link, bypassing the normal routing mechanism. A virtual link may be a real outgoing link or a multicast tunnel. Outgoing link specification is necessary because RSVP may send different versions of outgoing PATH messages for the same source and destination addresses on different interfaces. It is also necessary in some cases to avoid routing loops. o Discover Interface List RSVP must be able to learn what real and virtual interfaces are active, with their IP addresses. Braden, Zhang, et al. Expiration: December 1995 [Page 55] Internet Draft RSVP Specification June 1995 5. Message Processing Rules This generic description of RSVP operation assumes the following data structures. An actual implementation may use additional or different structures to optimize processing. o PSB -- Path State Block Each PSB holds path state for a particular (session, sender) pair, which are defined by SESSION and SENDER_TEMPLATE objects, respectively. PSB contents include a PHOP object and possibly SENDER_TSPEC, POLICY_DATA, and/or ADSPEC objects from PATH messages. o RSB -- Reservation State Block Each RSB holds reservation state for a particular 4-tuple: (session, next hop, style, filterspec), which are defined in SESSION, NHOP, STYLE, and FILTER_SPEC objects, respectively. RSB contents also include a FLOWSPEC object and may include a POLICY_DATA object. We assume that RSB contents include the outgoing interface OI that is implied by NHOP. MESSAGE ARRIVES Verify version number, checksum, and length fields of common header, and discard message if any mismatch is found. Further processing depends upon message type. PATH MESSAGE ARRIVES Start with the Refresh_Needed flag off. Each sender descriptor object sequence in the message defines a sender. Process each sender as follows, starting the Path_Refresh_Needed and Resv_Refresh_Needed flags off. 1. If there is a POLICY_DATA object, verify it; if it is unacceptable, build and send a "Administrative Rejection" PERR message, drop the PATH message, and return. 2. Call the appropriate Route_Query routine, using DestAddress from SESSION and (for multicast routing) SrcAddress from SENDER_TEMPLATE. This provides a routing bit mask ROUTE_MASK and (for a multicast destination) an EXPECTED_INTERFACE. Braden, Zhang, et al. Expiration: December 1995 [Page 56] Internet Draft RSVP Specification June 1995 3. If the message arrived on an interface different from EXPECTED_INTERFACE, drop it and return. 4. Search for a path state block (PSB) whose (SESSION, SENDER_TEMPLATE) pair matches the corresponding objects in the message. If there is a match considering wildcards in the SENDER_TEMPLATE objects, but the two SENDER_TEMPLATEs differ, build and send a "Ambiguous Path" PERR message, drop the PATH message, and return. 5. If there is no matching PSB for the (SESSION, SENDER_TEMPLATE) pair then: o Create a new PSB. o Set a cleanup timer for the PSB. If this is the first PSB for the session, set a refresh timer for the session. o Copy the SESSION, TIME_VALUES, and PHOP objects into the PSB. Copy into the PSB any of the following objects that are present: POLICY_DATA, SENDER_TSPEC, and ADSPEC. o Store ROUTE_MASK and EXPECTED_INTERFACE in the PSB. o Turn on the Path_Refresh_Needed flag. 6. Otherwise (there is a matching PSB): o Restart cleanup timer. o If the SENDER_TSPEC and/or ADSPEC values differ between the message and the PSB, copy the new values into the PSB and turn on the Path_Refresh_Needed flag. Note that if SEND_TSPEC has changed, reservations matching S may also change; this may be deferred until a RESV refresh arrives. o If the new ROUTE_MASK differs from that stored in the PSB, turn on the Path_Refresh_Needed flag, and store the new ROUTE_MASK into the PSB. o If the new EXPECTED_INTERFACE differs from that stored in the PSB, turn on the Resv_Refres_Needed flag and store the new EXPECTED_INTERFACE value into the PSB. Braden, Zhang, et al. Expiration: December 1995 [Page 57] Internet Draft RSVP Specification June 1995 7. Save the IP TTL with which the message arrived in the PSB . 8. If the Refresh_Needed flag is now set, execute the PATH REFRESH event sequence (below); however, send no PATH refresh messages out the interface through which the PATH message arrived. 9. If the Resv_Needed flag is now set, execute the RESV REFRESH event sequence (below). PATH TEAR MESSAGE ARRIVES o If there is no path state for this destination, drop the message and return. o Forward a copy of the PTEAR message using the same rules as for a PATH message (see PATH REFRESH). o Each sender descriptor in the PTEAR message contains a SENDER_TEMPLATE object defining a sender S; process it as follows. 1. Locate the PSB for the pair: (session, S). If none exists, continue with next sender descriptor. 2. Examine the RSB's for this session and delete reservation state that is associated with sender S and no other sender. 3. Delete the PSB. o Drop the PTEAR message and return. PATH ERROR MESSAGE ARRIVES o If there are no existing PSB's for SESSION then drop the PERR message and return. o Look up the PSB for (session, sender); sender is defined by SENDER_TEMPLATE. If no PSB is found, drop PERR message and return. o If PHOP in PSB is local API, deliver error to application via an upcall: Call: <Upcall_Proc>( session-id, Path Error, Braden, Zhang, et al. Expiration: December 1995 [Page 58] Internet Draft RSVP Specification June 1995 Error_code, Error_value, 0, 1, SENDER_TEMPLATE, NULL, NULL, NULL) Any POLICY_DATA, SENDER_TSPEC, or ADSPEC object in the message is ignored. o Otherwise (PHOP is not local API), forward a copy of the PERR message to the PHOP node. RESV MESSAGE ARRIVES A RESV message arrives through outgoing interface OI. o Check the SESSION object. If there are no existing PSB's for SESSION then build and send a RERR message (as described later) specifying "No path information", drop the RESV message, and return. However, do not send the RERR message if the style has wildcard reservation scope and this is not the receiver host itself. o Check the STYLE object. If the style in the message conflicts with the style of any reservation for this session in place on any interface, reject the RESV message by building and sending a RERR message specifying "Conflicting Style", drop the RESV message, and return. o Check the POLICY_DATA object. Verify the POLICY_DATA field (if any) to check permission to create a reservation. If it is unacceptable, build and send an "Administrative rejection" RERR message, drop the RESV message, and return. o Make reservations Process the STYLE object and the flow descriptor list. For FF style, execute the following steps for each b flow descriptor, i.e., for each (FLOWSPEC, FILTER_SPEC) pair. For SE style, execute the following steps for each FILTER_SPEC in the list, using the given FLOWSPEC. For WF style, execute the following once, using an internal Braden, Zhang, et al. Expiration: December 1995 [Page 59] Internet Draft RSVP Specification June 1995 placeholder "WILD_FILTER" for FILTERSPEC if it is omitted. 1. Find or create a reservation state block (RSB) for the 4-tuple: (SESSION, NHOP, style, FILTER_SPEC). 2. Start or restart the cleanout timer on the RSB. Start a refresh timer for this session if none was started. 3. If the RSB existed and contains state matching this flow descriptor, continue with the next flow descriptor. Otherwise (the state is new or modified), continue processing the current flow descriptor with the following steps. 4. Scan the set of PSBs (senders) whose SENDER_TSPECs match FILTER_SPEC. - If this set is empty, build and send an error message specifying "No sender information", and continue with the next flow descriptor. - If this set contains more than one PSB and if the style has the explicit option (e.g., FF or SE), build and send an error message specifying "Ambiguous filter spec" and continue with the next flow descriptor. - Set K_E_Police_flag on if any of these PSBs have the E_Police flag on, otherwise set K_E_Police_flag off. Set K_M_Police_flag on if the style has wildcard scope and there is more than one PSB in the scope, otherwise, set K_M_Police_flag off. - Compute K_Tspec as the sum of the SENDER_TSPEC objects, if any, in this set of PSBs. 5. Compute the parameters for the effective reservation, by considering all RSB's for the same (SESSION, OI, FILTERSPEC) triple. - Compute the effective kernel flowspec, K_Flowspec, as the maximum of the FLOWSPEC values in these RSB's - Compute the effective kernel filter spec K_Filter by merging the FILTER_SPEC objects in these RSB's. Braden, Zhang, et al. Expiration: December 1995 [Page 60] Internet Draft RSVP Specification June 1995 6. If this reservation has wildcard scope and this is not the first flow descriptor in the message, one of the filter specs must have changed; delete the old one and install the new: TC_DelFilter( old_Fhandle ); Fhandle = TC_AddFilter( Rhandle, SESSION, K_filter) Then continue with the next flow descriptor. 7. Otherwise, if there was no previous kernel reservation in place for (SESSION, OI, FILTERSPEC), call the kernel interface module: Rhandle = TC_AddFlowspec( OI, K_flowspec, K_Tspec, K_E_Police_flag, K_M_Police_flag ) If this call fails, build and send a RERR message specifying "Admission control failed", and continue with the next flow descriptor. Otherwise, record the kernel handle Rhandle returned by the call in the RSB(s). Then call: TC_AddFilter( Rhandle, SESSION, K_Filter) to set the filter, and continue with the next flow descriptor. However, if there was a previous kernel reservation with handle Rhandle, and the flowspec has changed, call: TC_ModFlowspec( Rhandle, K_Flowspec, K_Tspec, K_E_Police_flag, K_M_Police_flag ) If this call fails, build and send a RERR message specifying "Admission control failed". In any case, drop the RESV message and return. Braden, Zhang, et al. Expiration: December 1995 [Page 61] Internet Draft RSVP Specification June 1995 If the flowspec is unchanged but the filter spec has changed, install the new: TC_DelFilter( old_Fhandle ) Fhandle = TC_AddFilter( Rhandle, SESSION, K_filter) Then continue with the next flow descriptor. If processing a RESV message finds an error, a RERR message is created containing flow descriptor and an ERRORS object. The Error Node field of the ERRORS object (see Appendix A) is set to the IP address of OI, and the message is sent unicast to NHOP. RESV TEAR MESSAGE ARRIVES A RTEAR message arrives on outgoing interface OI. o If there are no existing PSB's for SESSION then drop the RTEAR message and return. o Process the flow descriptor list sequence to tear down reservations. For FF style, execute the following steps for each b flow descriptor, i.e., each (FLOWSPEC, FILTERSPEC) pair. For WF style execute the following once, using some internal placeholder "WILD_FILTER" for FILTERSPEC to indicate wildcard scope. 1. Find matching RSB(s) for the 4-tuple: (SESSION, NHOP, style, FILTERSPEC). If no RSB is found, continue with next flow descriptor, if any. 2. Delete the RSB(s). 3. If there are no more RSBs for the same (SESSION, OI, FILTERSPEC/) triple, call the kernel interface module: TC_DelFlowspec( K_handle ) to delete the reservation. Then build and forward a new RTEAR message. - WF style: send a copy to each PHOP among all Braden, Zhang, et al. Expiration: December 1995 [Page 62] Internet Draft RSVP Specification June 1995 matching senders. - FF style: Send to PHOP of matching PSB. 4. Otherwise (there are other RSB's for the same reservation), recompute K_Flowspec and call the kernel interface module: TC_ModFlowspec( K_handle, K_Flowspec, Sender_Tspec) to update the reservation, and then execute the RESV REFRESH sequence (below). If this kernel call fails, return; the prior reservation will remain in place. RESV ERROR MESSAGE ARRIVES o Call the appropriate route discovery routine, using DestAddress from SESSION and (for multicast routing) SrcAddress from the Error Node Address field in the ERRORS object. Let the resulting routing bit mask be M. o Determine the set of RSBs matching the triple: (SESSION, style, FILTERSPEC). If no RSB is found, drop RERR message and return. Recompute the maximum over the FLOWSPEC objects of this set of RSB's. If the LUB was used in this computation, turn on the LUB-Used flag in the received RESV message. o Delete from the set of RSVs any whose OI does not appear in the bit mask M and whose NHOP is not the local API. If none remain, drop RERR message and return. For each PSB in the resulting set, do the following step. o If NHOP in PSB is local API, deliver error to application via an upcall: Call: <Upcall_Proc>( session-id, Resv Error, 1, Error_code, Error_value, LUB-Used, FILTER_SPEC, FLOWSPEC, NULL) Here LUB-Used flag is taken from the received packet, as Braden, Zhang, et al. Expiration: December 1995 [Page 63] Internet Draft RSVP Specification June 1995 possibly modified above. Otherwise (NHOP is not local API), forward a copy of the RERR message to the PHOP node. PATH REFRESH This sequence may be entered by either the expiration of the path refresh timer for a particular session, or immediately as the result of processing a PATH message turning on the Refresh_Needed flag. For each outgoing interface OI, build a PATH message and send it to OI. To build the message, consider each PSB whose ROUTE_MASK includes OI, and do the following: o Pass the ADSPEC and SENDER_TSPEC objects present in the PSB to the kernel call TC_Advertise, and get back a modified ADSPEC object. Pack this modified object into the PATH message being built. o Create a sender descriptor sequence containing the SENDER_TEMPLATE, SENDER_TSPEC, and POLICY_DATA objects, if present in the PSB. Pack the sender descriptor into the PATH message being built. o If the PSB has the E_Police flag on and if interface OI is not capable of policing, turn the E_Police flag on in the PATH message being built. o Compute the IP TTL for the PATH message as one less than the maximum of the TTL values from the senders included in the message. However, if the result is zero, return without sending the PATH message. o If the maximum size of the PATH message is reached, send the packet out interface OI and start packing a new one. RESV REFRESH This sequence may be entered by either the expiration of the reservation refresh timer for a particular session, or immediately as the result of processing a RESV or RTEAR message. For each PHOP defined by the path state, scan the RSBs, merge the style, FLOWSPECs and FILTER_SPECs appropriately, build a new RESV message, and send it to PHOP. Each message carries a NHOP object containing the local address of the interface through which it is Braden, Zhang, et al. Expiration: December 1995 [Page 64] Internet Draft RSVP Specification June 1995 sent. The details of building the RESV messages depend upon the shared/distinct option of the style. For each PHOP, do the following: o Distinct style Select each sender Si (PSB) for PHOP, and do the following: 1. Select all RSB's whose FILTER_SPECs match the SENDER_TEMPLATE object for Si and whose OI matches a bit in the ROUTE_MASK of the PSB for Si. 2. Compute the maximum over the FLOWSPEC objects of this set of RSB's, and merge their FILTER_SPEC, STYLE, and POLICY_DATA objects. 3. Append the (FLOWSPEC, FILTER_SPEC pair) to the RESV message being built for destination PHOP. When the packet fills, or upon completion of all PSB's with the same PHOP, send it. o Shared style 1. Select each sender Si (PSB) for PHOP, and select all RSB's that: (a) have an OI matching a bit in the ROUTE_MASK for Si, and (b) contain at least one FILTER_SPEC that matches the SENDER_TEMPLATE object for Si. 2. For all selected RSB's for all Si corresponding to a given PHOP: - Compute the maximum over the FLOWSPEC objects of this set of RSB's. - Merge the metching FILTER_SPEC objects; this will in general result in a list of non-overlapping FILTER_SPECs, but where there are overlaps due to wildcards, use the `wildest'. - Merge the STYLE and POLICY_DATA objects. - Place the resulting merged objects into a RESV message and send it to PHOP. 3. If the scope is wildcard, a forwarded RESV must contain a SCOPE object. The set of IP addresses in the SCOPE object Braden, Zhang, et al. Expiration: December 1995 [Page 65] Internet Draft RSVP Specification June 1995 sent to a given PHOP is formed as follows. - Take the union of the senders listed in SCOPE objects in all RSB's. - Intersect that set with the set of sender hosts listed in path state for PHOP. - If the resulting set is empty, no RESV should be forwarded to this PHOP. Braden, Zhang, et al. Expiration: December 1995 [Page 66] Internet Draft RSVP Specification June 1995 APPENDIX A. Object Definitions C-Types are defined for the two Internet address families IPv4 and IP6. To accomodate other address families, additional C-Types could easily be defined. These definitions are contained as an Appendix, to ease updating. All unused fields should be sent as zero and ignored on receipt. A.1 SESSION Class SESSION Class = 1. o IPv4/UDP SESSION object: Class = 1, C-Type = 1 +-------------+-------------+-------------+-------------+ | IPv4 DestAddress (4 bytes) | +-------------+-------------+-------------+-------------+ | ////// | Flags | DestPort | +-------------+-------------+-------------+-------------+ o IP/UDP SESSION object: Class = 1, C-Type = 2 +-------------+-------------+-------------+-------------+ | | + + | | + IP6 DestAddress (16 bytes) + | | + + | | +-------------+-------------+-------------+-------------+ | /////// | Flags | DestPort | +-------------+-------------+-------------+-------------+ DestAddress The IP unicast or multicast destination address of the session. Flags 0x01 = E_Police flag The E_Police flag is used in PATH messages to determine Braden, Zhang, et al. Expiration: December 1995 [Page 67] Internet Draft RSVP Specification June 1995 the effective "edge" of the network, to control traffic policing. If the sender host is not itself capable of traffic policing, it will set this bit on in PATH messages it sends. The first node whose RSVP is capable of traffic policing will do so (if appropriate to the service) and turn the flag off. [It might make more sense to include this flag in ADSPEC object.] DestPort The UDP/TCP destination port for the session. Zero may be used to indicate a `wildcard', i.e., any port. Other SESSION C-Types could be defined in the future to support other demultiplexing conventions in the transport- layer or application layer. Braden, Zhang, et al. Expiration: December 1995 [Page 68] Internet Draft RSVP Specification June 1995 A.2 RSVP_HOP Class RSVP_HOP class = 3. o IPv4 RSVP_HOP object: Class = 3, C-Type = 1 +-------------+-------------+-------------+-------------+ | IPv4 Next/Previous Hop Address | +-------------+-------------+-------------+-------------+ | Logical Interface Handle | +-------------+-------------+-------------+-------------+ o IP6 RSVP_HOP object: Class = 3, C-Type = 2 +-------------+-------------+-------------+-------------+ | | + + | | + IP6 Next/Previous Hop Address + | | + + | | +-------------+-------------+-------------+-------------+ | Logical Interface Handle | +-------------+-------------+-------------+-------------+ This object provides the IP address of the interface through which the last RSVP-knowledgeable hop forwarded this message. The Logical Interface Handle is a 32-bit number which may be used to distinguish logical outgoing interfaces as described in Section 4.2; it should be identically zero if there is no logical interface handle. Braden, Zhang, et al. Expiration: December 1995 [Page 69] Internet Draft RSVP Specification June 1995 A.3 INTEGRITY Class INTEGRITY class = 4. See draft-ietf-rsvp-md5-00.txt. A.4 TIME_VALUES Class TIME_VALUES class = 5. o TIME_VALUES Object: Class = 5, C-Type = 1 +-------------+-------------+-------------+-------------+ | Refresh Period | +-------------+-------------+-------------+-------------+ | Max Refresh Period | +-------------+-------------+-------------+-------------+ Refresh Period The refresh timeout period R used to generate this message; in milliseconds. Max Refresh Period The largest R value that a node is allowed to apply to the downstream state for this session. A node may refuse to accept this requirement, by ignoring the message containing this TIME_VALUES object and sending a "R too small" error message. If this value is zero, no limit is set. Braden, Zhang, et al. Expiration: December 1995 [Page 70] Internet Draft RSVP Specification June 1995 A.5 ERROR_SPEC Class ERROR_SPEC class = 6. o IPv4 ERROR_SPEC object: Class = 6, C-Type = 1 +-------------+-------------+-------------+-------------+ | IP4 Error Node Address (4 bytes) | +-------------+-------------+-------------+-------------+ | Flags | Error Code | Error Value | +-------------+-------------+-------------+-------------+ o IP6 ERROR_SPEC object: Class = 6, C-Type = 2 +-------------+-------------+-------------+-------------+ | | + + | | + IP6 Error Node Address (16 bytes) + | | + + | | +-------------+-------------+-------------+-------------+ | Flags | Error Code | Error Value | +-------------+-------------+-------------+-------------+ Error Node Address The IP address of the node in which the error was detected. Flags 0x01 = LUB-Used The use of this flag is described in section 4.1.5. Error Code A one-octet error description. Error Value A two-octet field containing additional information about the Braden, Zhang, et al. Expiration: December 1995 [Page 71] Internet Draft RSVP Specification June 1995 error. Its contents depend upon the Error Type. The values for Error Code and Error Value are defined in Appendix B. A.6 SCOPE Class SCOPE class = 7. This object contains a list of IP addresses, used for routing messages with wildcard scope without loops. The addresses must be listed in ascending numerical order. o IPv4 SCOPE List object: Class = 7, C-Type = 1 +-------------+-------------+-------------+-------------+ | IP4 Src Address (4 bytes) | +-------------+-------------+-------------+-------------+ // // +-------------+-------------+-------------+-------------+ | IP4 Src Address (4 bytes) | +-------------+-------------+-------------+-------------+ o IP6 SCOPE list object: Class = 7, C-Type = 2 +-------------+-------------+-------------+-------------+ | | + + | | + IP6 Src Address (16 bytes) + | | + + | | +-------------+-------------+-------------+-------------+ // // +-------------+-------------+-------------+-------------+ | | + + | | + IP6 Src Address (16 bytes) + | | + + | | +-------------+-------------+-------------+-------------+ Braden, Zhang, et al. Expiration: December 1995 [Page 72] Internet Draft RSVP Specification June 1995 A.7 STYLE Class STYLE class = 8. o STYLE object: Class = 8, C-Type = 1 +-------------+-------------+-------------+-------------+ | Style ID | Option Vector | +-------------+-------------+-------------+-------------+ Style ID An integer identifying the style, as follows: 0 = No ID assigned; use option vector. 1 = WF 2 = FF 3 = SE Option Vector A set of bit fields giving values for the reservation options. If new options are added in the futre, corresponding fields in the option vector will be assigned from the least-significant end. If a node does not recognize a style ID, it may interpret as much of the option vector as it can, ignoring new fields that may have been defined. The option vector bits are assigned (from the left) as follows: 19 bits: Reserved 2 bits: Sharing control 00b: Reserved 01b: Distinct reservations 10b: Shared reservations 11b: Reserved Braden, Zhang, et al. Expiration: December 1995 [Page 73] Internet Draft RSVP Specification June 1995 3 bits: Scope control 000b: Reserved 001b: Wildcard scope 010b: Explicit scope 011b - 111b: Reserved The low order bits of the option vector are determined by the style id, as follows: WF 10001b FF 01010b SE 10010b Braden, Zhang, et al. Expiration: December 1995 [Page 74] Internet Draft RSVP Specification June 1995 A.8 FLOWSPEC Class FLOWSPEC class = 9. The following C-Types for service types are defined. The corresponding object contents are specified in service template documents created by the int-serv working group. o Class = 9, C-Type = 1: Controlled-Delay Quality of Service o Class = 9, C-Type = 2: Predictive Quality of Service o Class = 9, C-Type = 3: Guaranteed Quality of Service There is also a container C-Type, used to enclose a set of FLOWSPEC objects that could not be merged at a downstream node because they include unrecognized C-Types. o Class = 9, C-Type = 254: Controlled-Delay Quality of Service +-------------+-------------+-------------+-------------+ | | // FLOWSPEC object 1 // | | +-------------+-------------+-------------+-------------+ | | // FLOWSPEC object 2 // | | +-------------+-------------+-------------+-------------+ // // // // +-------------+-------------+-------------+-------------+ | | // FLOWSPEC object k // | | +-------------+-------------+-------------+-------------+ Braden, Zhang, et al. Expiration: December 1995 [Page 75] Internet Draft RSVP Specification June 1995 A.9 FILTER_SPEC Class FILTER_SPEC class = 10. o IPv4 FILTER_SPEC object: Class = 10, C-Type = 1 +-------------+-------------+-------------+-------------+ | IPv4 SrcAddress (4 bytes) | +-------------+-------------+-------------+-------------+ | Protocol Id | ////// | SrcPort | +-------------+-------------+-------------+-------------+ o IP6 FILTER_SPEC object: Class = 10, C-Type = 2 +-------------+-------------+-------------+-------------+ | | + + | | + IP6 SrcAddress (16 bytes) + | | + + | | +-------------+-------------+-------------+-------------+ | Protocol Id | ////// | SrcPort | +-------------+-------------+-------------+-------------+ o IP6 Flow-label FILTER_SPEC object: Class = 10, C-Type = 3 +-------------+-------------+-------------+-------------+ | | + + | | + IP6 SrcAddress (16 bytes) + | | + + | | +-------------+-------------+-------------+-------------+ | /////// | Flow Label (24 bits) | +-------------+-------------+-------------+-------------+ SrcAddress The IP source address for a sender host, or zero to indicate a `wildcard'. Braden, Zhang, et al. Expiration: December 1995 [Page 76] Internet Draft RSVP Specification June 1995 Protocol Id The IP protocol Identifier, or zero to indicate a `wildcard'. SrcPort The UDP/TCP source port for a sender, or zero to indicate a `wildcard' (i.e., any port). Flow Label A 24-bit Flow Label, defined in IP6. This value may be used by the packet classifier to efficiently identify the packets belonging to a particular (sender->destination) data flow. Braden, Zhang, et al. Expiration: December 1995 [Page 77] Internet Draft RSVP Specification June 1995 A.10 SENDER_TEMPLATE Class SENDER_TEMPLATE class = 11. o IPv4/UDP SENDER_TEMPLATE object: Class = 11, C-Type = 1 Definition same as IPv4/UDP FILTER_SPEC object. o IP6/UDP SENDER_TEMPLATE object: Class = 11, C-Type = 2 Definition same as IP6/UDP FILTER_SPEC object. A.11 SENDER_TSPEC Class SENDER_TSPEC class = 12. The only current form of Tspec is a token bucket. o Token Bucket SENDER_TSPEC object: Class = 12, C-Type = 1 +-----------+-----------+-----------+-----------+ | b: Token Bucket Depth (bits) | +-----------+-----------+-----------+-----------+ | r: Average data rate (bits/sec) | +-----------+-----------+-----------+-----------+ Braden, Zhang, et al. Expiration: December 1995 [Page 78] Internet Draft RSVP Specification June 1995 A.12 ADSPEC Class ADSPEC class = 13. [TBD] Braden, Zhang, et al. Expiration: December 1995 [Page 79] Internet Draft RSVP Specification June 1995 A.13 POLICY_DATA Class POLICY_DATA class = 14. o Type 1 POLICY_DATA object: Class = 14, C-Type = 1 [TBD] o Unmerged POLICY_DATA object: Class = 14, C-Type = 254 This object is a container for a list of POLICY_DATA objects (none of which may have C-Type = 254). The contained objects have not yet been merged. +-------------+-------------+-------------+-------------+ | | // POLICY_DATA object 1 // | | +-------------+-------------+-------------+-------------+ | | // POLICY_DATA object 2 // | | +-------------+-------------+-------------+-------------+ // // // // +-------------+-------------+-------------+-------------+ | | // POLICY_DATA object k // | | +-------------+-------------+-------------+-------------+ Braden, Zhang, et al. Expiration: December 1995 [Page 80] Internet Draft RSVP Specification June 1995 A.14 TAG class TAG class = 20. o TAG object: Class = 20, C-Type = 1 +-------------+-------------+-------------+-------------+ | Tag Value | +-------------+-------------+-------------+-------------+ | | // Tagged Sublist // | | +-------------+-------------+-------------+-------------+ Tag Value The value of the tag being attached to the objects in the Tagged Sublist. The tag value is unique for each session and next/previous hop. Tagged Sublist A list of objects with the same class-num (but not necessarily the same C-Type). Braden, Zhang, et al. Expiration: December 1995 [Page 81] Internet Draft RSVP Specification June 1995 APPENDIX B. Error Codes and Values The following Error Codes are defined. o Error Code = 01: Admission failure Reservation rejected by admission control. For this Error Code, the 16 bits of the Error Value field are: suur cccc cccc cccc where the bits are: s = 0: RSVP should reject the message without updating local state. s = 1: RSVP may use message to update local state and propagate it. uu = 00: Low order 12 bits contain a globally-defined sub-code (values listed below). uu = 10: Low order 12 bits contain a sub-code that is specific to local organization. RSVP is not expected to be able to interpret this except as a numeric value. uu = 11: Low order 12 bits contain a sub-code that is specific to the service. RSVP is not expected to be able to interpret this except as a numeric value. Since the traffic control mechanism might substitute a different service, this encoding may include some representation of the service in use. r: Reserved bit, should be zero. cccc cccc cccc: 12 bit code. The following globally-defined sub-codes may appear in the low- order 12 bits when uu = 00: Braden, Zhang, et al. Expiration: December 1995 [Page 82] Internet Draft RSVP Specification June 1995 - Sub-code = 1: Delay bound cannot be met - Sub-code = 2: Requested bandwidth unavailable - Sub-code = 11: Service conflict - Sub-code = 12: Service unsupported Traffic control can provide neither the requested service nor an acceptable substitute. - Sub-code = 13: Bad Flowspec or Tspec value Unreasonable request. High order 4 bits should be 000r, so that RSVP will reject the message. - Sub-code = 14: Rmax value too small. Rmax would result in excessive refresh overhead. o Error Code = 02: Administrative rejection Reservation has been rejected for administrative reasons. For this Error Code, the high order 4 bits of the Error Value field are assigned as for Code = 01 (above). For this case, the following global sub-codes may be used: - Sub-code = 1: Required credential(s) not presented. - Sub-code = 2: Request too large Reservation request exceeds allowed value for this user class. - Sub-code = 3: Insufficient quota or balance. - Sub-code = 4: Administrative preemption o Error Code = 03: No path information for this Resv RSVP should reject the message. o Error Code = 04: No sender information for this Resv There is path information, but it does not include the sender specified in any of the Filterspecs listed in the Resv message. RSVP should reject the message. Braden, Zhang, et al. Expiration: December 1995 [Page 83] Internet Draft RSVP Specification June 1995 o Error Code = 05: Ambiguous path Sender specification is ambiguous with existing path state. RSVP should reject the message. o Error Code = 06: Ambiguous filter spec Filter spec matches more than one sender, in style that requires a unique match. RSVP should reject the message. o Error Code = 07: Conflicting or unknown style Reservation style conflicts with style(s) of existing reservation state, or it is unknown. If the high-order bit of Error Value is zero, RSVP should reject the message. o Error Code = 11: Missing required object RSVP was unable to find or construct required object data from message. Error Value will be Class-Num that is missing. RSVP should reject the message. o Error Code = 12: Unknown object class Error Value will contain 16-bit value composed of (Class-Num, C-Type) of unknown object. This error should be sent only if RSVP is going to reject the message. o Error Code = 13: Unknown object C-Type Error Value will contain 16-bit value composed of (Class-Num, C-Type) of object. This error should be sent only if RSVP is going to should reject the message. o Error Code = 14: Object error A non-specific error indicating bad format or contents of an object. The Error Value will contain 16-bits value (Class-Num, C-Type) from header of bad object. RSVP should reject the message. o Error Code = 21: Traffic Control error Some system error was detected and reported by the traffic control modules. The Error Value will contain a system-specific value giving more information about the error. o Error Code = 22: RSVP System error Braden, Zhang, et al. Expiration: December 1995 [Page 84] Internet Draft RSVP Specification June 1995 The Error Value field will provide implementation- dependent information on the error. Braden, Zhang, et al. Expiration: December 1995 [Page 85] Internet Draft RSVP Specification June 1995 APPENDIX C. UDP Encapsulation As described earlier, RSVP control messages are intended to be carried directly within IP datagrams as "raw packets". Implementing RSVP in a node will require an intercept in the packet forwarding path for protocol 46, and the necessary kernel change is incorporated in the recent releases of IP multicasting There are particular circumstances where it may be desirable to encapsulate RSVP messages in UDP packets, as a short-term measure. 1. UDP encapsulation can be used between hosts and the last- (or first-) hop router(s). This may ease installing RSVP on some host systems, by avoiding a kernel change for the RSVP intercept. 2. UDP encapsulation may be useful for legal penetration of firewalls. 3. UDP encapsulation might be used on each interface of an intermediate RSVP router whose kernel supported multicast but which did not have the RSVP intercept. In the following discussion, we concentrate on (1) and (2). Figure 13 shows a typical situation for a host running RSVP. Here two RSVP-capable hosts Hu and Hr within a corporation are connected to the Internet through some arbitrarily complex set of networks and routers that is labelled the "Corporate cloud". The border router R is assumed to be RSVP-capable, but the corporate cloud is not. _ _ _ _ ______ ( ) RSVP-capable |+-------------+-------------+-------------+-------------+ o IP6 ERROR_SPEC object: Class = 11, C-Type = 129 +-------------+-------------+-------------+-------------+| ( ) router |+ +Hu |-----( Corporate ) ______ |______| ( ) a| |b ( cloud )-----| R |---->Internet ______ ( ) |______| | |+ IP6 Error( ) | Hr |------( ) |______| (_ _ _ _ _) Figure 13: End Host Situation We assume that Hu is a "UDP-only" host that requires UDP encapsulation, while Hr is a "raw-capable" host that can use raw RSVP Braden, Zhang, et al. Expiration: December 1995 [Page 86] Internet Draft RSVP Specification June 1995 packets. The UDP encapsulation scheme should allow RSVP interoperation among an arbitrary topology of Hr hosts and Hu hosts as well as routers R. RESV messages are always sent unicast; once path state has been established, the unicast destination address of each RESV message is known. If the path state also indicates whether the next host node needs UDP encapsulation, a RESV message can simply be sent to the next-hop node, either in raw mode or with UDP encapsuation. UDP encapsulation of PATH messages poses a more difficult problem. To solve it, we define two new well-known multicast addresses G1 and G2, and a well-known UDP port Pu. Then the table in Figure 14 shows the rules. Under the `Send' column, the notation is <mode>(destaddr, destport, TTL), where TTL is the IP-layer hop count. The `Receive' column shows the group that is joined and, where relevant, the UDP Listen port. T1 and T2 are configured IP TTL values used for encapsulation, while Tr is the local TTL value of the specific PATH message. Finally, D is the DestAddress for the particular session. NodeAddress (16 bytes) + | | + + | | +-------------+-------------+-------------+-------------+ | Error Code | ////////// | Error Value | +-------------+-------------+-------------+-------------+ ErrnorNode Type Send Receive ___ __________ _______________ _______________ Hu UDP-only host UDP(G1,Pu,T1) UDP(G1,Pu) and UDP(G2,Pu) Hr Raw-mode host UDP(G1,Pu,T1) UDP(G1,Pu) and Raw(D,,Tr) and Raw() R Router Interface a: UDP(G2,Pu,T2) UDP(G1,Pu) and Raw(D,,Tr) and Raw() Interface b: Raw(D,,Tr) Raw() Figure 14: UDP Encapsulation Rules for Path Messages Note that R and Hr must send their PATH messages twice, once with UDP encapsulation and once in raw mode. In two cases (Hr -> R and Hr -> Hr), each PATH message will be delivered twice. The router may take steps to ignore the duplicates, but this redundancy actually has no ill effect other than overhead for processing the extra messages. A router must keep track of which of its interfaces are using UDP encapsulation and which are not. A node can always listen for UDP(G1,Pu) on each interface, and if it receives a UDP-encapsulated Braden, Zhang, et al. Expiration: December 1995 [Page 87] Internet Draft RSVP Specification June 1995 PATH message, mark the corresponding path state as UDP-needed. Then matching RESV messages will be correctly encapsulated. Two provisions are necessary for this automatic determination of encapsulation to work. C1 A router must use different groups G1 and G2 for sending and receiving, as already shown. C2 The TTL value T1 used by a host must be exactly enough to reach the router R. If T1 is too small to pass through the corporate cloud, of course PATH messages will not be forwarded. If T1 is too large, multicast routing in R will forward the UDP packet into the Internet until its hop count expires. This will turn on UDP encapsulation between routers within the Internet, causing bogus UDP traffic. (Note that UDP packets addressed to G2 by a router will not be received by a neighboring router). However, there are possible situations where it will be impossible to find a value of T1 that meets condition C2. Within the corporate cloud there might be a multicast tunnel with an outgoing threshold larger than the hop count through the cloud. Another possibility is that there might be more than one border router R, with different TTL's. There are several possible ways that C2 might be satisfied in such cases. 1. It might be possible to configure the hosts' RSVP daemons with the IP addressError Codefor R; the daemons could then "unicast" PATH messages to this address. This solution will be feasible as long as the number of Hr and Hu hosts is small. 2. Aone-octet error description. 01 = Insufficient memory 02 = Count Wrongparticular host on the LAN including Hu could be designated as an "RSVP relay host". This system would listen on (G1,Pu) and be configured with the IP address of R. It could then forward any (PATH) messages it received directly to R, and T1 could be set only large enough to reach local hosts and the relay. Finally, manual configuration of T1 could be replaced by an expanding ring search conducted by host RSVP daemons. This possibility is for future study. APPENDIX D. Experimental and Open Issues Braden, Zhang, et al. Expiration: December 1995 [Page 88] Internet Draft RSVP Specification June 1995 D.1 RSVP MTU TheFD Count fieldspec says that the MTU for RSVP messages, which are sent hop by hop, is determined by the MTU at each interface. There may be rare instances in which this does notmatch lengthwork very well, and in which manual configuration would not help. The problem case is an interface connected to a non-RSVP cloud in which some particular link far away has a smaller MTU. This would affect only those sessions that happened to use that link. Proper solution to this case would require MTU discovery separately for each interface and each session, which is a very large amount ofmessage. 03 = No path informationmachinery and some overhead for a rare (?) case. The best approach seems to be to rely on IP fragmentation and reassembly for thisResv 04 = No Sender informationcase. D.2 Reservation Compatability How strong is the requirement for compatability of reservations in different directions? For example, see Figure 11; should it be possible to have incompatible reservation styles on the two interfaces? If R1 requests a WF reservation and R2 requests a FF reservation, it is logically possible to make the corresponding reservations on the two different interfaces. The current implementation does NOT allow this; instead, it prevents mixing of incompatible styles in the same session on a node, even if they are on different interfaces. D.3 Session Groups (Experimental) Section 1.2 explained that a distinct destination address, and therefore a distinct session, will be used for each of the subflows in a hierarchically encoded flow. However, these separate sessions are logically related. For example it may be necessary to pass reservations forthis Resv Braden, Zhang, et al. Expiration: September 1995 [Page 62] Internet Draft RSVP Specification March 1995 There is path information, butall subflows to Admission Control at the same time (since itdoes not includewould be nonsense to admit high frequency components but reject thesender specified in anybaseband component of theFilterspecs listed in the Resv messager. 05 = Incorrect Dynamic Reservation Count Dynamic Reservation Countsession data). Such a logical grouping iszero or less than FD Count. 06 = Filterspec error 07 = Flowspec syntax error 08 = Flowspec value error Internal inconsistencyindicated in RSVP by defining a "session group", an ordered set ofvalues. [What should be done with Flowspec Feature Not Supported?] 09 = Resources unavailable [Sub-reasons? Depend upon traffic control and admission control algorithms?] 10 = Illegal style Error Value Specific causesessions. To declare that a set of sessions form a session group, a receiver includes a data structure we call a SESSION_GROUP object in theerror described byRESV message for each of theError Code. Braden, Zhang, et al. Expiration: September 1995 [Page 63] Internet Draft RSVP Specification March 1995 6.12 CREDENTIAL Class [TBD] 6.13 INTEGRITY Class [TBD] Braden, Zhang, et al. Expiration: September 1995 [Page 64] Internet Draft RSVP Specification March 1995 7. UDP Encapsulation As described earlier, RSVP control messages are intended to be carried as "raw packets", directly within IP datagrams. Implementing RSVP insessions. A SESSION_GROUP object contains four fields: anode will typically requirereference address, a session group ID, a count, and a rank. o The reference address is aninterceptagreed-upon choice from among the DestAddress values of the sessions in thepacket forwarding path for protocol 46, which means a kernel change. However,group, forease of installing RSVP on host systems inexample theshort term, it may be desirable to avoid host kernel changes by supporting UDP encapsulation ofsmallest numerically. Braden, Zhang, et al. Expiration: December 1995 [Page 89] Internet Draft RSVPmessages. This encapsulation would beSpecification June 1995 o The session group ID is used to distinguish different groups with the same reference address. o The count is the number of members in the group. o The rank, an integer betweenhosts1 and count, is different in each session of thelast- (or first-) hop router(s). This schemesession group. The SESSION_GROUP objects for all sessions in the group willalso supportcontain thecasesame values ofan intermediatethe reference address, the session group ID, and the count value. The rank values establishes the desired order among them. If RSVProuter whose kernel supports multicast but does notat a given node receives a RESV message containing a SESSION_GROUP object, it should wait until RESV messages for all `count' sessions have appeared (or until theRSVP intercept, by allowing UDP encapsulation on each interface. The UDP encapsulation approach must supportend of the refresh cycle) and then pass the RESV requests to Admission Control as adomaingroup. It is normally expected thatcontainsall sessions in the group will be routed through the same nodes. However, if not, only amixsubset of"UDP-only" hosts, which require UDP encapsulation, and "raw- capable" host, which can use raw RSVP packets. Raw-capable hosts and first-hop router(s) must send each RSVP message twicethe session group reservations may appear at a given node; in this case, thelocal domain, once as a raw packetRSVP should wait until the end of the refresh cycle andonce with UDP encapsulation; these nodesthen perform Admission Control on the subset of the session group that it has received. The rank values willalso receive some local RSVP packets in both formats. We assumeidentify which are missing. Note thatthe only negative impactrouting different sessions ofthis duplicationthe session group differently will generally result in delays in establishing or rejecting the desired QoS. A "bundling" facility could be(negligible) additional packet processing overheadadded to multicast routing, to force all sessions in a session group to be routed along theraw-capable hosts and first-hop routers. [REST TBD] 8.same path. D.3.1 Resv Messages Add: [ <SESSION_GROUP> ] after the SESSION object. D.3.2 SESSION_GROUP Class SESSION_GROUP class = 2. o IPv4 SESSION_GROUP Object: Class = 2, C-Type = 1: Braden, Zhang, et al. Expiration: December 1995 [Page 90] Internet Draft RSVP Specification June 1995 +-------------+-------------+-------------+-------------+ | IPv4 Reference DestAddress | +-------------+-------------+-------------+-------------+ | Session_Group ID | Count | Rank | +-------------+-------------+-------------+-------------+ o IP6 SESSION_GROUP Object: Class = 2, C-Type = 2: +-------------+-------------+-------------+-------------+ | | + + | | + IP6 Reference DestAddress + | | + + | | +-------------+-------------+-------------+-------------+ | Session-Group ID | Count | Rank | +-------------+-------------+-------------+-------------+ The variables are defined in above. D.4 DF Style (Experimental) In addition to the WF and FF styles defined in this specification, a Dynamic Filter (DF) style has also been proposed. The following describes this style and gives examples of its usage. At this time, DF style is experimental.8.1D.4.1 Reservation Styles A Dynamic-Filter (DF) style reservation makes "distinct" reservations with "wildcard" scope, but it decouples reservations from filters. o Each DF reservation request specifies a number D of distinct reservationsto be madeusing the same specifiedflowspec, and theseflowspec. These reservationshave aare distributed with wildcardreservationscope,so they go everywhere.i.e., to all senders. The number of reservations that are actually made in a particular node is D' = min(D,Ns), where Ns is the total number of sendersupstream of the node. Like a FF style request, a DF style request causes distinct reservations for different senders.upstream of the node. o In addition to D and the flowspec, a DF style reservation Braden, Zhang, et al. Expiration: December 1995 [Page 91] Internet Draft RSVP Specification June 1995 may also specify a list of K filterspecs, for some K in the range: 0 <= KBraden, Zhang, et al. Expiration: September 1995 [Page 65] Internet Draft RSVP Specification March 1995<= D'. These filterspecs define particular senders to use the D' reservations, and this list establishes the scope for the filter specs. Once a DF reservation has been established, the receiver may change the set of filterspecs to specify a different selection of senders, without a new admission control check (assuming D' and the common flowspec remain unchanged). This is known as "channel switching", in analogy with a television set. In order to provide assured channel switching, each node along the path must reserve enough bandwidth for all D' channels, even though some of this bandwidth may be unused at any one time. If D' changes (because the receiver changed D or because the number Ns of upstream sources changed), or if the common flowspec changes, the refresh message is treated as a new reservation that is subject to admission control and may fail. Theessential difference between the FF and DF styles is that theDF style allows a receiver to switch channels without danger of an admission denial due to limited resources (unless a topology change reroutes traffic along a lower-capacity path or new senders appear), once the initial reservations have been made. This in turn implies that the DF style creates reservations that may not be in use at any given time. The DF style is compatible with the FF style but not the WF or SE style.8.2D.4.2 Examples To give an example of the DF style, we use the following notation: o DF Style DF( n, {r} ; ) or DF( n, {r} ; S1, S2, ...) This message carries the count n of channels to be reserved, each using common flowspec r. It also carries a list, perhaps empty, of filterspecs defining senders. Figure1115 shows an example of Dynamic-Filter reservations. The receivers downstream from interface (d) have requested two reserved channels, but selected only one sender, S1. The node reserves min(2,3) = 2 channels of size B on interface (d), and it then applies any specified filters to these channels. Since Braden, Zhang, et al. Expiration: December 1995 [Page 92] Internet Draft RSVP Specification June 1995 only one sender was specified, one channel has no corresponding filter, as shown by `?'.Braden, Zhang, et al. Expiration: September 1995 [Page 66] Internet Draft RSVP Specification March 1995Similarly, the receivers downstream of interface (c) have requested two channels and selected senders S1 and S2. The two channels might have been one channel each from R1 and R2, or two channels requested by one of them, for example. | Send | Reserve Receive | | ________ DF( 1,{B}; S1) <- (a) | (c) | S1{B} | (c) <- DF( 2,{B}; S1, S2) | |________| | | S2{B} | | |________| | ------------------------|------------------------------------------- | ________ DF( 2,{B}; S2) <- (b) | (d) | S1{B} | (d) <- DF( 2,{B}; S1) | |________| | | ?{B} | | |________| Figure11:15: Dynamic-Filter Reservation Example A router should not reserve more Dynamic-Filter channels than the number of upstream sources (three, in the router of Figure11).15). Since there is only one source upstream from previous hop (a), the first parameter of the DF message (the count of channels to be reserved) was decreased to 1 in the forwarded reservations. However, this is unnecessary, because the routers upstream will reserve only one channel, regardless. When a DF reservation is received, it is labeled with the IP address of the next hop (RSVP-capable) router, downstream from the current node. Since the outgoing interface may be directly connected to a shared medium network or to a non-RSVP-capable router, there may be more than one next-hop node downstream; if so, each sends independent DF RESV messages for a given session. The number N' of DF channels reserved on an outgoing interface is given by the formula: N' = min( D1+D2+...Dn, Ns), where Di is the D value (channel reservation count) in a RESV Braden, Zhang, et al. Expiration: December 1995 [Page 93] Internet Draft RSVP Specification June 1995 from the ith next-hop node. For a DF reservation request with a Dynamic Reservation Count = C,Braden, Zhang, et al. Expiration: September 1995 [Page 67] Internet Draft RSVP Specification March 1995RSVP should call TC_AddFlowspec C times.8.3D.4.3 Resv Messages Add the following sequence:<style-specific-tail> ::= <Style-DF> <FLOWSPEC> <filter spec list> <filter spec<flow descriptor list> ::=<empty> |<FLOWSPEC> <filter spec list><FILTER_SPEC> 8.4D.4.4 STYLE Class o STYLE-DF object: Class =4,8, C-Type =32 +-------------+-------------+-------------+-------------+ |Style=3Style ID=4 | Attribute Vector 0...0101001b | +-------------+-------------+-------------+-------------+ |////////////// /////// |DynDynamic ResvCnt| FDCount |+-------------+-------------+-------------+-------------++-------------+-------------+---------------------------+ Style3ID 4 = Dynamic-FilterDyn(DF) Attribute Vector 18 bits: Reserved 1 bit: Decoupled if 1. 2 bits: Sharing control (as before) 3 bits: Scope control (as before) Dynamic Resv Count The number of channels to be reserved for a Dynamic Filter style reservation. This integer value must not less thanFD Count. REFERENCESthe number of FILTER_SPEC objects in filter spec list. Braden, Zhang, et al. Expiration: December 1995 [Page 94] Internet Draft RSVP Specification June 1995 References [CSZ92] Clark, D., Shenker, S., and L. Zhang, "Supporting Real-Time Applications in an Integrated Services Packet Network: Architecture and Mechanisms", Proc. SIGCOMM '92, Baltimore, MD, August 1992. [ISInt93] Braden, R., Clark, D., and S. Shenker, "Integrated Services in the Internet Architecture: an Overview", RFC 1633, ISI, MIT, and PARC, June 1994. [IServ93] Shenker, S., Clark, D., and L. Zhang, "A Service Model for an Integrated Services Internet", Work in Progress, October 1993. [Partridge92] Partridge, C., "A Proposed Flow Specification", RFC 1363, BBN, September 1992.Braden,[RSVP93] Zhang,et al. Expiration:L., Deering, S., Estrin, D., Shenker, S., and D. Zappala, "RSVP: A New Resource ReSerVation Protocol", IEEE Network, September1995 [Page 68]1993. [ServTempl95a] Shenker, S., "Network Element Service Specification Template", Internet DraftRSVP Specificationdraft-ietf-intserv-svc-template-00.txt, Integrated Services Working Group, March19951995. [Shenker94] Shenker, S., "Two-Pass or Not Two-Pass", Current Meeting Report, RSVP Working Group, Proceedings of the Thirtieth Internet Engineering Task Force, Toronto, Canada, July 1994.[RSVP93] Zhang, L., Deering, S., Estrin, D., Shenker, S., and D. Zappala, "RSVP: A New Resource ReSerVation Protocol", IEEE Network, September 1993.Security Considerations See Section 2.5. Authors' Addresses Lixia Zhang Xerox Palo Alto Research Center 3333 Coyote Hill Road Palo Alto, CA 94304 Phone: (415) 812-4415 EMail: Lixia@PARC.XEROX.COM Braden, Zhang, et al. Expiration: December 1995 [Page 95] Internet Draft RSVP Specification June 1995 Bob Braden USC Information Sciences Institute 4676 Admiralty Way Marina del Rey, CA 90292 Phone: (310) 822-1511 EMail: Braden@ISI.EDU Deborah Estrin Computer Science Department University of Southern California Los Angeles, CA 90089-0871 Phone: (213) 740-4524 EMail: estrin@USC.EDUBraden, Zhang, et al. Expiration: September 1995 [Page 69] Internet Draft RSVP Specification March 1995Shai Herzog USC Information Sciences Institute 4676 Admiralty Way Marina del Rey, CA 90292 Palo Alto, CA 94304 Phone: (310) 822 1511 EMail: Herzog@ISI.EDU Sugih Jamin Computer Science Department University of Southern California Los Angeles, CA 90089-0871 Phone: (213) 740-6578 EMail: jamin@catarina.usc.edu Braden, Zhang, et al. Expiration:SeptemberDecember 1995 [Page70]96] ----