# Patent

## Title
Application wire

## Abstract

Transferring data over a network includes identifying an application flow and mapping the application flow to a network bound connection.

## Background
CROSS REFERENCE TO OTHER APPLICATIONS
This application is a continuation of U.S. patent application Ser. No. 14/055,721, filed on Oct. 16, 2013, and entitled “Application Wire,” which is a continuation of U.S. patent application Ser. No. 11/543,727, filed Oct. 5, 2006, which claims priority to U.S. Provisional Application No. 60/725,038, filed Oct. 7, 2005 and entitled “Application wire: mapping application streams to pseudo-wires.” The entireties of these related applications are incorporated herein by reference.


BACKGROUND OF THE INVENTION
In recent years, network service providers have been upgrading and managing networks based on Multi Protocol Label Switching (MPLS) technology. MPLS has been deployed in most backbone networks. MPLS provides capabilities such as Quality of Service (QoS), redundancy, Operations Administration and Maintenance (OAM), and Virtual Private Network (VPN). MPLS is typically used to provision and manage data streams at individual flow levels. Each flow is known as a Label Switched Path (LSP). Existing MPLS systems typically handle data traffic at the Layer-3 (IP) level and below.
Some MPLS networks use Pseudowires to map Open System Interconnections (OSI) Layer-1 or Layer-2 traffic flows into “virtual circuits.” A Pseudowire refers to the emulation of a Layer-1 or Layer-2 native service over a network. Examples of native services include Asynchronous Transfer Mode (ATM), Frame Relay, Ethernet Virtual Local Area Network (VLAN), Time Division Multiplexing (TDM), Synchronous Optical Network (SONET), Synchronous Digital Hierarchy (SDH), etc. In the control plane, the Pseudowires are maintained and managed using a simplified version of Label Distribution Protocol (LDP), the Target LDP. Each Pseudowire is associated with an MPLS label for packet forwarding and a control word for flow management.
Since existing MPLS networks only allow Layer-1 or Layer-2 connections to be mapped to Pseudowires in a one-to-one mapping, the system typically cannot guarantee the QoS for individual applications that generate application data in Layer-3 or above. QoS behavior in the application layer is sometimes different from the behavior in Layer-1 or Layer-2. For example, packet video streams can generally tolerate out-of-sequence delivery, and packet voice traffic can sometimes tolerate packet loss but is sensitive to packet delay. Existing Layer-1 and Layer-2 systems, however, typically do not address network-level QoS for these voice and video applications.
Some proposed IP-based models have been developed to address the QoS requirement associated with applications, but some issues remain. For example, the IntServ/RSVP model identifies connections by applications based on the IP addresses of the source and destination, the protocol type, and the protocol's source and destination port number (together known as the 5-tuple). Each connection is required to comply with a number of service parameters such as bandwidth consumption and delay budget. As a result, the intermediate nodes (such as the core routers) are required to store the identity of all the connections, perform deep packet inspection, and implement extensive QoS mechanisms to satisfy the service parameters for each flow. Network service providers tend to find this model limiting because it is not very scalable as the number of users grow.
The DiffServ model addresses the scalability problems associated with the IntServ/RSVP model. Instead of handling QoS on a per flow basis, the user applications are classified into a small number of uniformly defined traffic classes. Each data packet stores its traffic class information in its IP header. At each intermediate node, the packet receives appropriate QoS treatment according to its traffic class. Since DiffServ provides relative QoS, in order to guarantee QoS to a particular flow, the model typically requires the network bandwidth to be over-provisioned. Further, the model only incorporates a subset of available QoS technology, such as priority queuing and Random Early Discard (RED) in dealing with temporary traffic congestion. The model is often not applicable in networks where physical links cannot be sufficiently over-provisioned.
It would be useful to have a way to better manage application traffic over a carrier network without requiring changes to the intermediate nodes. It would also be desirable if QoS guarantee can be achieved at per-application flow level. Furthermore, the solution should to be scalable.



