The disclosure relates to a peer in an inter-chassis device. In particular, some embodiments of the disclosure relates to a Link State ID planning for peers in an inter-chassis device.
Unless otherwise indicated herein, the approaches described in this section are not prior art to the claims in this disclosure and are not admitted to be prior art by inclusion in this section.
Internet Protocol version 6 (IPv6) has already been widely used especially in the core network. Open Shortest Path First version 3 (OSPFv3), as a companion of IPv6 to build routing information for the network, is more and more popular in the world.
There are many circumstances of node failure happening, which causes mission-critical applications down, such as unexpected power outage, earthquake and etc. And usually, it will take much time to restore the failed node, especially when the node is in the faraway place like desert. As a result, node level protection is a mechanism to counterwork this kind of scenarios.
Network high-availability can be achieved by employing intra and inter-chassis redundancy mechanisms. Unlike intra-chassis redundancy, inter-chassis redundancy can provide node level redundancy for mission-critical applications that require tight Service Level Agreements (SLAs). It is the intension of inter-chassis redundancy.
The inter-chassis redundancy mechanism can be employed on either the attachment circuit or pseudowire front, to provide inter-chassis redundancy for Link Aggregation Control Protocol (LACP) or pseudowire.
When deployed under OSPFv3 environment, the inter-chassis router appears as one router in the topology, each having its own control plane and being synchronous to other peers.
Router AB, consisted by peer A and B, is regarded as one router by Router C. Router AB could provide inter-chassis applications such as Pseudowire Redundancy Application, LACP.
Pseudowire redundancy is established between Router C<->Router AB. Actually the pseudowire is attached to peers A and B of Router AB. Dual access is also established from node D to both router A and B. Actually the access circuit is attached to peers A and B of Router AB. Thus traffic between Node D and router C are protected by inter-chassis redundancy on Router AB.
There is no automatic discovery mechanism for peers in the inter-chassis device under OSPFv3 environment. Currently, the peer address is manually configured, which burdens the administrator of the device.
An object of the disclosure is to provide a method used at a peer in an inter-chassis device, by which such peer is possible to differentiate LSAs generated by itself from LSAs generated by other peers in the same inter-chassis device, then possible to automatically discover other peers in the inter-chassis device, and thus there is no need to manual operations on peers' addresses.
According to a first aspect, there is provided a method used in a peer in an inter-chassis device which comprises a plurality of peers. The peer generates a Link State Advertisement (LSA). The generated LSA has a Link State ID which is selected from a Link State ID number range assigned to the peer. The peer then transmits the generated LSA. The Link State ID number ranges assigned to different peers in the inter-chassis device do not overlap with each other. So, LSAs generated by respective peers in the same inter-chassis device can identify themselves by the Link State IDs included therein, and thus do not conflict with each other.
In one embodiment, the peer receives an LSA, and determines whether the received LSA is transmitted from the peer by comparing the Link State ID in the received LSA with the Link State ID number range assigned to the peer if Router ID field in the received LSA indicates that it comes from the same inter-chassis device as the peer. If the Link State ID falls outside the Link State ID number range assigned to the peer, the peer may learn that the received LSA comes from another peer in the inter-chassi device. Otherwise, it is determined that the received LSA is locally generated. Thus, a peer may automatically discover other peers by looking into the Link State ID included in the LSA and the Link State ID number planning in the inter-chassis device.
For network LSAs and Link LSAs, the Link State ID is equal to the interface ID on the link they are transmitted over. In one embodiment, the peer is assigned with an interface number range, and the interface number ranges assigned to different peers of the plurality of peers do not overlap with each other. The peer then selects a number in the interface number range assigned thereto as an interface ID of an interface of the peer.
In one embodiment, the peer may receive an LSA, and determine type of the received LSA based on LS type field in the received LSA if Router ID field in the received LSA indicates that it comes from the same inter-chassis device as the peer. If it is determined that the type of the received LSA is network LSA or link LSA, the peer determines whether the received LSA is transmitted from the peer by comparing the Link State ID of the received LSA with the interface number range assigned to the peer since the Link State ID of a network LSA or a link LSA is equal to the interface ID. If it is determined that the type of the received LSA is neither network LSA nor link LSA, the peer determined whether the received LSA is transmitted from the peer by comparing the Link State ID of the received LSA with the Link State ID number range assigned to the peer. By using the LS type field in discovering source of a received LSA, the number of peers that can be configured in an inter-chassis device is increased because the interface number range assigned to one peer is allowed to overlap with the Link State ID number range assigned to another peer.
In one embodiment, the inter-chassis device is a router operable under Open Shortest Path First (OSPF) for Internet Protocol version 6 (IPv6).
According to a second aspect, there is provided peer in an inter-chassis device comprising a plurality of peers. The peer comprises a generator which is configured to generate a Link State Advertisement (LSA) and a transceiver which is configured to transmit the generated LSA. The generated LSA has a Link State ID that is selected from a Link State ID number range assigned to the peer. The Link State ID number ranges assigned to different peers in the same inter-chassis device do not overlap with each other.
According to a third aspect, there is provided a peer in an inter-chassis device which comprises a plurality of peers. The peer comprises a communication interface arranged for communication, a processor and a memory storing computer program code thereon. The program, when run in the processor, causes the peer to select a number in a Link State ID number range assigned thereto, and generate an LSA by using the selected number as the Link State ID. The Link State ID number ranges assigned to different peers in the inter-chassis device do not overlap with each other.
The foregoing and other features of this disclosure will become more fully apparent from the following description and appended claims, taken in conjunction with the accompanying drawings. Understanding that these drawings depict only several embodiments in accordance with the disclosure and are, therefore, not to be considered limiting of its scope, the disclosure will be described with additional specificity and detail through use of the accompanying drawings.
In the following detailed description, numerous specific details are set forth to provide a thorough understanding of claimed subject matter. However, it will be understood by those skilled in the art that claimed subject matter may be practiced without these specific details. In other instances, well-known methods, procedures, components and/or circuits have not been described in detail.
As shown in
LSAs are generated by an inter-chassis device operable under OSPFv3 and propagated through an area to distribute link status. An example of the format of an LSA is defined in RFC 2740, “OSPF for IPv6,” December, 1999, which is incorporated herein by reference, as shown in table I below.
The LSA header contains the LS type, Link State ID and Advertising Router fields. The combination of these three fields uniquely identifies the LSA. In OSPFv3, except network LSAs and link LSAs, Link State ID has no specific limitation and just serves as a way to differentiate multiple LSAs originated from the same router. For network LSAs and link LSAs, Link State ID is equal to the interface ID on the link.
A new Link State ID number planning for peers is proposed according to the disclosure.
In the method according to an embodiment of the disclosure, the administrator firstly decides a number range to be assigned to each peer in the inter-chassis device. The assignment of the number ranges may depend on the possible numbers of peers in the inter-chassis device. For example, if it is expected that there may be 8 peers in the inter-chassis device, a number range including 30 numerals may be assigned to each peer. In particularly, a peer may be assigned with [0.0.0.1-0.0.0.1.30], another may be assigned with [0.0.0.1.31-0.0.0.1.60]. If a third peer joins in the inter-chassis device later, it may be assigned with [0.0.0.1.61-0.0.0.1.90] or [0.0.0.1.91-0.0.0.1.120] that have not been assigned. The participation of new peers in the inter-chassis device would not need operations or changes on the existing peers in the device. The number range assigned to each peer is different, and does not overlap with each other. The numbers in the number range may be continuous, or discontinuous. For example, take the same 8-peer scenario as an example. A peer may be assigned with [0.0.0.1-0.0.0.10], [0.0.0.21-0.0.0.30] and [0.0.0.41-0.0.0.50] while another peer is assigned with [0.0.0.11-0.0.0.20], [0.0.0.31-0.0.0.40] and [0.0.0.51-0.0.0.60].
In another example, there are already three peers in one inter-chassis device, i.e., Peer A, Peer B and Peer C, and they are assigned with number ranges of [0.0.0.1-0.0.0.50], [0.0.0.51-0.0.0.100] and [0.0.0.101-0.0.0.150] respectively. The Link State ID number planning is to assign 50 numbers to each peer in the inter-chassis device. If Peer A receives an LSA with a Link State ID=[0.0.0.75] and an LSA with a Link State ID=[0.0.0.125], it knows that they are from two different peers in the same inter-chassis devices. If Peer A receives another LSA with a Link State ID=[0.0.0.175], it knows that another peer joins in the inter-chassis device. Accordingly, a peer may automatically discover other peers by looking into the Link State ID included in the received LSA and the Link State ID number planning in the inter-chassis device.
In the embodiments, after receiving the Link State ID number range assignment, the peer selects a number from the assigned Link State ID number range as the interface ID of the interface. When the peer generates and transmits a network LSA or a link LSA, the Link State ID in the generated LSA will fall within the assigned Link State ID number range. Accordingly, there is no difference for the operation to determine source of a received LSA for a normal LSA (e.g., a Router LSA) and for a network LSA or a link LSA. The method 600 can work.
In the embodiment as shown in
The methods according to the disclosure described above may be performed by any suitable components or other means capable of performing the corresponding functions of the methods. For example, the methods may be performed at any peer of the inter-chassis device, illustrated below in
As shown in
According to an embodiment, Peer 1110 may further comprise a determination unit 1130 which is configured to, when Peer 1100 receives an LSA via the transceiver 1120, determine whether the received LSA is transmitted from Peer 1100 by comparing the Link State ID in the received LSA with the Link State ID number range assigned to Peer 1100 if Router ID field in the received LSA indicates that it comes from the same inter-chassis device as Peer 1100.
According to an embodiment, Peer 1100 may further comprise an interface ID configuration unit 1140 which is configured to select a number in an assigned interface number range as an interface ID of an interface of Peer 1100, and wherein the interface number ranges assigned to different peers of the plurality of peers do not overlap with each other. In the embodiment, when Peer 1100 receives a LSA, the determination unit 1130 is configured to determine type of the received LSA based on LS type field in the received LSA if Router ID field in the received LSA indicates that it comes from the same inter-chassis device as the peer. If it is determined that the type of the received LSA is network LSA or link LSA, the determination unit 1130 is configured to determine whether the received LSA is transmitted from Peer 1100 based on a comparison of the Link State ID of the received LSA with the interface number range assigned to Peer 1100. If it is determined that the type of the received LSA is neither network LSA nor link LSA, the determination unit 1130 is configured to determine whether the received LSA is transmitted from Peer 1100 based on a comparison of the Link State ID of the received LSA with the Link State ID number range assigned to Peer 1100.
In the embodiment, if the administrator of the network does not assign interface number ranges to each peer, interface ID configuration unit 1140 in each peer may select a number from the assigned Link State ID number range as the interface ID.
It should be noted that Peer 1100 of
Furthermore, the arrangement 1200 comprises at least one computer program product 1208 in the form of a non-volatile or volatile memory, e.g., an Electrically Erasable Programmable Read-Only Memory (EEPROM), a flash memory and a hard drive. The computer program product 1208 comprises a computer program 1210, which comprises code/computer readable instructions, which when executed by the processing unit 1206 in the arrangement 1200 causes the arrangement 1200 and/or Peer 1100 in which it is comprised to perform the actions, e.g., of the procedure described earlier in conjunction with
The computer program 1210 may be configured as a computer program code structured in computer program modules 1210A-1210D.
In an exemplifying embodiment, the code in the computer program of the arrangement 1200 includes a generation module 1210A for generating an LSA, where the Link State ID in the generated LSA being selected from the Link State ID number range assigned to peer 1110. The code in the computer program 1210 may further include a transceiving module 1210B for transmitting the generated LSA. The Link State ID number range assigned to Peer 1100 does not overlap with Link State ID number range assigned to another peer in the inter-chassis device.
According to an embodiment, the code in the computer program 1210 may further include a determination unit 1210C for, when Peer 1100 receives an LSA via, determining whether the received LSA is transmitted from Peer 1100 by comparing the Link State ID in the received LSA with the Link State ID number range assigned to Peer 1100 if Router ID field in the received LSA indicates that it comes from the same inter-chassis device as Peer 1100.
According to an embodiment, the code in the computer program 1210 may further include an interface ID configuration module 1210D for selecting a number in an assigned interface number range as an interface ID of an interface of Peer 1100, and wherein the interface number ranges assigned to different peers of the plurality of peers do not overlap with each other. In the embodiment, when Peer 1100 receives a LSA, the determination module 1210C determines type of the received LSA based on LS type field in the received LSA if Router ID field in the received LSA indicates that it comes from the same inter-chassis device as the peer. If it is determined that the type of the received LSA is network LSA or link LSA, the determination module 1210C determines whether the received LSA is transmitted from Peer 1100 based on a comparison of the Link State ID of the received LSA with the interface number range assigned to Peer 1100. If it is determined that the type of the received LSA is neither network LSA nor link LSA, the determination module 1210C determines whether the received LSA is transmitted from Peer 1100 based on a comparison of the Link State ID of the received LSA with the Link State ID number range assigned to Peer 1100.
In the embodiment, if the administrator of the network does not assign interface number ranges to each peer, the interface ID configuration module 1210D in each peer may select a number from the assigned Link State ID number range as the interface ID.
According to some embodiments of the disclosure, a peer may automatically discover other peers by the Link State ID contained in a received LSA. Accordingly, there is no need for the administrator to perform remote peer configuration operation. Furthermore, when a new peer joins in the inter-chassis device, other peers in the inter-chassis device remain unchanged. The LSAs generated by different peers do not conflict with each other because the Link State IDs included in the LSAs from different peer falls within different number range. Accordingly, there is no need for the peers to perform synchronization to be synchronous with each other. Furthermore, any of the current routing protocols is applicable in the disclosure, and a network node compliant with an existing routing protocol may cooperate with the peers according to the disclosure well.
The foregoing description of implementations provides illustration and description, but is not intended to be exhaustive or to limit the disclosure to the precise form disclosed. Modifications and variations are possible in light of the above teachings, or may be acquired from practice of the disclosure. For example, while blocks have been described with regard to
Aspects of the disclosure may also be implemented in methods and/or computer program products. Accordingly, the disclosure may be embodied in hardware and/or in hardware/software (including firmware, resident software, microcode, etc.). Furthermore, the disclosure may take the form of a computer program product on a computer-usable or computer-readable storage medium having computer-usable or computer-readable program code embodied in the medium for use by or in connection with an instruction execution system. The actual software code or specialized control hardware used to implement embodiments described herein is not limiting of the disclosure. Thus, the operation and behaviour of the aspects were described without reference to the specific software code—it being understood that those skilled in the art will be able to design software and control hardware to implement the aspects based on the description herein.
Furthermore, certain portions of the disclosure may be implemented as “logic” that performs one or more functions. This logic may include hardware, such as an application specific integrated circuit or field programmable gate array or a combination of hardware and software.
It should be emphasized that the term “comprises/comprising” when used in this specification is taken to specify the presence of stated features, integers, steps, components or groups but does not preclude the presence or addition of one or more other features, integers, steps, components or groups thereof.
No element, act, or instruction used in the disclosure should be construed as critical or essential to the disclosure unless explicitly described as such. Also, as used herein, the article “a” is intended to include one or more items. Where only one item is intended, the term “one” or similar language is used. Further, the phrase “based on” is intended to mean “based, at least in part, on” unless explicitly stated otherwise.
The foregoing description gives only the embodiments of the present disclosure and is not intended to limit the present disclosure in any way. Thus, any modification, substitution, improvement or like made within the spirit and principle of the present disclosure should be encompassed by the scope of the present disclosure.
| Filing Document | Filing Date | Country | Kind |
|---|---|---|---|
| PCT/CN2013/088793 | 12/6/2013 | WO | 00 |