| Since open source network testing technology is mostly implemented on CPU or FPGA,it has certain advantages in comparison with commercial network testing technology in terms of cost overhead and flexibility.Therefore,open source network testing technology has become the primary choice for research institutions to carry out testing and verification for network equipment.However,compared to testing traditional network equipment,testing the SDN switch not only needs to complete the data plane forwarding performance test,but also completes the control plane protocol consistency verification.For control plane protocol consistency verification,you need to record and compare the timestamps of packets arriving on different planes.However,existing open source network testing techniques present challenges in achieving clock synchronization between different planes.The proposed solution has the disadvantages of complicated operation and high cost.Therefore,in response to the above challenges,this paper designs and implements a Software and Hardware coll Aborative netwo Rk t Esting technology for SDN switches(SHARE).The main work and innovations of this paper include:1.A model of software and hardware collaborative network testing technology for SDN switches is proposed.The SHARE model adopts the idea of software and hardware coordination,giving full play to the flexibility and scalability of the software and the high performance and high precision of the hardware.Support users to customize test cases for the southbound interface protocol.Combine the data and control plane into the same hardware pipeline to obtain timestamps based on the same time base to ensure the accuracy of the test.2.In-depth research on key SHARE technologies.The format of communication messages between hardware and software is defined,which improves the communication transmission efficiency between hardware and software.A hardware pipeline with modular reuse is designed to support the new test function and parallelize different test functions with lower hardware resource overhead.A priority scheduling algorithm based on the control plane packet type is studied,which is used for scheduling control and normal forwarding of data plane messages,thus ensuring the normal communication and interaction of the control plane.3.The SHARE prototype system was implemented and tested accordingly.The results show that the SHARE prototype system has the test performance and accuracy comparable to commercial network test technology,and can support the test of the data plane forwarding processing performance of the SDN switch.By verifying whether the "Barrier" mechanism of the Open Flow protocol is implemented correctly by different SDN switches,it is proved that SHARE has the ability to verify the consistency of the control plane protocol of the SDN switch.In summary,in order to solve the technical challenges faced by testing SDN switches,this paper proposes a Software and Hardware coll Aborative netwo Rk t Esting technology for SDN(SHARE).The model features high performance and precision and solves clock synchronization between different planes.Therefore,SHARE can complete the test verification of data plane forwarding processing capability and control plane protocol consistency.This has theoretical and practical value for improving SDN switches and promoting the development of SDN architecture. |