BRIEF DESCRIPTION OF THE DRAWINGS
Various embodiments of the invention are disclosed in the following detailed description and the accompanying drawings.
FIG. 1 is a system diagram illustrating an example of an MPLS based network supporting Pseudowires.
FIG. 2 is a system diagram illustrating an example of a network supporting Application Wires.
FIG. 3 is a flowchart illustrating an embodiment of a process for transferring data.
FIG. 4 is a flowchart illustrating another embodiment of a process for handling ingress data streams.
FIG. 5 is a diagram illustrating the format of a Real Time Protocol (RTP) packet example.
FIG. 6 is a diagram illustrating an example of a Pseudowire encapsulated MPEG-4 packet.
FIG. 7 is a flowchart illustrating an embodiment of a process for handling data traffic in the egress direction.
FIG. 8 is a block diagram illustrating an embodiment of an application flow engine.
FIG. 9 is a diagram illustrating an example of a multicast environment supporting Application Wires.



DETAILED DESCRIPTION
The invention can be implemented in numerous ways, including as a process, an apparatus, a system, a composition of matter, a computer readable medium such as a computer readable storage medium or a computer network wherein program instructions are sent over optical or communication links. In this specification, these implementations, or any other form that the invention may take, may be referred to as techniques. A component such as a processor or a memory described as being configured to perform a task includes both a general component that is temporarily configured to perform the task at a given time or a specific component that is manufactured to perform the task. In general, the order of the steps of disclosed processes may be altered within the scope of the invention.
A detailed description of one or more embodiments of the invention is provided below along with accompanying figures that illustrate the principles of the invention. The invention is described in connection with such embodiments, but the invention is not limited to any embodiment. The scope of the invention is limited only by the claims and the invention encompasses numerous alternatives, modifications and equivalents. Numerous specific details are set forth in the following description in order to provide a thorough understanding of the invention. These details are provided for the purpose of example and the invention may be practiced according to the claims without some or all of these specific details. For the purpose of clarity, technical material that is known in the technical fields related to the invention has not been described in detail so that the invention is not unnecessarily obscured.
Transferring data over a network using Application Wires is disclosed. An Application Wire refers to the emulation of a virtual circuit or a transparent wire for transferring one or multiple application flows. An Application Wire maps one or more application flows into Pseudowires, and is at the same time aware of the application protocol and the protocol requirements associated with the application flows. As used herein, an application flow refers to a set of packets exchanged between two or more devices for accomplishing a specific function. Application flow data includes data associated with Layer-4 or above as defined by the OSI protocol stack. In some embodiments, an application flow includes data packets transmitted and received by an application, such as a Voice over IP (VoIP) session, instant messaging, Video-on-Demand (VoD), etc. The application may be configured to operate on various wired, wireless, or hybrid devices. The interface between the application and the underlying network is provided by protocols such as the Session Initialization Protocol (SIP) and the Real-time Transport Protocol (RTP). From the perspective of the application, transferring data over an Application Wire has the same effect as transferring data over a dedicated wire. As will be shown in more detail below, in some embodiments, Application Wires are formed by mapping application flows to Pseudowires.
FIG. 1 is a system diagram illustrating an example of an MPLS based network supporting Pseudowires. In this example, client devices such as 102 and 104 reside on an edge network and transfer data to an edge device (also referred to as an edge node) 106. The edge node, for example an edge router, supports MPLS and is capable of mapping Layer-1 and Layer-2 data streams into Pseudowires. Each data stream is mapped to a single Pseudowire in a one-to-one mapping. Each packet in the Pseudowire is encapsulated with an MPLS label for forwarding, and includes a control word for flow management. The edge device forwards the packet to a core network that includes core routers such as 108. The core network is compatible with MPLS and IP. The end user traffic flows are mapped to Pseudowires and then fed to the core network. The Pseudowires are maintained throughout the core network. The Pseudowires terminate at edge node 109, which receives the Pseudowire traffic and forwards the packets to their appropriate destinations such as devices 110 and 112. Traffic from devices such as 110 and 112 to devices such as 102 and 104 is processed similarly.
Since the mapping of one data stream to one Pseudowire does not account for the bandwidth demand of individual applications generating traffic on the client devices, it is often difficult to guarantee the quality of service (QoS) for these individual applications. For example, assuming that Pseudowires A and B each support a data rate of 50 Mbps, and that the application executing on device 102 require 70 Mbps of bandwidth while the application on device 104 only requires 20 Mbps. Because of the one-to-one mapping, the bandwidth requirement of device 102 is not met by Pseudowire, even though there is excess capacity on the network overall.
Application Wires improve on the Pseudowire scheme described above. FIG. 2 is a system diagram illustrating an example of a network supporting Application Wires. In this example, client devices 202-206 are configured to communicate with client devices 208-218 in the following manner: device 202 communicates with devices 208, 210, and 212; device 204 with device 214; device 206 with devices 216 and 218. Specifically, one or more applications executing on each client device send data to and receive data from applications executing on other client devices. Application flows a-f are shown between devices 202-206 and 208-218.
At the edge of the core network, edge nodes 220 and 222 are configured to transfer the data streams between a core network (such as a backbone network of a service provider) and the client devices. As used herein, data traffic is said to be in the ingress direction if it is being transferred from client devices to the core network, and in the egress direction if it is being transferred from the core network to clients devices. A data connection that transfers data in the ingress direction is referred to as a network-bound connection. Depending on the direction of the data flow, an edge node may be referred to as an ingress node or an egress node.
As will be shown in more detail below, the edge nodes map the application flows into Pseudowires in the ingress direction. A number of mapping schemes are possible, such as a one-to-one mapping, a distributed mapping where an application flow is mapped to multiple Pseudowires, or an aggregated mapping where multiple flows are mapped to a single Pseudowire. In the example shown, application flows a and b are one-to-one mapped to a separate Pseudowire each, application flow d is distributed to Pseudowires d1 and d2, and application flows e and f are aggregated to a single Pseudowire (e+f). The mapping scheme for each application flow is selected based at least in part on the bandwidth and traffic requirement associated with the application. In the egress direction, packets transferred on the Pseudowires are reassembled to the corresponding application flows and sent to the appropriate destinations. Each Pseudowire may span a plurality of intermediate nodes such as core routers 230 and 232. Unlike data transfer schemes where deep packet inspection is required at each intermediate node, the intermediate nodes used in this example can be standard MPLS devices and no change is required to make them support the Application Wire scheme.
FIG. 3 is a flowchart illustrating an embodiment of a process for transferring data. Process 300 may be implemented on an edge node and can be used to process data streams in the ingress direction. In this example, the process initiates by identifying an application flow associated with a data stream being transferred over the network (302). Depending on the data stream, there may be one or more application flows within the same data stream. The identification may be achieved, for example, by inspecting the headers of the packets in the data stream. Further details of the identification process are discussed below. Once identified, the application flow is mapped to one or more network-bound connections such as Pseudowires (304) in accordance with the requirements of the application, forming one or more Application Wires.
FIG. 4 is a flowchart illustrating another embodiment of a process for handling ingress data streams. Process 400 may be implemented on an edge node. In this example, process 400 initiates when a data packet is received (402). The header information of the received packet is read (404). The header information is used to identify the application flow. For purposes of example, it is assumed that the data stream carries IP data and that the data packet is an IP packet. Other types of data can be processed similarly based on the corresponding header formats. In this example, the IP packet includes a Layer-2 MAC header having fields such as the Ethernet addresses of the source and the destination. The IP packet further includes higher layer headers such as Layer-4 application protocol headers. The combination of various headers is used to identify specific application flows.
It is useful to inspect an example of a packet to understand how the application flow identification is done. FIG. 5 is a diagram illustrating the format of a Real Time Protocol (RTP) packet example. Packet 500 shown in the example is an MPEG-4 packet. It includes a header portion 502 and a payload portion 504. The header portion includes a Layer-3 (IPv4) header 506, and Layer-4 headers which in this case include UDP header 508 and RTP header 510. Several fields from each of the headers are extracted to provide information useful for identifying the application flow, including the IP source address and IP destination address, protocol type (which is UDP in this example), UDP source port, UDP destination port, synchronization source (SSRC) identifier, and contributing source (CSRC) identifier. Some of the fields are optional in some embodiments. Other types of applications such as Voice over IP or instant messaging can be identified using a similar technique, although different headers and fields may be used.
Returning to FIG. 4, the header information associated with the packet is looked up in a database of application flows (406). If the header information is not found in the database, it is determined whether a new application flow can be created based on the header information (407). If so, a new entry that includes information identifying the new application flow is created in the application flow database (408). If a new application flow cannot be created, the packet is discarded and appropriate error handling such as event logging is optionally performed. New application flows are disallowed in some embodiments where the system is configured to only allow pre-configured application flows.
If, however, the header information is found in the database, the packet is mapped to an application flow (410). Admission control is optionally performed on the flow (412). In various embodiments, admission control includes shaping traffic by changing the packets priority, applying a policy/rule, tagging, dropping the packet, etc. If the packet is not dropped by admission control, it is mapped to one or more Pseudowires configured to service the application flow (414). In some embodiments, a database of available Pseudowires is searched to find one or more suitable Pseudowires for carrying the application flow. The mapping is based on, among other things, IP routing or manual configuration.
As previously discussed, the mapping of application flow to Pseudowire may be one-to-one, N-to-one, or one-to-N. One-to-one mapping is the most straightforward. Sometimes multiple application flows are aggregated into a single flow (N-to-one). Aggregation is appropriate when, for example, the application flows are similar and have the same priority level. Sometimes, an application flow is distributed into multiple streams and transferred over the network via multiple Pseudowires (one-to-N). For example, a large flow exceeding a certain data rate threshold may be split into several Pseudowires to better utilize the available bandwidth. The division of the application flow into multiple streams is based at least in part on application-specific parameters. For example, a large RTP stream is sometimes split based on SSRC or payload frame type. In one example, an application flow involves a large RTP stream having a large amount of MPEG traffic over a network without any per flow QoS guarantee. To reduce the impact of dropped packets, the more important packets such as M-frames in the application flow are separated from the rest. The important packets are mapped to a Pseudowire with a higher priority level. The rest of the packets are mapped to one or more lower priority Pseudowires.
Returning to FIG. 4, once the appropriate Pseudowire for sending the packet is determined, the packet is encapsulated with a Pseudowire header (416) and sent to the core MPLS/IP network (418). FIG. 6 is a diagram illustrating an example of a Pseudowire encapsulated MPEG-4 packet. In this example, a Pseudowire header 602 is pre-pended to packet 600. The Pseudowire header includes packet label information, which has the same format as the of an MPLS packet. In addition to the label information, several other fields are updated to provide information useful for the Application Wire. The sequence number field is used to keep packets in the application flow in the correct order. Ingress packets are assigned sequence numbers in the order they are received by the edge node. The EXP field is used to store service differentiation information such as priority level. The differentiation information is encoded according to the Internet Engineering Task Force (IETF)'s Request For Comments (RFC) 3270. The differentiation information, which is derived based on the service parameters associated with the application flow, gives service providers greater control over service quality for individual flows. In some embodiments, the reserved field in the control word is used for functions such as OAM (e.g. the VCCV function), service guarantee, protection, and flow control.
Since the resulting packet is an MPLS formatted packet, it can be processed by any intermediate nodes on the network (e.g. network routers and switches as) a regular MPLS packet. So long as the intermediate node is a standard MPLS enabled device, no modification is required of the device for processing an Application Wire related packet.
FIG. 7 is a flowchart illustrating an embodiment of a process for handling data traffic in the egress direction. Process 700 may be implemented on an edge node on the termination end of a Pseudowire. In this example, process 700 initiates when a packet is received on a Pseudowire (702). The application flow that corresponds to the Pseudowire is identified (704). In some embodiments, the identification is accomplished by looking up in a database that maps Pseudowires to application flows. In the event that the Pseudowire is configured to carry more than one application flow, the packet header is further inspected to locate the matching application flow.
Since it is possible for packets sent on different Pseudowires to arrive out of order, the packets are re-sequenced as appropriate (706). In some embodiments, the re-sequencing includes re-sequencing at the Pseudowire level. The sequence number field in the Pseudowire header is examined and used to sort the packets in the appropriate sequence. In some embodiments, the re-sequencing includes an application flow level re-sequencing. Application header and/or payload information is used to sort packets belonging to the same application flow in the appropriate order. For example, the SSRC and the sequence numbers in the RTP header, as well as the payload data are used in some embodiments to re-sequence an RTP flow. Once re-sequenced, the Pseudowire header of the packet is removed and the packet is forwarded to its destination (708).
In some embodiments, processes 300, 400 and 700 are carried out by an application flow engine (AFE). FIG. 8 is a block diagram illustrating an embodiment of an application flow engine. In this example, AFE 800 is included in an edge node device. The components of the AFE may be implemented as software, firmware, hardware or a combination thereof. The AFE is configured to send data streams from the client devices to the core network as well as to receive data streams from the network designated for client devices on the edge network.
When handling ingress data streams, the AFE identifies and maps application flows in the data streams to a plurality of Pseudowires. The application flows are denoted as F={f1, f2, . . . fn} and the Pseudowires are denoted as W={w1, w2, . . . wm}. An application flow identifier 806 identifies new application flows in the data stream, and stores information associated with the application flows in a database labeled as an application flow table (AFT) 802. The AFT is also used to identify data packets that match application flows already stored in the AFT. Information stored in the AFT includes, among other things, flow identification information and service parameters. The flow identification information includes attributes used to identify the specific application flow and may vary depending on the application. For example, for an RTP-based application flow, the corresponding IP source and destination addresses, UDP protocol type, UDP source and destination port number, SSRC and CSRC are recorded in the AFT. Examples of the service parameters include various measured or assigned characteristics, such as the average and peak bandwidth of the flow, the burst size, the importance level of the flow (for example, emergency 911 traffic is assigned the highest importance and can preempt other flows at runtime), sub-flow information such as the bandwidth and importance levels associated with different sources, as well as other application dependent information such as whether to allow out-of-sequence packets in the flow. In some embodiments, at least a part of the AFT is populated ahead of time by the service provider. For example, the service parameters may be manually configured or populated using a configuration file when the system is initialized. Having a pre-populated AFT allows the service providers to offer different levels of services, and/or provide QoS guarantee based on subscription.
In FIG. 8, a mapper 808 maps incoming data packets to appropriate application flows if possible, and optionally performs admission control functions on the data flows. The mapper also maps each application flow to one or more Pseudowires based on information stored in a Pseudowire table (PWT) 804. A Pseudowire filter 810 encapsulates the packets with Pseudowire headers. The encapsulated packets are sent to the core network.
In some embodiments, the PWT maintains the network-bound Pseudowires, W={w1, w2, . . . wm}. For each Pseudowire, wj, the following attributes are stored in one example: MPLS label for in packet encapsulation, QoS information indicating the level of QoS to be applied to the Pseudowire, Protection Path information identifying one or more backup Pseudowires used to protect this Pseudowire, OAM capability information used for error detection and loop-back, Multicast grouping information such as group ID used to transport multicast traffic over the MPLS/IP network.
When handling egress data streams, a process similar to 700 is carried out by the AFE. The PWT is used to look up the application flows that correspond to the packets received on various Pseudowires. The mapper re-sequences the packets, removes the Pseudowire headers, and forwards the packets to the destination.
The Application Wire techniques described above are also applicable for environments in which multimedia streams are multicasted to multiple sites in the network. To support multicast over Application Wires, a fully-meshed Pseudowire network for each multicast group is set up. Various mechanisms for supporting Pseudowire based multicast can be used, including Virtual Private LAN Service (VPLS) and IP LAN Service (IPLS).
FIG. 9 is a diagram illustrating an example of a multicast environment supporting Application Wires. In the example shown, application flow mapping is performed at any given network edge node, and a copy of the data packet is forwarded to all the other edge nodes in the group. In some embodiments, a packet is transmitted following these steps: for an application flow, fiG, that belongs to a multicast group, G, the PWT is searched and the adjacencies (i.e., the other edge nodes of the group denoted as AkG, Ak+1G . . . ) are obtained. A copy of the data packet is sent to each adjacency. Between a pair of edge nodes (i.e., one adjacency), there may be multiple Pseudowires, AkG={wjG, wj+1G . . . }. As described above, an application flow may be split among the Pseudowires, according to application-specific parameters.
On an egress network edge node, the Pseudowire headers of the packets are removed, the packets are reassembled and/or re-sequenced as necessary, and forwarded to the destination. Any IP or Layer-2 multicast scheme may be used to forward the packets to a destination beyond the network edge nodes.
An Application Wire based data transfer technique has been described. The technique gives service providers greater flexibility in providing services based on applications, without requiring changes to intermediate devices.
Although the foregoing embodiments have been described in some detail for purposes of clarity of understanding, the invention is not limited to the details provided. There are many alternative ways of implementing the invention. The disclosed embodiments are illustrative and not restrictive.

