Test Discussion of the New Metropolitan Area Network Technology Resilient Packet Ring (RPR)
2026-04-06 06:39:16··#1
The opening up of the telecommunications industry and the development of the Internet have led to an unprecedented rapid development of networks and communications, putting enormous pressure on Metropolitan Area Networks (MANs) and posing new functional requirements. Resilient Packet Ring (RPR) is a new MAN technology standardized by IEEE 802.17, integrating the best features of Synchronous Digital Hierarchy/Fiber Synchronous Networking (SDH/SONET) and Ethernet, while possessing its own unique characteristics. This article discusses RPR network testing in stages and describes the challenges faced during testing. With the explosive growth of Internet services, data services have approached or even surpassed traditional voice services to become the main body of network transmission, making MANs a bottleneck for the entire network. Resilient Packet Ring (RPR), with its advanced technology, effective investment, superior performance, and diverse service support, has stood out from numerous network technologies and gained widespread application. RPR is a packet transmission technology that primarily defines a new Media Access Control (MAC) protocol, corresponding to Layer 2 of the Open Systems Interconnection (OSI) reference model. It is transparent to the physical layer and can support multiple physical layers. It provides two main features unique to Synchronous Digital Hierarchy (SDH): efficient support for ring topology and fast protection switching when fiber optic faults or link failures occur; at the same time, RPR can provide efficient, simple, and low-cost data transmission services like Ethernet; in addition, RPR has many of its own features, such as space reuse and fair access to bandwidth. The RPR protocol standard was officially published by the IEEE 802.17[1] working group in 2004, but no standard conformance testing has been started yet. This article mainly introduces RPR testing based on network processors (NPs), divides the various stages of testing, and discusses the feasibility of RPR network automatic control testing. 1. Introduction to Network Processors A network processor (NP) is a programmable device designed specifically for processing data packets and is widely used in the field of communication, such as packet processing, route lookup, protocol analysis, QoS, etc. Compared with the general general-purpose CPU architecture, RPR testing based on network processor architecture can greatly improve performance and make up for the shortcomings of general-purpose CPU architecture, while not requiring the large amount of funding and technical accumulation required for general-purpose CPU architecture. Network processors are usually described from two aspects: software and hardware. 1) The software aspect mainly includes four parts: Board Support Package (BSP), embedded operating system, routing protocol software package, and microcode. The first three run on the intelligent coprocessor unit. The BSP records the hardware information and main configuration information that the intelligent coprocessor unit needs to manage. The embedded operating system is the foundation for the routing protocol or other applications to run. The intelligent coprocessor, by running the routing protocol software package, can generate and maintain routing tables. The microcode runs on the network processor unit and processes and forwards data. 2) The hardware aspect mainly consists of two functional modules: the network processor unit and the dedicated intelligent coprocessor unit. The intelligent coprocessor unit is the core of the network processor and requires the support of an embedded operating system. It is used to control the network processing unit and other hardware units. Through the routing protocol software package running on the operating system, it completes the reception, processing, and forwarding of routing information, and generates and maintains routing tables, etc. The network processor unit adopts a multi-threaded structure and can complete intelligent data processing functions, such as packet forwarding, packet header processing, and route lookup. For system flexibility, the intelligent coprocessor units are programmable. The network processor unit is generally composed of multiple programmable Complex Instruction Set Computer (RISC) cores, which fully ensures the flexibility of the network processor. 2. Testing Phases In a network processor-based environment, RPR testing consists of different phases, including the creation of standard conformance test documentation, unit testing, simulator testing, pipeline integration, on-board integration, and system testing. System testing is the final part of RPR functional testing. Using the concept of processes in computers, the various phases of RPR testing are shown in Figure 1. Figure 1: RPR Testing Phases Unit testing and simulator testing are completed simultaneously. Each phase includes control plane simulator testing and data plane simulator testing, indicating that control plane and data plane integration testing is performed in the simulator. Following this phase is the board-level integration testing phase. The main task of the board-level integration testing phase is to test the interface between the data plane and the control plane, i.e., whether the control plane can exchange data with the data plane. 2.1 Control Plane Simulation Testing Control plane simulation testing refers to testing the functionality of the control plane by establishing an independent simulator. This simulator uses a frame working frame to implement packet exchange between control planes. All topology protection functions, OAM (Operation, Administration, Maintenance), and partial fairness can be tested in this simulation environment. Therefore, the simulator must have the following properties: a) Support for the exchange of Topology Protection (TP) frames, Topology Checksum (TC) frames, Attribute Discovery (ATD) frames, and OAM frames. b) Support for signal interruption or fading on the ring, and support for multicast. c) If fairness is implemented on the control panel, support for SCFF frames. d) No abnormal terminals (no storage or no resources). e) Robust and stable support for testing. The control plane simulation provides variables and updates to the state through the management interface. Control plane related information is valid in the simulator, while data plane management interface related information can only be used in hardware. Here, we can build the simulator within the operating system, or the simulator can be established using IPC (inter-process communication) mechanisms—information queues or pipes. The simulator is implemented as a layer, replacing the interface between the control plane and the data plane. TP frames and ATD frames are transmitted to each node on the ring via multicast. TC frames are only exchanged with their neighboring nodes, while the neighboring nodes' OAM frames require special control in the emulator. The emulator should be able to intelligently control frames based on their controltype, and a 255-node emulator is configured to test all 255 nodes. 2.2 Data Plane Simulation Test Pipeline Integration Phase refers to the integration phase of different modules during packet processing. Pipeline integration testing can be run in a simulation environment where all data channel components are treated as a single block, encapsulating packet headers, connecting to the receiver, capturing packets from the pipeline, and analyzing them in the forwarding block. The network processor module supports packet generators; however, performance and stability testing cannot be implemented during the pipeline integration phase. Pipeline integration is automated through scripts. For example, assuming the RPR port supports Fast Ethernet, the test device will generate a usable Fast Ethernet stream. This stream is mapped into RPR frames at the ingress, transmitted on the ring, and then converted back into Fast Ethernet packets at the egress. Other equipment providers' devices support capturing and displaying RPR on the Generic Framing Protocol (GFP). Various filters are selected to filter out the frame capture characteristics. These devices, together with Ethernet packet generators, can perform RPR testing. 3. Possibility of Automated Control for RPR Testing Automated control of RPR testing can be implemented in the pipeline integration phase, board-level integration phase, and system testing phase. In the pipeline integration phase, trace descriptions are generated for each test case, which can be scheduled remotely and the generated packets are analyzed at the exit point. In the board-level integration phase, trace descriptions required for testing are automatically generated, and a supply platform is built from these traces so that the state platform can regain the corresponding values. Here, for automated system control, centralized frames should be used during operation. An automated control system for testing can be established first, as shown in Figure 2. The ports of the client (Ethernet) packet generator are connected to different RPR nodes. The Ethernet packet generator should be able to generate packets with Virtual LAN (VLAN) tags, which have different priority values. The RPR frame sensor can capture and display RPR frames. Both test instruments are built together in a test frame, controlling the Ethernet packet generator and the RPR frame sensor. This framework supports scripts for generating and analyzing packets in the test instrument. Scripts can help automate RPR testing to reduce attenuation. Figure 2 shows the automated system test architecture. This architecture can automatically transmit data frames, control frames, fairness frames, etc.; reorder frames; support multicast services; and, in the event of a fault, verify the content of the frame and perform rollback or service switching. 4. Challenges in RPR Network Testing In RPR testing, a 255-node RPR ring needs to be established, and RPR topology discovery should store information on 255 nodes in the database. However, it is not feasible to establish a 255-node ring network in the laboratory; we can only achieve this by building a network simulator. Therefore, the simulator is required to simulate 255 nodes, each of which can generate TP frames and ATD frames with randomness, and to time the transmission of frames. The definition of this timer is determined by each field value in the frame. When the MAC address is not explicitly defined as unique, the MAC address is generated randomly. The following tests can only be completed using a 255-node simulator. 1) Copy MAC addresses on a 255-node ring. 2) The process of topology change information. 3) Attributes. A typical test is to verify the validity of the excessReservedRate broadcast. The reserved rate at 255 nodes should be distributed so that the total unreserved rate is less than 0. This should be achieved by broadcasting excessReservedRate on individual node devices (NEs), meaning that the unreserved rate of the NE in the topology database is updated and correctly controlled. Fairness and shaping tests mainly include frame format testing and fairness control for fair services. To test fairness, SCFF frames generated at different rates at the egress point can be analyzed to understand the corresponding response of the SCFF frame data plane. Similarly, fairness testing can utilize the test framework shown in Figure 2. 50ms fast protection switching is provided in the Resilient Packet Ring (RPR). The test method involves transmitting Ethernet traffic on the RPR ring network, creating a fault, i.e., signal interruption or signal fading, and then measuring the number of Ethernet packets lost due to the RPR network rollover or switching. This number is used to calculate the protection switching time. Moreover, the protection switching time increases with the number of nodes in the network. Latency and jitter testing refers to the period from the time a frame is requested to be transmitted to the time the destination node receives the frame. The testing method involves transmitting a single Ethernet frame, mapping it to a Class A data frame, and then capturing the time delay at the receiving neighbor node via a longer path. Conclusion This paper discusses the various stages of RRP network testing, and by building an RRP network testing framework and utilizing a simulator, explores the possibility of automated control in RRP network testing. Finally, it raises the challenges in this field.