P4 programming language-oriented SDN data plane software consistency test system and method
A data plane, programming language technology, applied in software testing/debugging, electrical digital data processing, error detection/correction, etc., can solve the problems of OpenFlow protocol scalability, poor programmability, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
test Embodiment I
[0066] The sending unit is used to serialize and encode the network device configuration file in JSON format generated by the compiling unit and the API of the P4 runtime into a Protocol Buffer protocol file, and gRPC encapsulates the Protocol Buffer protocol file into an IP / MAC packet based on the HTTP / 2.0 protocol And send it to the target network device; encapsulate the test case into an IP / MAC data packet, and gRPC sends a test case IP / MAC data packet request message to the target network device based on the Streaming mode service call;
[0067] The receiving unit is used to receive the service response message based on the Protocol Buffer protocol returned by the target network device, gRPC deserializes and decodes the parameters and test result information returned by the service call, and records the test result log;
[0068] The steps are as follows:
[0069] Step S301. Transcoding the P4 data plane description file generated by the compilation unit into a Protocol Buf...
Embodiment
[0078] Such as figure 1 Shown is the module diagram of the SDN data plane software conformance test system for P4 programming language. The whole system is mainly divided into four modules: configuration module, test case generation module, communication module, and test result processing module. Such as figure 2Shown is the data flow chart of the SDN data plane software conformance test system for the P4 programming language, which can be divided into six main steps: ① Configure the conformance test system environment, establish a connection with the target network device, set log information, gRPC service Monitor port information and user authority information; ② Generate P4 data plane description files and test case sets; ③ Send P4 data plane description files to target network devices based on Protocol Buffer serialization encoding; ④ Send test cases to target network devices based on Protocol Buffer serialization encoding ; ⑤ Receive the test result message of the targe...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com