## Claims

1. A method, comprising:
identifying, by a multiprotocol label switching system network comprising at least one processor, a first subset of data packets having a defined priority based on a diffserv service differentiation parameter associated with an application flow;
assigning, by the system, the first subset of the data packets to a first data stream packet label indicating a first application flow;
assigning, by the system, a second subset of the data packets that excludes the first subset of the data packets to a second data stream packet label indicating a second application flow;
encapsulating, by the system, a first data packet of the first data stream and first application flow label with a first pseudowire header that includes a separate packet label associated with a first pseudowire; and
encapsulating, by the system, a second data packet of the second data stream and second application flow label with a second pseudowire header that includes a separate packet label associated with a second pseudowire.

2. The method of claim 1, wherein the assigning the first subset and the assigning the second subset comprises assigning the first subset and assigning the second subset in response to determining that the data packets exceed an available data rate of the first pseudowire.

3. The method of claim 1, further comprising:
in response to determining that a first priority of the first pseudowire is higher than a second priority of the second pseudowire, mapping, by the system, the first data stream to the first pseudowire.

4. The method of claim 1, further comprising identifying, by the system, the application flow based on header information associated with at least one of the data packets.

5. The method of claim 4, further comprising mapping, by the system, the at least one of the data packets to the application flow based on the header information.

