Internet Engineering Task Force (IETF) W. Sun, Ed. Request for Comments: 5814 SJTU Category: Standards Track G. Zhang, Ed. ISSN: 2070-1721 CATR March 2010 Label Switched Path (LSP) Dynamic Provisioning Performance Metrics in Generalized MPLS Networks Abstract Generalized Multi-Protocol Label Switching (GMPLS) is one of the most promising candidate technologies for a future data transmission network. GMPLS has been developed to control and operate different kinds of network elements, such as conventional routers, switches, Dense Wavelength Division Multiplexing (DWDM) systems, Add-Drop Multiplexers (ADMs), photonic cross-connects (PXCs), optical cross- connects (OXCs), etc. These physically diverse devices differ drastically from one another in dynamic provisioning ability. At the same time, the need for dynamically provisioned connections is increasing because optical networks are being deployed in metro areas. As different applications have varied requirements in the provisioning performance of optical networks, it is imperative to define standardized metrics and procedures such that the performance of networks and application needs can be mapped to each other. This document provides a series of performance metrics to evaluate the dynamic Label Switched Path (LSP) provisioning performance in GMPLS networks, specifically the dynamic LSP setup/release performance. These metrics can be used to characterize the features of GMPLS networks in LSP dynamic provisioning. Status of This Memo This is an Internet Standards Track document. This document is a product of the Internet Engineering Task Force (IETF). It represents the consensus of the IETF community. It has received public review and has been approved for publication by the Internet Engineering Steering Group (IESG). Further information on Internet Standards is available in Section 2 of RFC 5741. Information about the current status of this document, any errata, and how to provide feedback on it may be obtained at http://www.rfc-editor.org/info/rfc5814. Sun & Zhang Standards Track [Page 1] RFC 5814 LSP Dynamic PPM in GMPLS Networks March 2010 Copyright Notice Copyright (c) 2010 IETF Trust and the persons identified as the document authors. All rights reserved. This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License. This document may contain material from IETF Documents or IETF Contributions published or made publicly available before November 10, 2008. The person(s) controlling the copyright in some of this material may not have granted the IETF Trust the right to allow modifications of such material outside the IETF Standards Process. Without obtaining an adequate license from the person(s) controlling the copyright in such materials, this document may not be modified outside the IETF Standards Process, and derivative works of it may not be created outside the IETF Standards Process, except to format it for publication as an RFC or to translate it into languages other than English. Sun & Zhang Standards Track [Page 2] RFC 5814 LSP Dynamic PPM in GMPLS Networks March 2010 Table of Contents 1. Introduction ....................................................6 2. Conventions Used in This Document ...............................6 3. Overview of Performance Metrics .................................6 4. A Singleton Definition for Single Unidirectional LSP Setup Delay .....................................................7 4.1. Motivation .................................................7 4.2. Metric Name ................................................7 4.3. Metric Parameters ..........................................8 4.4. Metric Units ...............................................8 4.5. Definition .................................................8 4.6. Discussion .................................................8 4.7. Methodologies ..............................................9 4.8. Metric Reporting ...........................................9 5. A Singleton Definition for Multiple Unidirectional LSPs Setup Delay ....................................................10 5.1. Motivation ................................................10 5.2. Metric Name ...............................................10 5.3. Metric Parameters .........................................10 5.4. Metric Units ..............................................10 5.5. Definition ................................................11 5.6. Discussion ................................................11 5.7. Methodologies .............................................12 5.8. Metric Reporting ..........................................13 6. A Singleton Definition for Single Bidirectional LSP Setup Delay ....................................................13 6.1. Motivation ................................................13 6.2. Metric Name ...............................................14 6.3. Metric Parameters .........................................14 6.4. Metric Units ..............................................14 6.5. Definition ................................................14 6.6. Discussion ................................................15 6.7. Methodologies .............................................15 6.8. Metric Reporting ..........................................16 7. A Singleton Definition for Multiple Bidirectional LSPs Setup Delay ....................................................16 7.1. Motivation ................................................16 7.2. Metric Name ...............................................16 7.3. Metric Parameters .........................................17 7.4. Metric Units ..............................................17 7.5. Definition ................................................17 7.6. Discussion ................................................18 7.7. Methodologies .............................................19 7.8. Metric Reporting ..........................................19 8. A Singleton Definition for LSP Graceful Release Delay ..........20 8.1. Motivation ................................................20 8.2. Metric Name ...............................................20 Sun & Zhang Standards Track [Page 3] RFC 5814 LSP Dynamic PPM in GMPLS Networks March 2010 8.3. Metric Parameters .........................................20 8.4. Metric Units ..............................................20 8.5. Definition ................................................20 8.6. Discussion ................................................22 8.7. Methodologies .............................................22 8.8. Metric Reporting ..........................................23 9. A Definition for Samples of Single Unidirectional LSP Setup Delay ....................................................24 9.1. Metric Name ...............................................24 9.2. Metric Parameters .........................................24 9.3. Metric Units ..............................................24 9.4. Definition ................................................24 9.5. Discussion ................................................25 9.6. Methodologies .............................................25 9.7. Typical Testing Cases .....................................26 9.7.1. With No LSP in the Network .........................26 9.7.2. With a Number of LSPs in the Network ...............26 9.8. Metric Reporting ..........................................26 10. A Definition for Samples of Multiple Unidirectional LSPs Setup Delay ..............................................26 10.1. Metric Name ..............................................27 10.2. Metric Parameters ........................................27 10.3. Metric Units .............................................27 10.4. Definition ...............................................27 10.5. Discussion ...............................................28 10.6. Methodologies ............................................28 10.7. Typical Testing Cases ....................................29 10.7.1. With No LSP in the Network ........................29 10.7.2. With a Number of LSPs in the Network ..............29 10.8. Metric Reporting .........................................29 11. A Definition for Samples of Single Bidirectional LSP Setup Delay ...................................................30 11.1. Metric Name ..............................................30 11.2. Metric Parameters ........................................30 11.3. Metric Units .............................................30 11.4. Definition ...............................................30 11.5. Discussion ...............................................31 11.6. Methodologies ............................................31 11.7. Typical Testing Cases ....................................32 11.7.1. With No LSP in the Network ........................32 11.7.2. With a Number of LSPs in the Network ..............32 11.8. Metric Reporting .........................................32 12. A Definition for Samples of Multiple Bidirectional LSPs Setup Delay ..............................................32 12.1. Metric Name ..............................................33 12.2. Metric Parameters ........................................33 12.3. Metric Units .............................................33 12.4. Definition ...............................................33 Sun & Zhang Standards Track [Page 4] RFC 5814 LSP Dynamic PPM in GMPLS Networks March 2010 12.5. Discussion ...............................................34 12.6. Methodologies ............................................34 12.7. Typical Testing Cases ....................................35 12.7.1. With No LSP in the Network ........................35 12.7.2. With a Number of LSPs in the Network ..............35 12.8. Metric Reporting .........................................35 13. A Definition for Samples of LSP Graceful Release Delay ........35 13.1. Metric Name ..............................................36 13.2. Metric Parameters ........................................36 13.3. Metric Units .............................................36 13.4. Definition ...............................................36 13.5. Discussion ...............................................36 13.6. Methodologies ............................................37 13.7. Metric Reporting .........................................37 14. Some Statistics Definitions for Metrics to Report .............37 14.1. The Minimum of Metric ....................................37 14.2. The Median of Metric .....................................37 14.3. The Maximum of Metric ....................................38 14.4. The Percentile of Metric .................................38 14.5. Failure Statistics of Metric .............................38 14.5.1. Failure Count .....................................39 14.5.2. Failure Ratio .....................................39 15. Discussion ....................................................39 16. Security Considerations .......................................40 17. Acknowledgments ...............................................41 18. References ....................................................41 18.1. Normative References .....................................41 18.2. Informative References ...................................42 Appendix A. Authors' Addresses ...................................43 Sun & Zhang Standards Track [Page 5] RFC 5814 LSP Dynamic PPM in GMPLS Networks March 2010 1. Introduction Generalized Multi-Protocol Label Switching (GMPLS) is one of the most promising control plane solutions for future transport and service network. GMPLS has been developed to control and operate different kinds of network elements, such as conventional routers, switches, Dense Wavelength Division Multiplexing (DWDM) systems, Add-Drop Multiplexors (ADMs), photonic cross-connects (PXCs), optical cross- connects (OXCs), etc. These physically diverse devices differ drastically from one another in dynamic provisioning ability. The introduction of a control plane into optical circuit switching networks provides the basis for automating the provisioning of connections and drastically reduces connection provision delay. As more and more services and applications are seeking to use GMPLS- controlled networks as their underlying transport network, and increasingly in a dynamic way, the need is growing for measuring and characterizing the performance of LSP provisioning in GMPLS networks, such that requirement from applications and the provisioning capability of the network can be mapped to each other. This document defines performance metrics and methodologies that can be used to characterize the dynamic LSP provisioning performance of GMPLS networks, more specifically, performance of the signaling protocol. The metrics defined in this document can be used to characterize the average performance of GMPLS implementations. 2. Conventions Used in This Document The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in [RFC2119]. 3. Overview of Performance Metrics In this memo, to characterize the dynamic LSP provisioning performance of a GMPLS network, we define three performance metrics: unidirectional LSP setup delay, bidirectional LSP setup delay, and LSP graceful release delay. The latency of the LSP setup/release signal is conceptually similar to the Round-trip Delay in IP networks. This enables us to refer to the structures and notions introduced and discussed in the IP Performance Metrics (IPPM) Framework documents, [RFC2330] [RFC2679] [RFC2681]. The reader is assumed to be familiar with the notions in those documents. Sun & Zhang Standards Track [Page 6] RFC 5814 LSP Dynamic PPM in GMPLS Networks March 2010 Note that data-path-related metrics, for example, the time between the reception of a Resv message by the ingress node and when the forward data path becomes operational, are defined in another document [CCAMP-DPM]. It is desirable that both measurements are performed to complement each other. 4. A Singleton Definition for Single Unidirectional LSP Setup Delay This section defines a metric for single unidirectional Label Switched Path setup delay across a GMPLS network. 4.1. Motivation Single unidirectional Label Switched Path setup delay is useful for several reasons: o Single LSP setup delay is an important metric that characterizes the provisioning performance of a GMPLS network. Longer LSP setup delay will most likely incur higher overhead for the requesting application, especially when the LSP duration itself is comparable to the LSP setup delay. o The minimum value of this metric provides an indication of the delay that will likely be experienced when the LSP traverses the shortest route at the lightest load in the control plane. As the delay itself consists of several components, such as link propagation delay and nodal processing delay, this metric also reflects the status of the control plane. For example, for LSPs traversing the same route, longer setup delays may suggest congestion in the control channel or high control element load. For this reason, this metric is useful for testing and diagnostic purposes. o The observed variance in a sample of LSP setup delay metric values variance may serve as an early indicator on the feasibility of support of applications that have stringent setup delay requirements. The measurement of single unidirectional LSP setup delay instead of bidirectional LSP setup delay is motivated by the following factors: o Some applications may use only unidirectional LSPs rather than bidirectional ones. For example, content delivery services with multicasting may use only unidirectional LSPs. 4.2. Metric Name Single unidirectional LSP setup delay Sun & Zhang Standards Track [Page 7] RFC 5814 LSP Dynamic PPM in GMPLS Networks March 2010 4.3. Metric Parameters o ID0, the ingress Label Switching Router (LSR) ID o ID1, the egress LSR ID o T, a time when the setup is attempted 4.4. Metric Units The value of single unidirectional LSP setup delay is either a real number of milliseconds or undefined. 4.5. Definition The single unidirectional LSP setup delay from ingress node ID0 to egress node ID1 [RFC3945] at T is dT means that ingress node ID0 sends the first bit of a Path message packet to egress node ID1 at wire-time T, and that ingress node ID0 received the last bit of responding Resv message packet from egress node ID1 at wire-time T+dT. The single unidirectional LSP setup delay from ingress node ID0 to egress node ID1 at T is undefined means that ingress node ID0 sends the first bit of Path message packet to egress node ID1 at wire-time T and that ingress node ID0 does not receive the corresponding Resv message within a reasonable period of time. The undefined value of this metric indicates an event of Single Unidirectional LSP Setup Failure and would be used to report a count or a percentage of Single Unidirectional LSP Setup failures. See Section 14.5 for definitions of LSP setup/release failures. 4.6. Discussion The following issues are likely to come up in practice: o The accuracy of unidirectional LSP setup delay at time T depends on the clock resolution in the ingress node; but synchronization between the ingress node and egress node is not required since unidirectional LSP setup uses two-way signaling. o A given methodology will have to include a way to determine whether a latency value is infinite or whether it is merely very large. Simple upper bounds MAY be used, but GMPLS networks may accommodate many kinds of devices. For example, some photonic cross-connects (PXCs) have to move micro mirrors. This physical motion may take several milliseconds, but the common electronic Sun & Zhang Standards Track [Page 8] RFC 5814 LSP Dynamic PPM in GMPLS Networks March 2010 switches can finish the nodal processing within several microseconds. So the unidirectional LSP setup delay varies drastically from one network to another. In practice, the upper bound SHOULD be chosen carefully. o If the ingress node sends out the Path message to set up an LSP, but never receives the corresponding Resv message, the unidirectional LSP setup delay MUST be set to undefined. o If the ingress node sends out the Path message to set up an LSP but receives a PathErr message, the unidirectional LSP setup delay MUST be set to undefined. There are many possible reasons for this case; for example, the Path message has invalid parameters or the network does not have enough resources to set up the requested LSP, etc. 4.7. Methodologies Generally, the methodology would proceed as follows: o Make sure that the network has enough resources to set up the requested LSP. o At the ingress node, form the Path message according to the LSP requirements. A timestamp (T1) may be stored locally on the ingress node when the Path message packet is sent towards the egress node. o If the corresponding Resv message arrives within a reasonable period of time, take the timestamp (T2) as soon as possible upon receipt of the message. By subtracting the two timestamps, an estimate of unidirectional LSP setup delay (T2-T1) can be computed. o If the corresponding Resv message fails to arrive within a reasonable period of time, the unidirectional LSP setup delay is deemed to be undefined. Note that the "reasonable" threshold is a parameter of the methodology. o If the corresponding response is a PathErr message, the unidirectional LSP setup delay is deemed to be undefined. 4.8. Metric Reporting The metric result (either a real number or undefined) MUST be reported together with the selected upper bound. The route that the LSP traverses MUST also be reported. The route MAY be collected via Sun & Zhang Standards Track [Page 9] RFC 5814 LSP Dynamic PPM in GMPLS Networks March 2010 use of the record route object, see [RFC3209], or via the management plane. The collection of routes via the management plane is out of scope of this document. 5. A Singleton Definition for Multiple Unidirectional LSPs Setup Delay This section defines a metric for multiple unidirectional Label Switched Paths setup delay across a GMPLS network. 5.1. Motivation Multiple unidirectional Label Switched Paths setup delay is useful for several reasons: o Carriers may require that a large number of LSPs be set up during a short time period. This request may arise, e.g., as a consequence to interruptions on established LSPs or other network failures. o The time needed to set up a large number of LSPs during a short time period cannot be deduced from single LSP setup delay. 5.2. Metric Name Multiple unidirectional LSPs setup delay 5.3. Metric Parameters o ID0, the ingress LSR ID o ID1, the egress LSR ID o Lambda_m, a rate in reciprocal milliseconds o X, the number of LSPs to set up o T, a time when the first setup is attempted 5.4. Metric Units The value of multiple unidirectional LSPs setup delay is either a real number of milliseconds or undefined Sun & Zhang Standards Track [Page 10] RFC 5814 LSP Dynamic PPM in GMPLS Networks March 2010 5.5. Definition Given Lambda_m and X, the multiple unidirectional LSPs setup delay from the ingress node to the egress node [RFC3945] at T is dT means: o ingress node ID0 sends the first bit of the first Path message packet to egress node ID1 at wire-time T; o all subsequent (X-1) Path messages are sent according to the specified Poisson process with arrival rate Lambda_m; o ingress node ID0 receives all corresponding Resv message packets from egress node ID1; and o ingress node ID0 receives the last Resv message packet at wire- time T+dT. If the multiple unidirectional LSPs setup delay at T is "undefined", this means that: o ingress node ID0 sends all the Path messages toward egress node ID1, o the first bit of the first Path message packet is sent at wire- time T, and o ingress node ID0 does not receive one or more of the corresponding Resv messages within a reasonable period of time. The undefined value of this metric indicates an event of Multiple Unidirectional LSP Setup Failure and would be used to report a count or a percentage of Multiple Unidirectional LSP Setup failures. See Section 14.5 for definitions of LSP setup/release failures. 5.6. Discussion The following issues are likely to come up in practice: o The accuracy of multiple unidirectional LSPs setup delay at time T depends on the clock resolution in the ingress node; but synchronization between the ingress node and egress node is not required since unidirectional LSP setup uses two-way signaling. o A given methodology will have to include a way to determine whether a latency value is infinite or whether it is merely very large. Simple upper bounds MAY be used, but GMPLS networks may accommodate many kinds of devices. For example, some photonic cross-connects (PXCs) have to move micro mirrors. This physical Sun & Zhang Standards Track [Page 11] RFC 5814 LSP Dynamic PPM in GMPLS Networks March 2010 motion may take several milliseconds, but electronic switches can finish the nodal processing within several microseconds. So the multiple unidirectional LSP setup delay varies drastically from one network to another. In practice, the upper bound SHOULD be chosen carefully. o If the ingress node sends out the multiple Path messages to set up the LSPs, but never receives one or more of the corresponding Resv messages, multiple unidirectional LSP setup delay MUST be set to undefined. o If the ingress node sends out the Path messages to set up the LSPs but receives one or more PathErr messages, multiple unidirectional LSPs setup delay MUST be set to undefined. There are many possible reasons for this case. For example, one of the Path messages has invalid parameters or the network does not have enough resources to set up the requested LSPs, etc. o The arrival rate of the Poisson process Lambda_m SHOULD be chosen carefully such that on the one hand, the control plane is not overburdened. On the other hand, the arrival rate is large enough to meet the requirements of applications or services. o It is important that all the LSPs MUST traverse the same route. If there are multiple routes between the ingress node ID0 and egress node ID1, Explicit Route Objects (EROs), or an alternate method, e.g., static configuration, MUST be used to ensure that all LSPs traverse the same route. 5.7. Methodologies Generally, the methodology would proceed as follows: o Make sure that the network has enough resources to set up the requested LSPs. o At the ingress node, form the Path messages according to the LSPs' requirements. o At the ingress node, select the time for each of the Path messages according to the specified Poisson process. o At the ingress node, send out the Path messages according to the selected time. o Store a timestamp (T1) locally on the ingress node when the first Path message packet is sent towards the egress node. Sun & Zhang Standards Track [Page 12] RFC 5814 LSP Dynamic PPM in GMPLS Networks March 2010 o If all of the corresponding Resv messages arrive within a reasonable period of time, take the final timestamp (T2) as soon as possible upon the receipt of all the messages. By subtracting the two timestamps, an estimate of multiple unidirectional LSPs setup delay (T2-T1) can be computed. o If one or more of the corresponding Resv messages fail to arrive within a reasonable period of time, the multiple unidirectional LSPs setup delay is deemed to be undefined. Note that the "reasonable" threshold is a parameter of the methodology. o If one or more of the corresponding responses are PathErr messages, the multiple unidirectional LSPs setup delay is deemed to be undefined. 5.8. Metric Reporting The metric result (either a real number or undefined) MUST be reported together with the selected upper bound. The route that the LSPs traverse MUST also be reported. The route MAY be collected via use of the record route object, see [RFC3209], or via the management plane. The collection of routes via the management plane is out of scope of this document. 6. A Singleton Definition for Single Bidirectional LSP Setup Delay GMPLS allows establishment of bidirectional symmetric LSPs (not of asymmetric LSPs). This section defines a metric for single bidirectional LSP setup delay across a GMPLS network. 6.1. Motivation Single bidirectional Label Switched Path setup delay is useful for several reasons: o LSP setup delay is an important metric that characterizes the provisioning performance of a GMPLS network. Longer LSP setup delay will incur higher overhead for the requesting application, especially when the LSP duration is comparable to the LSP setup delay. Thus, measuring the setup delay is important for application scheduling. o The minimum value of this metric provides an indication of the delay that will likely be experienced when the LSP traverses the shortest route at the lightest load in the control plane. As the delay itself consists of several components, such as link propagation delay and nodal processing delay, this metric also reflects the status of the control plane. For example, for LSPs Sun & Zhang Standards Track [Page 13] RFC 5814 LSP Dynamic PPM in GMPLS Networks March 2010 traversing the same route, longer setup delays may suggest congestion in the control channel or high control element load. For this reason, this metric is useful for testing and diagnostic purposes. o LSP setup delay variance has a different impact on applications. Erratic variation in LSP setup delay makes it difficult to support applications that have stringent setup delay requirement. The measurement of single bidirectional LSP setup delay instead of unidirectional LSP setup delay is motivated by the following factors: o Bidirectional LSPs are seen as a requirement for many GMPLS networks. Its provisioning performance is important to applications that generate bidirectional traffic. 6.2. Metric Name Single bidirectional LSP setup delay 6.3. Metric Parameters o ID0, the ingress LSR ID o ID1, the egress LSR ID o T, a time when the setup is attempted 6.4. Metric Units The value of single bidirectional LSP setup delay is either a real number of milliseconds or undefined 6.5. Definition For a real number dT, the single bidirectional LSP setup delay from ingress node ID0 to egress node ID1 at T is dT means that ingress node ID0 sends out the first bit of a Path message including an Upstream Label [RFC3473] heading for egress node ID1 at wire-time T, egress node ID1 receives that packet, then immediately sends a Resv message packet back to ingress node ID0, and that ingress node ID0 receives the last bit of the Resv message packet at wire-time T+dT. If the single bidirectional LSP setup delay from ingress node ID0 to egress node ID1 at T is "undefined", this means that ingress node ID0 sends the first bit of a Path message to egress node ID1 at wire-time T and that ingress node ID0 does not receive that response packet within a reasonable period of time. Sun & Zhang Standards Track [Page 14] RFC 5814 LSP Dynamic PPM in GMPLS Networks March 2010 The undefined value of this metric indicates an event of Single Bidirectional LSP Setup Failure and would be used to report a count or a percentage of Single Bidirectional LSP Setup failures. See Section 14.5 for definitions of LSP setup/release failures. 6.6. Discussion The following issues are likely to come up in practice: o The accuracy of single bidirectional LSP setup delay depends on the clock resolution in the ingress node; but synchronization between the ingress node and egress node is not required since single bidirectional LSP setup uses two-way signaling. o A given methodology will have to include a way to determine whether a latency value is infinite or whether it is merely very large. Simple upper bounds MAY be used, but GMPLS networks may accommodate many kinds of devices. For example, some photonic cross-connects (PXCs) have to move micro mirrors. This physical motion may take several milliseconds, but electronic switches can finish the nodal processing within several microseconds. So the bidirectional LSP setup delay varies drastically from one network to another. In the process of bidirectional LSP setup, if the downstream node overrides the label suggested by the upstream node, the setup delay may also increase. Thus, in practice, the upper bound SHOULD be chosen carefully. o If the ingress node sends out the Path message to set up the LSP, but never receives the corresponding Resv message, single bidirectional LSP setup delay MUST be set to undefined. o If the ingress node sends out the Path message to set up the LSP, but receives a PathErr message, single bidirectional LSP setup delay MUST be set to undefined. There are many possible reasons for this case. For example, the Path message has invalid parameters or the network does not have enough resources to set up the requested LSP. 6.7. Methodologies Generally, the methodology would proceed as follows: o Make sure that the network has enough resources to set up the requested LSP. Sun & Zhang Standards Track [Page 15] RFC 5814 LSP Dynamic PPM in GMPLS Networks March 2010 o At the ingress node, form the Path message (including the Upstream Label or suggested label) according to the LSP requirements. A timestamp (T1) may be stored locally on the ingress node when the Path message packet is sent towards the egress node. o If the corresponding Resv message arrives within a reasonable period of time, take the final timestamp (T2) as soon as possible upon the receipt of the message. By subtracting the two timestamps, an estimate of bidirectional LSP setup delay (T2-T1) can be computed. o If the corresponding Resv message fails to arrive within a reasonable period of time, the single bidirectional LSP setup delay is deemed to be undefined. Note that the "reasonable" threshold is a parameter of the methodology. o If the corresponding response is a PathErr message, the single bidirectional LSP setup delay is deemed to be undefined. 6.8. Metric Reporting The metric result (either a real number or undefined) MUST be reported together with the selected upper bound. The route that the LSP traverses MUST also be reported. The route MAY be collected via use of the record route object, see [RFC3209], or via the management plane. The collection of routes via the management plane is out of scope of this document. 7. A Singleton Definition for Multiple Bidirectional LSPs Setup Delay This section defines a metric for multiple bidirectional LSPs setup delay across a GMPLS network. 7.1. Motivation Multiple bidirectional LSPs setup delay is useful for several reasons: o Upon traffic interruption caused by network failure or network upgrade, carriers may require a large number of LSPs be set up during a short time period. o The time needed to set up a large number of LSPs during a short time period cannot be deduced by single LSP setup delay. 7.2. Metric Name Multiple bidirectional LSPs setup delay Sun & Zhang Standards Track [Page 16] RFC 5814 LSP Dynamic PPM in GMPLS Networks March 2010 7.3. Metric Parameters o ID0, the ingress LSR ID o ID1, the egress LSR ID o Lambda_m, a rate in reciprocal milliseconds o X, the number of LSPs to set up o T, a time when the first setup is attempted 7.4. Metric Units The value of multiple bidirectional LSPs setup delay is either a real number of milliseconds or undefined 7.5. Definition Given Lambda_m and X, for a real number dT, the multiple bidirectional LSPs setup delay from ingress node to egress node at T is dT, means that: o Ingress node ID0 sends the first bit of the first Path message heading for egress node ID1 at wire-time T; o All subsequent (X-1) Path messages are sent according to the specified Poisson process with arrival rate Lambda_m; o Ingress node ID1 receives all corresponding Resv message packets from egress node ID1; and o Ingress node ID0 receives the last Resv message packet at wire- time T+dT. If the multiple bidirectional LSPs setup delay from ingress node to egress node at T is "undefined", this means that the ingress node sends all the Path messages to the egress node and that the ingress node fails to receive one or more of the response Resv messages within a reasonable period of time. The undefined value of this metric indicates an event of Multiple Bidirectional LSP Setup Failure and would be used to report a count or a percentage of Multiple Bidirectional LSP Setup failures. See Section 14.5 for definitions of LSP setup/release failures. Sun & Zhang Standards Track [Page 17] RFC 5814 LSP Dynamic PPM in GMPLS Networks March 2010 7.6. Discussion The following issues are likely to come up in practice: o The accuracy of multiple bidirectional LSPs setup delay depends on the clock resolution in the ingress node; but synchronization between the ingress node and egress node is not required since bidirectional LSP setup uses two-way signaling. o A given methodology will have to include a way to determine whether a latency value is infinite or whether it is merely very large. Simple upper bounds MAY be used, but GMPLS networks may accommodate many kinds of devices. For example, some photonic cross-connects (PXCs) have to move micro mirrors. This physical motion may take several milliseconds, but electronic switches can finish the nodal process within several microseconds. So the multiple bidirectional LSPs setup delay varies drastically from a network to another. In the process of multiple bidirectional LSPs setup, if the downstream node overrides the label suggested by the upstream node, the setup delay may also increase. Thus, in practice, the upper bound SHOULD be chosen carefully. o If the ingress node sends out the Path messages to set up the LSPs, but never receives all the corresponding Resv messages, the multiple bidirectional LSPs setup delay MUST be set to undefined. o If the ingress node sends out the Path messages to set up the LSPs, but receives one or more responding PathErr messages, the multiple bidirectional LSPs setup delay MUST be set to undefined. There are many possible reasons for this case. For example, one or more of the Path messages have invalid parameters or the network does not have enough resources to set up the requested LSPs. o The arrival rate of the Poisson process Lambda_m SHOULD be carefully chosen such that on the one hand, the control plane is not overburdened. On the other hand, the arrival rate is large enough to meet the requirements of applications or services. o It is important that all the LSPs MUST traverse the same route. If there are multiple routes between the ingress node ID0 and egress node ID1, EROs, or an alternate method, e.g., static configuration, MUST be used to ensure that all LSPs traverse the same route. Sun & Zhang Standards Track [Page 18] RFC 5814 LSP Dynamic PPM in GMPLS Networks March 2010 7.7. Methodologies Generally, the methodology would proceed as follows: o Make sure that the network has enough resources to set up the requested LSPs. o At the ingress node, form the Path messages (including the Upstream Label or suggested label) according to the LSPs' requirements. o At the ingress node, select the time for each of the Path messages according to the specified Poisson process. o At the ingress node, send out the Path messages according to the selected time. o Store a timestamp (T1) locally in the ingress node when the first Path message packet is sent towards the egress node. o If all of the corresponding Resv messages arrive within a reasonable period of time, take the final timestamp (T2) as soon as possible upon the receipt of all the messages. By subtracting the two timestamps, an estimate of multiple bidirectional LSPs setup delay (T2-T1) can be computed. o If one or more of the corresponding Resv messages fail to arrive within a reasonable period of time, the multiple bidirectional LSPs setup delay is deemed to be undefined. Note that the "reasonable" threshold is a parameter of the methodology. o If one or more of the corresponding responses are PathErr messages, the multiple bidirectional LSPs setup delay is deemed to be undefined. 7.8. Metric Reporting The metric result (either a real number or undefined) MUST be reported together with the selected upper bound. The route that the LSPs traverse MUST also be reported. The route MAY be collected via use of the record route object, see [RFC3209], or via the management plane. The collection of routes via the management plane is out of scope of this document. Sun & Zhang Standards Track [Page 19] RFC 5814 LSP Dynamic PPM in GMPLS Networks March 2010 8. A Singleton Definition for LSP Graceful Release Delay There are two different kinds of LSP release mechanisms in GMPLS networks: graceful release and forceful release. This document does not take forceful LSP release procedure into account. 8.1. Motivation LSP graceful release delay is useful for several reasons: o The LSP graceful release delay is part of the total cost of dynamic LSP provisioning. For some short duration applications, the LSP release time cannot be ignored. o The LSP graceful release procedure is more preferred in a GMPLS controlled network, particularly the optical networks. Since it doesn't trigger restoration/protection, it is "alarm-free connection deletion" in [RFC4208]. 8.2. Metric Name LSP graceful release delay 8.3. Metric Parameters o ID0, the ingress LSR ID o ID1, the egress LSR ID o T, a time when the release is attempted 8.4. Metric Units The value of LSP graceful release delay is either a real number of milliseconds or undefined 8.5. Definition There are two different LSP graceful release procedures: one is initiated by the ingress node, and another is initiated by the egress node. The two procedures are depicted in [RFC3473]. We define the graceful LSP release delay for these two procedures separately. For a real number dT, if the LSP graceful release delay from ingress node ID0 to egress node ID1 at T is dT, this means that ingress node ID0 sends the first bit of a Path message including an Admin Status Object with the Reflect (R) and Delete (D) bits set to the egress node at wire-time T, that egress node ID1 receives that packet, then Sun & Zhang Standards Track [Page 20] RFC 5814 LSP Dynamic PPM in GMPLS Networks March 2010 immediately sends a Resv message including an Admin Status Object with the Delete (D) bit set back to the ingress node. Ingress node ID0 sends the PathTear message downstream to remove the LSP, and egress node ID1 receives the last bit of PathTear packet at wire-time T+dT. Also, as an option, upon receipt of the Path message including an Admin Status Object with the Reflect (R) and Delete (D) bits set, egress node ID1 may respond with a PathErr message with the Path_State_Removed flag set. The LSP graceful release delay from ingress node ID0 to egress node ID1 at T is undefined means that ingress node ID0 sends the first bit of Path message to egress node ID1 at wire-time T and that (either the egress node does not receive the Path packet, the egress node does not send a corresponding Resv message packet in response, or the ingress node does not receive that Resv packet, and) egress node ID1 does not receive the PathTear message within a reasonable period of time. If the LSP graceful release delay from egress node ID1 to ingress node ID0 at T is dT, this means that egress node ID1 sends the first bit of a Resv message including an Admin Status Object with the Reflect (R) and Delete (D) bits set to the ingress node at wire-time T. Ingress node ID0 sends a PathTear message downstream to remove the LSP, and egress node ID1 receives the last bit of PathTear packet at wire-time T+dT. If the LSP graceful release delay from egress node ID1 to ingress node ID0 at T is "undefined", this means that egress node ID1 sends the first bit of Resv message including an Admin Status Object with the Reflect (R) and Delete (D) bits set to the ingress node ID0 at wire-time T and that (either the ingress node does not receive the Resv packet or the ingress node does not send PathTear message packet in response, and) egress node ID1 does not receive the PathTear message within a reasonable period of time. The undefined value of this metric indicates an event of LSP Graceful Release Failure and would be used to report a count or a percentage of LSP Graceful Release failures. See Section 14.5 for definitions of LSP setup/release failures. Sun & Zhang Standards Track [Page 21] RFC 5814 LSP Dynamic PPM in GMPLS Networks March 2010 8.6. Discussion The following issues are likely to come up in practice: o In the first (second) circumstance, the accuracy of LSP graceful release delay at time T depends on the clock resolution in the ingress (egress) node. In the first circumstance, synchronization between the ingress node and egress node is required, but it is not in the second circumstance. o A given methodology has to include a way to determine whether a latency value is infinite or whether it is merely very large. Simple upper bounds MAY be used, but the upper bound SHOULD be chosen carefully in practice. o In the first circumstance, if the ingress node sends out Path message including an Admin Status Object with the Reflect (R) and Delete (D) bits set to initiate LSP graceful release, but the egress node never receives the corresponding PathTear message, LSP graceful release delay MUST be set to undefined. o In the second circumstance, if the egress node sends out the Resv message including an Admin Status Object with the Reflect (R) and Delete (D) bits set to initiate LSP graceful release, but never receives the corresponding PathTear message, LSP graceful release delay MUST be set to undefined. 8.7. Methodologies In the first circumstance, the methodology may proceed as follows: o Make sure the LSP to be deleted is set up; o At the ingress node, form the Path message including an Admin Status Object with the Reflect (R) and Delete (D) bits set. A timestamp (T1) may be stored locally on the ingress node when the Path message packet is sent towards the egress node. o Upon receiving the Path message including an Admin Status Object with the Reflect (R) and Delete (D) bits set, the egress node sends a Resv message including an Admin Status Object with the Delete (D) and Reflect (R) bits set. Alternatively, the egress node sends a PathErr message with the Path_State_Removed flag set upstream. o When the ingress node receives the Resv message or the PathErr message, it sends a PathTear message to remove the LSP. Sun & Zhang Standards Track [Page 22] RFC 5814 LSP Dynamic PPM in GMPLS Networks March 2010 o The egress node takes a timestamp (T2) once it receives the last bit of the PathTear message. The LSP graceful release delay is then (T2-T1). o If the ingress node sends the Path message downstream, but the egress node fails to receive the PathTear message within a reasonable period of time, the LSP graceful release delay is deemed to be undefined. Note that the "reasonable" threshold is a parameter of the methodology. In the second circumstance, the methodology would proceed as follows: o Make sure the LSP to be deleted is set up; o On the egress node, form the Resv message including an Admin Status Object with the Reflect (R) and Delete (D) bits set. A timestamp may be stored locally on the egress node when the Resv message packet is sent towards the ingress node. o Upon receiving the Admin Status Object with the Reflect (R) and Delete (D) bits set in the Resv message, the ingress node sends a PathTear message downstream to remove the LSP. o The egress node takes a timestamp (T2) once it receives the last bit of the PathTear message. The LSP graceful release delay is then (T2-T1). o If the egress node sends the Resv message upstream, but it fails to receive the PathTear message within a reasonable period of time, the LSP graceful release delay is deemed to be undefined. Note that the "reasonable" threshold is a parameter of the methodology. 8.8. Metric Reporting The metric result (either a real number or undefined) MUST be reported together with the selected upper bound and the procedure used (e.g., either from the ingress node to the egress node or from the egress node to the ingress node; see Section 8.5 for more details). The route that the LSP traverses MUST also be reported. The route MAY be collected via use of the record route object, see [RFC3209], or via the management plane. The collection of routes via the management plane is out of scope of this document. Sun & Zhang Standards Track [Page 23] RFC 5814 LSP Dynamic PPM in GMPLS Networks March 2010 9. A Definition for Samples of Single Unidirectional LSP Setup Delay In Section 4, we defined the singleton metric of single unidirectional LSP setup delay. Now we define how to get one particular sample of single unidirectional LSP setup delay. Sampling means to take a number of distinct instances of a skeleton metric under a given set of parameters. As in [RFC2330], we use Poisson sampling as an example. 9.1. Metric Name Single unidirectional LSP setup delay sample 9.2. Metric Parameters o ID0, the ingress LSR ID o ID1, the egress LSR ID o T0, a time o Tf, a time o Lambda, a rate in the reciprocal milliseconds o Th, LSP holding time o Td, the maximum waiting time for successful setup 9.3. Metric Units A sequence of pairs; the elements of each pair are: o T, a time when setup is attempted o dT, either a real number of milliseconds or undefined 9.4. Definition Given T0, Tf, and Lambda, compute a pseudo-random Poisson process beginning at or before T0, with average arrival rate Lambda, and ending at or after Tf. Those time values greater than or equal to T0 and less than or equal to Tf are then selected. At each of the times in this process, we obtain the value of unidirectional LSP setup delay sample. The value of the sample is the sequence made up of the resulting
RFC, FYI, BCP