Embodiments of the invention relate to the field of computer networking; and more specifically, to Open Shortest Path First (OSPF) extensions for flexible path stitching and selection for traffic transiting Segment Routing and Multiprotocol Label Switching (MPLS) networks.
A Segment Routing (SR) node steers a packet through a controlled set of instructions, called segments, by prepending the packet with an SR header. A segment can represent any instruction, topological or service-based. SR allows a flow to be enforced through any topological path and service chain while maintaining per-flow state only at the ingress node to the SR domain.
The Segment Routing architecture can be directly applied to the MPLS data plane with no change in the forwarding plane. An Internet Engineering Task Force (IETF) Internet-draft (“Segment Routing interoperability with LDP,” “draft-ietf-spring-segment-routing-ldp-interop-00,” dated Oct. 14, 2015) describes how Segment Routing can operate in a network where Label Distribution Protocol (LDP) is deployed and in the case where SR-capable and non-SR-capable nodes coexist.
One technique for interoperating a SR domain and a LDP domain utilizes a functionality referred to as a mapping server. A mapping server can be configured to advertise mapping information that is only understood by SR-capable routers, and cause the SR-capable routers to install the related node segments in the MPLS data plane exactly like if the node segments had been advertised by the nodes themselves.
A method in a device implementing a router network element is described. The router network element is part of a network including a SR network portion and a MPLS network portion. The router network element is part of both the SR network portion and the MPLS network portion, and the network also utilizes an Interior Gateway Protocol (IGP) for exchanging routing information. The method includes receiving, at the router network element, an IGP advertisement message originated by a mapping server. The IGP is Open Shortest Path First (OSPF). The IGP advertisement message includes a sub-Type-length-value (sub-TLV) element that identifies a preferred type of path across the MPLS network portion for an identifiable set of traffic that is to be received from the SR network portion. The method further includes identifying, by the router network element based at least in part upon the sub-TLV element, one path of a plurality of available paths across the MPLS network portion for the identifiable set of traffic. The method also includes configuring, by the router network element, a forwarding plane of the router network element to utilize the identified one path to forward any received traffic from the SR network portion that can be determined to belong to the identifiable set of traffic.
In some embodiments, the method further includes receiving, at the router network element from another network element operating in the SR network portion but not in the MPLS network portion, one or more packets that belong to the identifiable set of traffic, and transmitting, by the router network element, the one or more packets according to the identified one path over the MPLS network portion.
In some embodiments, the preferred type of path comprises an RSVP tunnel, a static MPLS path, or a labeled Border Gateway Protocol (BGP) path.
In some embodiments, the sub-TLV element is carried by an OSPF Extended Prefix Range TLV. In some embodiments, the sub-TLV includes a Segment Identifier (SID) value that identifies the preferred type of path but does not uniquely identify a specific path, and the identifying the one path is based upon the SID value.
In some embodiments, the sub-TLV includes a LSP (Label-switched path) value and a tunnel identifier (ID) value, the sub-TLV identifies a specific path across the MPLS network portion, and the identifying the one path is based upon the LSP value and the tunnel ID value.
A non-transitory computer-readable storage medium has instructions which, when executed by one or more processors of an electronic device, cause the electronic device to implement a router network element that performs operations and that is to be part of a network including a SR network portion and a MPLS network portion. The router network element is to be part of (e.g., operate within) both the SR network portion and the MPLS network portion. The network also utilizes an IGP for exchanging routing information. The IGP is OSPF. The operations include receiving an IGP advertisement message originated by a mapping server. The IGP advertisement message includes a sub-TLV element that identifies a preferred type of path across the MPLS network portion for an identifiable set of traffic that is to be received from the SR network portion. The operations also include identifying, based at least in part upon the sub-TLV element, one path of a plurality of available paths across the MPLS network portion for the identifiable set of traffic. The operations also include configuring a forwarding plane of the router network element to utilize the identified one path to forward any received traffic from the SR network portion that can be determined to belong to the identifiable set of traffic.
A device includes one or more processors and a non-transitory computer-readable storage medium. The non-transitory computer-readable storage medium has instructions which, when executed by the one or more processors, cause the device to implement a router network element that performs operations and that is to be part of a network including a SR network portion and a MPLS network portion. The router network element is to be part of (e.g., operate within) both the SR network portion and the MPLS network portion. The network also utilizes an IGP for exchanging routing information. The IGP is OSPF. The operations include receiving an IGP advertisement message originated by a mapping server. The IGP advertisement message includes a sub-TLV element that identifies a preferred type of path across the MPLS network portion for an identifiable set of traffic that is to be received from the SR network portion. The operations also include identifying, based at least in part upon the sub-TLV element, one path of a plurality of available paths across the MPLS network portion for the identifiable set of traffic. The operations also include configuring a forwarding plane of the router network element to utilize the identified one path to forward any received traffic from the SR network portion that can be determined to belong to the identifiable set of traffic.
The invention may best be understood by referring to the following description and accompanying drawings that are used to illustrate embodiments of the invention. In the drawings:
In the following description, numerous specific details such as logic implementations, opcodes, means to specify operands, resource partitioning/sharing/duplication implementations, types and interrelationships of system components, and logic partitioning/integration choices are set forth in order to provide a more thorough understanding of the present invention. It will be appreciated, however, by one skilled in the art that the invention may be practiced without such specific details. In other instances, control structures, gate level circuits and full software instruction sequences have not been shown in detail in order not to obscure the invention. Those of ordinary skill in the art, with the included descriptions, will be able to implement appropriate functionality without undue experimentation.
References in the specification to “one embodiment,” “an embodiment,” “an example embodiment,” etc., indicate that the embodiment described may include a particular feature, structure, or characteristic, but every embodiment may not necessarily include the particular feature, structure, or characteristic. Moreover, such phrases are not necessarily referring to the same embodiment. Further, when a particular feature, structure, or characteristic is described in connection with an embodiment, it is submitted that it is within the knowledge of one skilled in the art to affect such feature, structure, or characteristic in connection with other embodiments whether or not explicitly described.
Bracketed text and blocks with dashed borders (e.g., large dashes, small dashes, dot-dash, and dots) may be used herein to illustrate optional operations that add additional features to some embodiments. However, such notation should not be taken to mean that these are the only options or optional operations, and/or that blocks with solid borders are not optional in certain embodiments.
In the following description and claims, the terms “coupled” and “connected,” along with their derivatives, may be used. It should be understood that these terms are not intended as synonyms for each other. “Coupled” is used to indicate that two or more elements, which may or may not be in direct physical or electrical contact with each other, co-operate or interact with each other. “Connected” is used to indicate the establishment of communication between two or more elements that are coupled with each other.
As indicated in the background, techniques exist to interoperate SR domains and LDP domains in an area through what is referred to as a mapping server functionality, which is described in IETF Internet-Draft “Segment Routing interoperability with LDP” (draft-ietf-spring-segment-routing-ldp-interop-00), dated Oct. 14, 2015.
Mapping server prefixes advertised through mapping server Segment Identifiers (SIDs)—e.g., Extended Prefix Range TLVs in OSPF—represent the label information of non-SR nodes in an area/domain. This enables the “stitching” of SR labels to LDP labels at a border node where both SR and LDP are supported and provisioned.
However, mapping server prefixes are only described for providing interoperability between SR and LDP network portions. This creates a problem in real world contexts as the border node may have other MPLS clients (i.e., other than LDP) provisioned, such as Static MPLS, labeled BGP/bgp-3107, RSVP, etc. As there is no definitive mechanism defined for anything other than LDP to handle the mapping server prefixes, different border nodes might not be able to stitch a SR path to a particular MPLS path even though it is available for use. Moreover, there is no mechanism to indicate, by an operator, the preference of which MPLS path (or type of MPLS path) that is to be stitched at the border node through currently-defined mapping server SR extensions.
Accordingly, the following description describes techniques for enabling flexible path stitching and selection for traffic transiting Segment Routing and MPLS networks. In some embodiments, a path type preference can be indicated within an IGP advertisement, such as an OSPF or Intermediate System to Intermediate System (IS-IS) message. The path type preference, upon receipt by a network element acting within both a Segment Routing (SR) network portion and a MPLS network portion, can use the path type preference to select a path that adheres to the path type preference when determining a path through the MPLS network portion for traffic received from the SR network portion. Accordingly, a path preference can be accommodated to appropriately “stitch” together paths between SR and MPLS networks.
In some embodiments, the path type preference can identify a type of path or tunnel through the MPLS network, such as by indicating a preference for a Resource Reservation Protocol (RSVP) path, static MPLS path, labeled BGP path, etc.
In some embodiments, the path type preference can be provided by a mapping server utilized in the SR network portion, and can enable operators to exercise their preferences for traffic flowing between the MPLS network portion and the SR network portion. Accordingly, in some embodiments the interoperability between SR enabled network portions and traditional MPLS network portions (e.g., using RSVP, Labeled BGP, static MPLS labels, etc.) can be enhanced using IGP extensions together with the mapping server functionality of the segment routing architecture. Further, in some embodiments no backward compatibility issues result when compared to existing ways of doing stitching with LDP networks.
In some embodiments a new sub-TLV is utilized. The sub-TLV can be for the mapping server TLV in OSPF SR extensions (IETF Internet-Draft “OSPF Extensions for Segment Routing” (draft-ietf-ospf-segment-routing-extensions-05)), or can be for the mapping server TLV defined in IS-IS SR extensions (IETF Internet-Draft “IS-IS Extensions for Segment Routing” (draft-ietf-isis-segment-routing-extensions-06)). The new sub-TLV can provide a preference (if any) to choose a particular MPLS path to be provisioned while provisioning the mapping server prefixes in SR domain. This can allow a maintaining of requirements (e.g., from a Service Level Agreement (SLA)) such as bandwidth and/or delay on end-to-end paths for particular transport tunnels for a particular destination.
Accordingly, some embodiments can enable partial deployment of SR seamlessly in an existing MPLS network without any interoperability issues in a multi-vendor deployment environment, and can enable operators to maintain SLA network performance guarantees for certain prefixes.
In this example, we assume that an end-to-end Virtual Private Network (VPN) service (L3/L2) is to be established between edge router ‘A’ 102A and edge router ‘B’ 102B. As illustrated, only part of the network is SR enabled 120—edge router ‘A’ 102A, edge router ‘C’ 102C, core routers ‘1’-‘4’ 104A-104D. Additionally, a different part of the network has “traditional” LDP/RSVP provisioned—core routers ‘3’-‘5’ 104C-104E and edge router ‘B’ 102B—i.e., is a MPLS network 130. Thus, both core router ‘3’ 104C and core router ‘4’ 104D are capable of both SR and LDP/RSVP.
We also assume that two paths 108A-108B of a first type (e.g., LDP tunnel) are provisioned from the SR network 112 to the edge router ‘B’ 102B of the MPLS network 130, and that one path 110 of a second type (e.g., RSVP tunnel) is provisioned from the SR network 112 to the edge router ‘B’ 102B of the MPLS network 130.
In this illustrated example, core router ‘2’ 104B is provisioned to function as a mapping server, and thus to advertise SR node SIDs (also referred to as “labels”) for core router ‘5’ 104E and edge router ‘B’ 102B in the single IGP area 140 (e.g., an OSPF domain, which all nodes participate in) as these network elements do not support SR.
First we describe the case where a service label from edge router ‘B’ 102B is learned by edge router ‘A’ 102A. To pass traffic from edge router ‘A’ 102A to edge router ‘B’ 102B, the first phase includes use of a SR path from edge router ‘A’ 102A until core router ‘3’ 104C. For example, at edge router ‘A’ 102A, a next-hop for edge router ‘B’ 102B could be core router ‘1’ 104A, i.e., node index of edge router ‘B’ 102B +the SRGB (Segment Routing Global Block) of core router ‘1’ 104A.
When core router ‘3’ 104C receives the binding (through binding SID as defined in the SR OSPF extensions), it has possibility to stitch the outgoing path towards edge router ‘B’ 102B with both a LDP label and RSVP label available in its forwarding path.
However, mapping server TLVs (OSPF extended range defined in OSPF extensions) are for LDP stitching, and thus SR path would be stitched to a LDP path. According to some embodiments using the extensions detailed here, it is possible to specify a preference by the operator in terms of the selected path—for example, it can say “prefer RSVP” (e.g., and thus, type 2 path 110) in the Mapping Server SID sub-TLV and core router ‘3’ 104C can thus stitch the incoming SR path to a RSVP tunnel (e.g., type 2 path 110).
When core router ‘4’ 104D receives the binding SID for edge router ‘B’ 102B, and as the only MPLS path available at core router ‘4’ 104D is an LDP path (e.g., type 1 path 108A), a SR path would be stitched to LDP. Thus, a preference of “prefer RSVP” as described herein would not have any effect. A similar case results at edge router ‘A’ 102A, as no non-SR LSP path available for destination Forwarding Equivalence Class (FEC) edge router ‘B’ 102B exists.
Next, we describe the case where a service label from edge router ‘A’ 102A is learned by edge router ‘B’ 102B. At core router ‘3’ 104C (which operates in both the SR network portion 120 and MPLS network portion 130), there won't be any LDP or RSVP binding available for edge router ‘A’ 102A from its neighbor core router ‘1’ 104A. However, both LDP and RSVP “in-labels” towards edge router ‘A’ 102A can be stitched to the shortest path next-hop towards edge router ‘A’ 102A with SR SID/label advertised by edge router ‘A’ 102A (which is available at core router ‘3’ 104C).
At core router ‘4’ 104D, a LDP binding is not available towards edge router ‘A’ 102A from neighbor edge router ‘C’ 102C, but a SR node segment would be available for edge router ‘A’ 102A and would be used to stitch the LDP to SR path.
The above description (with regard to SR to RSVP mapping) equally applies if a statically-provisioned MPLS path is available, for example, at core router ‘4’ 104D.
In seamless MPLS scenarios, stitching from a SR path to labeled BGP (iBGP+label) can happen at an Area Border Router (ABR). Thus, if the mapping server 106 advertises these prefixes with SR labels, these can be mapped to labeled BGP at the ABR.
The non-specific preference sub-TLV element 200, when advertised in IGPs when multiple mapping servers are provisioned in an IGP area, all mapping servers advertise the same type of “preference” for a prefix, which is no different than previously-existing restrictions on the label value (i.e., it must be the same) when advertised from multiple mapping servers.
The non-specific preference sub-TLV element 200 includes a type 202, length 204, and a SID stitching preference 206. The type 202 can be a value that uniquely identifies the non-specific preference sub-TLV element 200 as being a non-specific preference sub-TLV element, and thus can be set by a standards body, etc. In some embodiments (e.g., in OSPF embodiments), the type 202 may be 2 bytes in size, though in other embodiments (e.g., in IS-IS embodiments), the type 202 may be 1 byte in size.
The non-specific preference sub-TLV element 200 also includes a length 204 value, which identifies a size of the “value” carried by the TLV—here, the SID stitching preference 206. In some embodiments (e.g., in OSPF embodiments), the length 204 may be 2 bytes in size, though in other embodiments (e.g., in IS-IS embodiments), the length 204 may be 1 byte in size.
The non-specific preference sub-TLV element 200 also includes the SID stitching preference 206, which in some embodiments is 2 bytes in size. The SID stitching preference 206 in a non-specific preference sub-TLV element 200 includes a value that can generically identify a type of path to be used, and thus in some embodiments does not identify a particular path itself. In the depicted embodiment, the value 208 of the SID stitching preference 206 can be as follows:
Of course, these values and particular preferences are merely exemplary and are used in one embodiment, and many different values and preferences can be utilized in different embodiments.
Thus, by utilizing these sub-TLV elements 250 and 275, the mapping server can specify a particular LSP name and override the general preference described above for a particular destination. Multiple of these can be present in a system, but cannot have any duplication.
In the illustrated embodiment, the specific preference sub-TLV element for OSPF 250 includes a 2 byte type 202, a 2 byte length 204, a 2 byte SID stitching preference 206, a 4 byte destination router ID 252, a 2 byte LSP ID 254, and a 2 byte tunnel ID 256. In this embodiment, the destination router ID 252 can include 4 octets of the OSPF router-id for the destination, and the LSP ID 254 can include the 16-bit “LSP ID” identifier defined in IETF Request for Comments (RFC) 3209 (entitled “RSVP-TE: Extensions to RSVP for LSP Tunnels”), Section 4.6.2.1 for the “LSP_TUNNEL_IPv4 Sender Template Object.” In some embodiments, a value of 0 is used when the LSP is not yet signaled.
Similarly, in some embodiments, the tunnel ID 256 can include the 16-bit “Tunnel ID” value defined in IETF RFC 3209, Section 4.6.1.1 for the “LSP_TUNNEL_IPv4 Session Object,” which can remain constant over the lifetime of a tunnel.
Similarly, in a network utilizing IS-IS, the specific preference sub-TLV for IS-IS 275 can be utilized. The specific preference sub-TLV for IS-IS 275 includes a 1 byte type 202, a 1 byte length 204, a 2 byte SID stitching preference 206, a 6 byte destination system ID 277, a 2 byte LSP ID 254, and a 2 byte tunnel ID 256. Again, the type 202 can be a unique identifier that signifies that the sub-TLV is indeed a specific preference sub-TLV for IS-IS 275, and the length 204 and SID stitching preference 206 can be similar as described above. The destination system ID 277 can include, for example, 6 octets of IS-IS System-ID of length “ID Length,” as defined in [International ISO/IEC STANDARD 10589, or “ISO 10589”]. Similarly, the LSP ID 254 can include the 16-bit “LSP ID” identifier defined in IETF RFC 3209, Section 4.6.2.1, for the “LSP_TUNNEL_IPv4 Sender Template Object,” and a value of 0 is used if the LSP is not yet signaled. Additionally, the tunnel ID 256 can include the 16-bit “Tunnel ID” identifier defined in IETF RFC 3209, Section 4.6.1.1, for the “LSP_TUNNEL_IPv4 Session Object,” where the tunnel ID can remain constant over the lifetime of a tunnel.
In some embodiments, the use of this additional specific sub-TLV 250/275 allows an operator to specify stitching preference for a particular border node and a particular LSP type as represented. This can be specifically useful to override the general preference and can be signaled through a controller depending on the dynamic characteristics of an LSP present at a particular node during run time.
Although not illustrated herein, for OSPFv3 these sub-TLVs can be carried by the OSPFv3 Extended Prefix Range TLV, as defined in IETF draft “draft-ietf-ospf-ospfv3-segment-routing-extensions-04”. For OSPFv3, Extended Prefix Range TLV is a new top level TLV of the following LSAs defined in IETF Internet Draft “ietf-ospf-ospfv3-1sa-extend”. Notably, the inclusion of the non-specific preference sub-TLV element 200 or the specific preference sub-TLV element for OSPF 250 can be optional, and when it is not present, the corresponding mapping server prefix can instead be used for LDP.
For example, the first flow 500 includes operations that can be performed by a router network element (e.g., core router ‘3’ 104C of
The flow 500 includes, at block 505, receiving (e.g., at a router coupled with a SR network portion and an MPLS network portion) an IGP advertisement message originated by a mapping server. The IGP advertisement message includes a sub-TLV that identifies a preferred type of path across the MPLS network portion for an identifiable set of traffic received from the SR network portion. In some embodiments, the IGP advertisement message comprises an OSPF or IS-IS message (e.g., an OSPFv2 or OSPFv3 LSA, IS-IS TLV such as TLV type 149 or 150, etc.). In some embodiments, the sub-TLV comprises the non-specific preference sub-TLV element 200, the specific preference sub-TLV element for OSPF 250, or the specific preference sub-TLV element for IS-IS 275 of
The flow 500 also includes, at block 510, identifying, based upon the preferred type of path identified by the sub-TLV, one path of a plurality of available paths across the MPLS network portion for the identifiable set of traffic. In some embodiments, block 510 includes identifying a preferred type of path from a SID stitching preference 206, and determining whether a path exists to the destination that is of that same type. In some embodiments, one path that exists that is of that same type is thus identified as the path to be across the MPLS network portion for the identifiable set of traffic. In some embodiments, upon a determination that no such path exists having a same type as the preferred type of path, another type of path is identified.
At block 515, the flow 500 includes configuring the forwarding plane of the router to utilize the identified one path to forward any received traffic from the SR network portion that belongs to the identifiable set of traffic. Block 515 can include installing or otherwise modifying forwarding/flow table entries in one or more line cards, for example, of the forwarding plane. In other embodiments, block 515 can include other operations known to those of skill in the art for enabling traffic forwarding, including but not limited to modifying forwarding/flow table entries stored in a memory for use by a software router, etc.
Optionally, as indicated by the dashed border of block 520, the flow 500 also includes receiving one or more packets of traffic from the SR network portion belonging to the identifiable set of traffic. Optionally, as indicated by the dashed border of block 525, the flow 500 includes transmitting the one or more packets according to the identified one path over the MPLS network portion, which can include transmitting the one or more packets using a physical network interface (e.g., of a line card), virtual network interface (e.g., between two software router network elements implemented by a same computing device), etc.
The second flow 550 illustrated by
The illustrated flow 550, at block 555, includes receiving a preference data identifying a preferred type of path across a MPLS network for an identifiable set of traffic. The preferred type of path can be an RSVP tunnel, a static MPLS path, or a labeled BGP path. Of course, in other embodiments, more, fewer, and/or different types of paths can be utilized.
The illustrated flow 550, at block 560, includes transmitting an IGP advertisement message including a sub-TLV that identifies the preferred type of path across the MPLS network. In some embodiments, the IGP advertisement message comprises an OSPF or IS-IS message (e.g., an OSPFv2 or OSPFv3 LSA, IS-IS TLV such as TLV type 149 or 150, etc.). In some embodiments, the sub-TLV comprises the non-specific preference sub-TLV element 200, the specific preference sub-TLV element for OSPF 250, or the specific preference sub-TLV element for IS-IS 275 of
It is not strictly necessary that each module depicted herein be implemented as physically separate units. Some or all modules may be combined in a physical unit. Also, the modules need not be implemented strictly in hardware. It is envisioned that the units may be implemented through a combination of hardware and software. For example, the electronic device 570 may include one or more central processing units executing program instructions stored in a non-transitory storage medium or in firmware to perform the functions of the modules.
The electronic device 570 can implement a core router 104C and include a receiving module 754, identification module 574, and/or configuration module 576.
The receiving module 572 can be adapted to receive an IGP advertisement message (e.g., an OSPF advertisement message) originated by a mapping server. The IGP advertisement message (e.g., OSPF advertisement message) includes a sub-TLV, where the sub-TLV identifies a preferred type of path across an MPLS network portion for an identifiable set of traffic received from a segment routing network portion. In some embodiments, the preferred type of path is an RSVP tunnel, a static MPLS path, or a labeled BGP path. In some embodiments, the receiving module 572 can perform block 505 of flow 500 of
The identification module 574 can be adapted to identify, based upon the preferred type of path identified by the sub-TLV, one path of a plurality of available paths across the MPLS network portion for the identifiable set of traffic. In some embodiments, the identification module 574 can perform block 510 of flow 500 of
The configuration module 576 can be adapted to configure the forwarding plane of the core router to utilize the identified one path to forward any received traffic from the segment routing network portion that belongs to the identifiable set of traffic. In some embodiments, the configuration module 576 can perform block 515 of flow 500 of
In some embodiments, the electronic device 570 can include other non-illustrated modules, such as one or modules to perform blocks 520 and/or 525 of flow 500 of
It is not strictly necessary that each module depicted herein be implemented as physically separate units. Some or all modules may be combined in a physical unit. Also, the modules need not be implemented strictly in hardware. It is envisioned that the units may be implemented through a combination of hardware and software. For example, the electronic device 580 may include one or more central processing units executing program instructions stored in a non-transitory storage medium or in firmware to perform the functions of the modules.
The electronic device 580 can implement a mapping server 106 and include a receiving module 582 and/or transmission module 584.
The receiving module 582 can be adapted to receive a preference data identifying a preferred type of path across a MPLS network for an identifiable set of traffic, where the preferred type of path is an RSVP tunnel, a static MPLS path, or a labeled BGP path. In some embodiments, the receiving module 582 can perform block 555 of flow 550 of
The transmission module 584 can be adapted to transmit an IGP advertisement message (e.g., an OSPF advertisement message) including a sub-TLV, where the sub-TLV identifies the preferred type of path across the MPLS network. In some embodiments, the transmission module 584 can perform block 560 of flow 550 of
In some embodiments, the electronic device 580 can include other non-illustrated modules to perform other operations disclosed herein. Thus, the depicted embodiment is illustrative and not limiting.
As described herein, some embodiments utilize electronic devices. An electronic device can store and/or transmit (internally and/or with other electronic devices over a network) code (which is composed of software instructions and which is sometimes referred to as computer program code or a computer program) and/or data using machine-readable media (also called computer-readable media), such as machine-readable storage media (e.g., magnetic disks, optical disks, read only memory (ROM), flash memory devices, phase change memory) and machine-readable transmission media (also called a carrier) (e.g., electrical, optical, radio, acoustical or other form of propagated signals—such as carrier waves, infrared signals). Thus, many electronic devices (e.g., a computer or “computing device”) can include hardware and software, such as a set of one or more processors coupled to one or more machine-readable storage media to store code for execution on the set of processors and/or to store data.
For example, an electronic device can include non-volatile memory containing code, as non-volatile memory can persist code/data even when the electronic device is turned off (when power is removed). While the electronic device is turned on, that part of the code that is to be executed by the processor(s) of that electronic device is typically copied from the slower non-volatile memory into volatile memory (e.g., dynamic random access memory (DRAM), static random access memory (SRAM)) of that electronic device. Many electronic devices also include a set or one or more physical network interface(s) to establish network connections (to transmit and/or receive code and/or data using propagating signals) or otherwise communicate with other electronic devices. One or more parts of various embodiments described herein can be implemented using different combinations of software, firmware, and/or hardware.
A network device (ND) is an electronic device that communicatively interconnects other electronic devices (e.g., other network devices, end-user devices) in one or more networks. Some network devices are “multiple services network devices” that provide support for multiple networking functions (e.g., routing, bridging, switching, Layer 2 aggregation, session border control, Quality of Service, and/or subscriber management), and/or provide support for multiple application services (e.g., data, voice, and video).
Two of the exemplary ND implementations in
The special-purpose network device 602 includes networking hardware 610 comprising compute resource(s) 612 (typically including a set of one or more processors), forwarding resource(s) 614 (which typically include one or more ASICs and/or network processors), and physical network interfaces (NIs) 616 (sometimes called physical ports), as well as non-transitory machine readable storage media 618 having stored therein networking software 620.
The networking software 620 can, in some embodiments, include IGP module code 690A useful for implementing an IGP module 633A that can perform operations disclosed herein, including the operations of the flows 500/550 of
A physical NI is hardware in a ND through which a network connection (e.g., wirelessly through a wireless network interface controller (WNIC) or through plugging in a cable to a physical port connected to a network interface controller (NIC)) is made, such as those shown by the connectivity between NDs 600A-600H.
During operation, the networking software 620 may be executed by the networking hardware 610 to instantiate a set of one or more networking software instance(s) 622. Each of the networking software instance(s) 622, and that part of the networking hardware 610 that executes that network software instance (be it hardware dedicated to that networking software instance and/or time slices of hardware temporally shared by that networking software instance with others of the networking software instance(s) 622), can form a (separate) virtual network element 630A-630R. Each of the virtual network element(s) (VNEs) 630A-630R includes a control communication and configuration module 632A-632R (sometimes referred to as a local control module or control communication module) and forwarding table(s) 634A-634R, such that a given virtual network element (e.g., 630A) includes the control communication and configuration module (e.g., 632A), a set of one or more forwarding table(s) (e.g., 634A), and that portion of the networking hardware 610 that executes the virtual network element (e.g., 630A).
In some embodiments, one or more of the control communication and configuration modules (e.g., 632A) of the virtual network element(s) (VNEs) 630A-630R can include an IGP module 633A instantiated or implemented by the execution of the IGP module code 690A.
The special-purpose network device 602 is often physically and/or logically considered to include: 1) a ND control plane 624 (sometimes referred to as a control plane) comprising the compute resource(s) 612 that execute the control communication and configuration module(s) 632A-632R; and 2) a ND forwarding plane 626 (sometimes referred to as a forwarding plane, a data plane, or a media plane) comprising the forwarding resource(s) 614 that utilize the forwarding table(s) 634A-634R and the physical NIs 616. By way of example, where the ND is a router (or is implementing routing functionality), the ND control plane 624 (the compute resource(s) 612 executing the control communication and configuration module(s) 632A-632R) is typically responsible for participating in controlling how data (e.g., packets) is to be routed (e.g., the next hop for the data and the outgoing physical NI for that data) and storing that routing information in the forwarding table(s) 634A-634R, and the ND forwarding plane 626 is responsible for receiving that data on the physical NIs 616 and forwarding that data out the appropriate ones of the physical NIs 616 based on the forwarding table(s) 634A-634R.
Returning to
The software 650 can include IGP module code 690B that can be executed by the processor(s) 642 to implement an IGP module (not illustrated), which may be part of application(s) 664A-664R, in order to perform the operations described herein.
During operation, the processor(s) 642 execute the software 650 to instantiate one or more sets of one or more applications 664A-664R. While one embodiment does not implement virtualization, alternative embodiments may use different forms of virtualization. For example, in one such alternative embodiment the virtualization layer 654 represents the kernel of an operating system (or a shim executing on a base operating system) that allows for the creation of multiple instances 662A-662R called software containers that may each be used to execute one (or more) of the sets of applications 664A-664R; where the multiple software containers (also called virtualization engines, virtual private servers, or jails) are user spaces (typically a virtual memory space) that are separate from each other and separate from the kernel space in which the operating system is run; and where the set of applications running in a given user space, unless explicitly allowed, cannot access the memory of the other processes. In another such alternative embodiment the virtualization layer 654 represents a hypervisor (sometimes referred to as a virtual machine monitor (VMM)) or a hypervisor executing on top of a host operating system, and each of the sets of applications 664A-664R is run on top of a guest operating system within an instance 662A-662R called a virtual machine (which may in some cases be considered a tightly isolated form of software container) that is run on top of the hypervisor—the guest operating system and application may not know they are running on a virtual machine as opposed to running on a “bare metal” host electronic device, or through para-virtualization the operating system and/or application may be aware of the presence of virtualization for optimization purposes. In yet other alternative embodiments, one, some or all of the applications are implemented as unikernel(s), which can be generated by cotnpiling directly with an application only a limited set of libraries (e.g., from a library operating system (LibOS) including drivers/libraries of OS services) that provide the particular OS services needed by the application. As a unikernel can be implemented to run directly on hardware 640, directly on a hypervisor (in which case the unikernel is sometimes described as running within a LibOS virtual machine), or in a software container, embodiments can be implemented fully with unikernels running directly on a hypervisor represented by virtualization layer 654, unikernels running within software containers represented by instances 662A-662R, or as a combination of unikernels and the above-described techniques (e.g., unikernels and virtual machines both run directly on a hypervisor, unikernels and sets of applications that are run in different software containers).
The instantiation of the one or more sets of one or more applications 664A-664R, as well as virtualization if implemented, are collectively referred to as software instance(s) 652. Each set of applications 664A-664R, corresponding virtualization construct (e.g., instance 662A-662R) if implemented, and that part of the hardware 640 that executes them (be it hardware dedicated to that execution and/or time slices of hardware temporally shared), forms a separate virtual network element(s) 660A-660R.
The virtual network element(s) 660A-660R perform similar functionality to the virtual network element(s) 630A-630R—e.g., similar to the control communication and configuration module(s) 632A and forwarding table(s) 634A (this virtualization of the hardware 640 is sometimes referred to as network function virtualization (NFV)). Thus, NFV may be used to consolidate many network equipment types onto industry standard high volume server hardware, physical switches, and physical storage, which could be located in Data centers, NDs, and customer premise equipment (CPE). While embodiments of the invention are illustrated with each instance 662A-662R corresponding to one VNE 660A-660R, alternative embodiments may implement this correspondence at a finer level granularity (e.g., line card virtual machines virtualize line cards, control card virtual machine virtualize control cards, etc.); it should be understood that the techniques described herein with reference to a correspondence of instances 662A-662R to VNEs also apply to embodiments where such a finer level of granularity and/or unikernels are used.
In certain embodiments, the virtualization layer 654 includes a virtual switch that provides similar forwarding services as a physical Ethernet switch. Specifically, this virtual switch forwards traffic between instances 662A-662R and the NIC(s) 644, as well as optionally between the instances 662A-662R; in addition, this virtual switch may enforce network isolation between the VNEs 660A-660R that by policy are not permitted to communicate with each other (e.g., by honoring virtual local area networks (VLANs)).
The third exemplary ND implementation in
Regardless of the above exemplary implementations of an ND, when a single one of multiple VNEs implemented by an ND is being considered (e.g., only one of the VNEs is part of a given virtual network) or where only a single VNE is currently being implemented by an ND, the shortened term network element (NE) is sometimes used to refer to that VNE. Also in all of the above exemplary implementations, each of the VNEs (e.g., VNE(s) 630A-630R, VNEs 660A-660R, and those in the hybrid network device 606) receives data on the physical NIs (e.g., 616, 646) and forwards that data out the appropriate ones of the physical NIs (e.g., 616, 646). For example, a VNE implementing IP router functionality forwards IP packets on the basis of some of the IP header information in the IP packet; where IP header information includes source IP address, destination IP address, source port, destination port (where “source port” and “destination port” refer herein to protocol ports, as opposed to physical ports of a ND), transport protocol (e.g., user datagram protocol (UDP), Transmission Control Protocol (TCP), and differentiated services (DSCP) values.
The NDs of
A virtual network is a logical abstraction of a physical network (such as that in
A network virtualization edge (NVE) sits at the edge of the underlay network and participates in implementing the network virtualization; the network-facing side of the NVE uses the underlay network to tunnel frames to and from other NVEs; the outward-facing side of the NVE sends and receives data to and from systems outside the network. A virtual network instance (VNI) is a specific instance of a virtual network on a NVE (e.g., a NE/VNE on an ND, a part of a NE/VNE on a ND where that NE/VNE is divided into multiple VNEs through emulation); one or more VNIs can be instantiated on an NVE (e.g., as different VNEs on an ND). A virtual access point (VAP) is a logical connection point on the NVE for connecting external systems to a virtual network; a VAP can be physical or virtual ports identified through logical interface identifiers (e.g., a VLAN ID).
Examples of network services include: 1) an Ethernet LAN emulation service (an Ethernet-based multipoint service similar to an IETF MPLS or Ethernet VPN (EVPN) service) in which external systems are interconnected across the network by a LAN environment over the underlay network (e.g., an NVE provides separate L2 VNIs (virtual switching instances) for different such virtual networks, and L3 (e.g., IP/MPLS) tunneling encapsulation across the underlay network); and 2) a virtualized IP forwarding service (similar to IETF IP VPN (e.g., BGP/MPLS IPVPN) from a service definition perspective) in which external systems are interconnected across the network by an L3 environment over the underlay network (e.g., an NVE provides separate L3 VNIs (forwarding and routing instances) for different such virtual networks, and L3 (e.g., IP/MPLS) tunneling encapsulation across the underlay network)). Network services may also include quality of service capabilities (e.g., traffic classification marking, traffic conditioning and scheduling), security capabilities (e.g., filters to protect customer premises from network—originated attacks, to avoid malformed route announcements), and management capabilities (e.g., full detection and processing).
For example, where the special-purpose network device 602 is used, the control communication and configuration module(s) 632A-632R of the ND control plane 624 typically include a reachability and forwarding information module to implement one or more routing protocols (e.g., an exterior gateway protocol such as BGP, Interior Gateway Protocol(s) (IGP) (e.g., OSPF, IS-IS, Routing Information Protocol (RIP), LDP, Resource Reservation Protocol (RSVP) (including RSVP-Traffic Engineering (TE): Extensions to RSVP for LSP Tunnels and Generalized Multi-Protocol Label Switching (GMPLS) Signaling RSVP-TE)) that communicate with other NEs to exchange routes, and then selects those routes based on one or more routing metrics. Thus, the NEs 670A-670H (e.g., the compute resource(s) 612 executing the control communication and configuration module(s) 632A-632R) perform their responsibility for participating in controlling how data (e.g., packets) is to be routed (e.g., the next hop for the data and the outgoing physical NI for that data) by distributively determining the reachability within the network and calculating their respective forwarding information. Routes and adjacencies are stored in one or more routing structures (e.g., Routing Information Base (RIB), Label Information Base (LIB), one or more adjacency structures) on the ND control plane 624. The ND control plane 624 programs the ND forwarding plane 626 with information (e.g., adjacency and route information) based on the routing structure(s). For example, the ND control plane 624 programs the adjacency and route information into one or more forwarding table(s) 634A-634R (e.g., Forwarding Information Base (FIB), Label Forwarding Information Base (LFIB), and one or more adjacency structures) on the ND forwarding plane 626. For layer 2 forwarding, the ND can store one or more bridging tables that are used to forward data based on the layer 2 information in that data. While the above example uses the special-purpose network device 602, the same distributed approach 672 can be implemented on the general purpose network device 604 and the hybrid network device 606.
For example, where the special-purpose network device 602 is used in the data plane 680, each of the control communication and configuration module(s) 632A-632R of the ND control plane 624 typically include a control agent that provides the VNE side of the south bound interface 682. In this case, the ND control plane 624 (the compute resource(s) 612 executing the control communication and configuration module(s) 632A-632R) performs its responsibility for participating in controlling how data (e.g., packets) is to be routed (e.g., the next hop for the data and the outgoing physical NI for that data) through the control agent communicating with the centralized control plane 676 to receive the forwarding information (and in some cases, the reachability information) from the centralized reachability and forwarding information module 679 (it should be understood that in some embodiments of the invention, the control communication and configuration module(s) 632A-632R, in addition to communicating with the centralized control plane 676, may also play some role in determining reachability and/or calculating forwarding information—albeit less so than in the case of a distributed approach; such embodiments are generally considered to fall under the centralized approach 674, but may also be considered a hybrid approach).
While the above example uses the special-purpose network device 602, the same centralized approach 674 can be implemented with the general purpose network device 604 (e.g., each of the VNE 660A-660R performs its responsibility for controlling how data (e.g., packets) is to be routed (e.g., the next hop for the data and the outgoing physical NI for that data) by communicating with the centralized control plane 676 to receive the forwarding information (and in some cases, the reachability information) from the centralized reachability and forwarding information module 679; it should be understood that in some embodiments of the invention, the VNEs 660A-660R, in addition to communicating with the centralized control plane 676, may also play some role in determining reachability and/or calculating forwarding information—albeit less so than in the case of a distributed approach) and the hybrid network device 606. In fact, the use of SDN techniques can enhance the NFV techniques typically used in the general purpose network device 604 or hybrid network device 606 implementations as NFV is able to support SDN by providing an infrastructure upon which the SDN software can be run, and NFV and SDN both aim to make use of commodity server hardware and physical switches.
While
While
On the other hand,
A network interface (NI) may be physical or virtual; and in the context of IP, an interface address is an IP address assigned to a NI, be it a physical NI or virtual NI. A virtual NI may be associated with a physical NI, with another virtual interface, or stand on its own (e.g., a loopback interface, a point-to-point protocol interface). A NI (physical or virtual) may be numbered (a NI with an IP address) or unnumbered (a NI without an IP address). A loopback interface (and its loopback address) is a specific type of virtual NI (and IP address) of a NE/VNE (physical or virtual) often used for management purposes; where such an IP address is referred to as the nodal loopback address. The IP address(es) assigned to the NI(s) of a ND are referred to as IP addresses of that ND; at a more granular level, the IP address(es) assigned to NI(s) assigned to a NE/VNE implemented on a ND can be referred to as IP addresses of that NE/VNE.
Next hop selection by the routing system for a given destination may resolve to one path (that is, a routing protocol may generate one next hop on a shortest path); but if the routing system determines there are multiple viable next hops (that is, the routing protocol generated forwarding solution offers more than one next hop on a shortest path—multiple equal cost next hops), some additional criteria is used—for instance, in a connectionless network, Equal Cost Multi Path (ECMP) (also known as Equal Cost Multi Pathing, multipath forwarding and IP multipath) may be used (e.g., typical implementations use as the criteria particular header fields to ensure that the packets of a particular packet flow are always forwarded on the same next hop to preserve packet flow ordering). For purposes of multipath forwarding, a packet flow is defined as a set of packets that share an ordering constraint. As an example, the set of packets in a particular TCP transfer sequence need to arrive in order, else the TCP logic will interpret the out of order delivery as congestion and slow the TCP transfer rate down.
A virtual circuit (VC), synonymous with virtual connection and virtual channel, is a connection oriented communication service that is delivered by means of packet mode communication. Virtual circuit communication resembles circuit switching, since both are connection oriented, meaning that in both cases data is delivered in correct order, and signaling overhead is required during a connection establishment phase. Virtual circuits may exist at different layers. For example, at layer 4, a connection oriented transport layer datalink protocol such as Transmission Control Protocol (TCP) may rely on a connectionless packet switching network layer protocol such as IP, where different packets may be routed over different paths, and thus be delivered out of order. Where a reliable virtual circuit is established with TCP on top of the underlying unreliable and connectionless IP protocol, the virtual circuit is identified by the source and destination network socket address pair, i.e. the sender and receiver IP address and port number. However, a virtual circuit is possible since TCP includes segment numbering and reordering on the receiver side to prevent out-of-order delivery. Virtual circuits are also possible at Layer 3 (network layer) and Layer 2 (datalink layer); such virtual circuit protocols are based on connection oriented packet switching, meaning that data is always delivered along the same network path, i.e. through the same NEs/VNEs. In such protocols, the packets are not routed individually and complete addressing information is not provided in the header of each data packet; only a small virtual channel identifier (VCI) is required in each packet; and routing information is transferred to the NEs/VNEs during the connection establishment phase; switching only involves looking up the virtual channel identifier in a table rather than analyzing a complete address. Examples of network layer and datalink layer virtual circuit protocols, where data always is delivered over the same path: X.25, where the VC is identified by a virtual channel identifier (VCI); Frame relay, where the VC is identified by a VCI; Asynchronous Transfer Mode (ATM), where the circuit is identified by a virtual path identifier (VPI) and virtual channel identifier (VCI) pair; General Packet Radio Service (GPRS); and Multi-protocol label switching (MPLS), which can be used for IP over virtual circuits (Each circuit is identified by a label).
Certain NDs (e.g., certain edge NDs) use a hierarchy of circuits. The leaf nodes of the hierarchy of circuits are subscriber circuits. The subscriber circuits have parent circuits in the hierarchy that typically represent aggregations of multiple subscriber circuits, and thus the network segments and elements used to provide access network connectivity of those end user devices to the ND. These parent circuits may represent physical or logical aggregations of subscriber circuits (e.g., a virtual local area network (VLAN), a permanent virtual circuit (PVC) (e.g., for Asynchronous Transfer Mode (ATM)), a circuit-group, a channel, a pseudo-wire, a physical NI of the ND, and a link aggregation group). A circuit-group is a virtual construct that allows various sets of circuits to be grouped together for configuration purposes, for example aggregate rate control. A pseudo-wire is an emulation of a layer 2 point-to-point connection-oriented service. A link aggregation group is a virtual construct that merges multiple physical NIs for purposes of bandwidth aggregation and redundancy. Thus, the parent circuits physically or logically encapsulate the subscriber circuits.
Each VNE (e.g., a virtual router, a virtual bridge (which may act as a virtual switch instance in a Virtual Private LAN Service (VPLS) is typically independently administrable. For example, in the case of multiple virtual routers, each of the virtual routers may share system resources but is separate from the other virtual routers regarding its management domain, AAA (authentication, authorization, and accounting) name space, IP address, and routing database(s). Multiple VNEs may be employed in an edge ND to provide direct network access and/or different classes of services for subscribers of service and/or content providers.
Within certain NDs, “interfaces” that are independent of physical NIs may be configured as part of the VNEs to provide higher-layer protocol and service information (e.g., Layer 3 addressing). The subscriber records in the AAA server identify, in addition to the other subscriber configuration requirements, to which context (e.g., which of the VNEs/NEs) the corresponding subscribers should be bound within the ND. As used herein, a binding forms an association between a physical entity (e.g., physical NI, channel) or a logical entity (e.g., circuit such as a subscriber circuit or logical circuit (a set of one or more subscriber circuits)) and a context's interface over which network protocols (e.g., routing protocols, bridging protocols) are configured for that context. Subscriber data flows on the physical entity when some higher-layer protocol interface is configured and associated with that physical entity.
Some NDs provide support for implementing VPNs (Virtual Private Networks) (e.g., Layer 2 VPNs and/or Layer 3 VPNs). For example, the ND where a provider's network and a customer's network are coupled are respectively referred to as PEs (Provider Edge) and CEs (Customer Edge). In a Layer 2 VPN, forwarding typically is performed on the CE(s) on either end of the VPN and traffic is sent across the network (e.g., through one or more PEs coupled by other NDs). Layer 2 circuits are configured between the CEs and PEs (e.g., an Ethernet port, an ATM permanent virtual circuit (PVC), a Frame Relay PVC). In a Layer 3 VPN, routing typically is performed by the PEs. By way of example, an edge ND that supports multiple VNEs may be deployed as a PE; and a VNE may be configured with a VPN protocol, and thus that VNE is referred as a VPN VNE.
Some NDs provide support for VPLS (Virtual Private LAN Service). For example, in a VPLS network, end user devices access content/services provided through the VPLS network by coupling to CEs, which are coupled through PEs coupled by other NDs. VPLS networks can be used for implementing triple play network applications (e.g., data applications (e.g., high-speed Internet access), video applications (e.g., television service such as IPTV (Internet Protocol Television), VoD (Video-on-Demand) service), and voice applications (e.g., VoIP (Voice over Internet Protocol) service)), VPN services, etc. VPLS is a type of layer 2 VPN that can be used for multi-point connectivity. VPLS networks also allow end use devices that are coupled with CEs at separate geographical locations to communicate with each other across a Wide Area Network (WAN) as if they were directly attached to each other in a Local Area Network (LAN) (referred to as an emulated LAN).
In VPLS networks, each CE typically attaches, possibly through an access network (wired and/or wireless), to a bridge module of a PE via an attachment circuit (e.g., a virtual link or connection between the CE and the PE). The bridge module of the PE attaches to an emulated LAN through an emulated LAN interface. Each bridge module acts as a “Virtual Switch Instance” (VSI) by maintaining a forwarding table that maps MAC addresses to pseudowires and attachment circuits. PEs forward frames (received from CEs) to destinations (e.g., other CEs, other PEs) based on the MAC destination address field included in those frames.
While the flow diagrams in the figures show a particular order of operations performed by certain embodiments of the invention, it should be understood that such order is exemplary (e.g., alternative embodiments may perform the operations in a different order, combine certain operations, overlap certain operations, etc.).
While the invention has been described in terms of several embodiments, those skilled in the art will recognize that the invention is not limited to the embodiments described, can be practiced with modification and alteration within the spirit and scope of the appended claims. The description is thus to be regarded as illustrative instead of limiting.
This application claims the benefit of U.S. Provisional Application No. 62/295,451, filed 15 Feb. 2016, which is hereby incorporated by reference.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/IB2016/051889 | 4/1/2016 | WO | 00 |
Number | Date | Country | |
---|---|---|---|
62295451 | Feb 2016 | US |