6. The method of claim 4, further comprising determining, by the system, the parameter based on the application flow.

7. The method of claim 1, further comprising setting, by the system, at least one of a packet label field, a sequence number field, a service differentiation field, a service guarantee field, or a flow control field in at least one of the first pseudowire header or the second pseudowire header.

8. A device within a multiprotocol label switching network, comprising:
a memory that stores executable instructions; and
a processor, communicatively coupled to the memory, that executes or facilitates execution of the executable instructions to at least:
determine a first subset of data packets that have a defined priority based on a diffserv service differentiation parameter associated with an application flow;
assign the first subset of the data packets to a first data stream packet label;
assign a second subset of the data packets that excludes the first subset of the data packets to a second data stream packet label;
encapsulate a first data packet of the first data stream and first application flow label with a first pseudowire header that includes a separate packet label corresponding to a first pseudowire; and
encapsulate a second data packet of the second data stream and second application flow label with a second pseudowire header that includes a separate packet label corresponding to a second pseudowire.

9. The device of claim 8, wherein the processor further executes or facilitates the execution of the computer-executable instructions to assign the first subset of the data packets to the first data stream and assign the second subset of the data packets to the second data stream in response to a determination that a data flow of the data packets exceeds a defined data rate of the first pseudowire.

10. The device of claim 8, wherein the processor further executes or facilitates the execution of the computer-executable instructions to:
compare a first priority associated with the first pseudowire with a second priority associated with the second pseudowire; and
assign the first data stream to the first pseudowire based on a determination that the first priority exceeds the second priority.

11. The device of claim 8, wherein the processor further executes or facilitates the execution of the computer-executable instructions to identify the application flow based on header information read from at least one of the data packets.

12. The device of claim 11, wherein the processor further executes or facilitates the execution of the computer-executable instructions to assign the at least one of the data packets to the application flow based on the header information.

13. The device of claim 11, wherein the processor further executes or facilitates the execution of the computer-executable instructions to determine the parameter based on identification of the application flow.

14. The device of claim 8, wherein at least one of the first pseudowire header or the second pseudowire header comprises at least one of a packet label field, a sequence number field, a service differentiation field, a service guarantee field, or a flow control field.

15. A computer-readable storage device within a multiprotocol label switching network having stored thereon computer-executable instructions that, in response to execution, cause a device comprising a processor to perform operations, comprising:
identifying a first subset of data packets having a defined priority based on a diffserv service differentiation parameter associated with an application flow;
assigning the first subset of the data packets to a first data stream packet label;
assigning a second subset of the data packets excluding the first subset to a second data stream packet label;
encapsulating a first data packet of the first data stream and first application flow label with a first pseudowire header that includes a separate packet label corresponding to a first pseudowire; and
encapsulating a second data packet of the second data stream and second application flow label with a second pseudowire header that includes a separate packet label corresponding to a second pseudowire.

16. The computer-readable storage device of claim 15, the operations further comprising determining that a data rate of the data packets exceeds an available data rate of the first pseudowire,
wherein the assigning the first subset and the assigning the second subset comprises assigning the first subset and assigning the second subset in response to the determining.

17. The computer-readable storage device of claim 15, the operations further comprising:
determining that a first priority assigned to the first pseudowire exceeds a second priority assigned to the second pseudowire; and
mapping the first data stream to the first pseudowire in response to the determining.