SDN data plane software conformance testing system and method for p4 programming language

A data plane and programming language technology, applied in software testing/debugging, electrical digital data processing, error detection/correction, etc., can solve the problems of OpenFlow protocol scalability and poor programmability, and achieve the effect of ensuring interoperability

Active Publication Date: 2021-07-27
EAST CHINA NORMAL UNIV +1
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

As the southbound protocol of SDN, the OpenFlow protocol has become a popular standard for the interaction between the network control plane and the data plane. However, OpenFlow only provides us with a way to fill a set of well-known tables, so the scalability of the OpenFlow protocol Poor performance and programmability

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • SDN data plane software conformance testing system and method for p4 programming language
  • SDN data plane software conformance testing system and method for p4 programming language
  • SDN data plane software conformance testing system and method for p4 programming language

Examples

Experimental program
Comparison scheme
Effect test

test Embodiment I

[0066] The sending unit is configured to encode the network device profile of the JSON format generated by the compilation unit and the API serialization of the P4 runtime. The GRPC is based on the HTTP / 2.0 protocol to encapsulate the protocol buffer protocol file into IP / MAC packet. And send to the target network device; package test case is an IP / MAC packet, and GRPC sends a test case IP / MAC packet request message to the target network device based on the streaming mode service call.

[0067] The receiving unit is configured to receive the PROTOCOL BUFFER-based service response response message returned by the target network device, the GRPC anti-sequence of chemical decoding service calls returned, the test results information, record 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 the protocol buffer injection target network device;

[0070] Step S302. Moni...

Embodiment

[0078] like figure 1 The module diagram of the SDN data plane software consistency test system for the P4 programming language, the entire system is mainly divided into four modules: configuration module, test example generation module, communication module, test result processing module. like figure 2The data flow chart of the SDN data plane software consistency test system for the P4 programming language can be divided into six major steps: 1 Configure consistency test system environment, establish a connection with the target network device, set log information, GRPC service Listening port information, user rights information; 2 Generate P4 data plane description file and test case 3 Based on ProtocolBuffer serialization encoding P4 data plane description file to target network device; 4-based Protocol buffer sequence encoding test example to target network equipment 5 Receive the target network device test results Message; 6 alignment with the test results consistent. from Fig...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention proposes a P4 programming language-oriented SDN data plane software consistency test system, including: a configuration module, a test case generation module, a communication module and a test result processing module. The present invention designs a P4 programming language-oriented SDN data plane software consistency testing system, which is characterized in that the P4 programming language-oriented SDN data plane software consistency testing process is integrated, and a method for batch generation of test cases is designed, based on the gRPC framework Realize the process of sending test cases, invoking test services, and receiving test case results. By comparing the test results with the expected output results, the present invention analyzes and obtains the degree of consistency between the specific implementation of the tested network equipment and the P4 program description, and ensures that the SDN data plane software oriented to the P4 programming language is consistent with the user's needs in the intricate network environment The purpose is to ensure the interoperability between the controller and the P4 network equipment.

Description

Technical field [0001] The present invention relates to a SDN (Software-Defined Networking) and computer network technology, and in particular to realize a P4-oriented programming language software data plane SDN conformance testing system and method. Background technique [0002] In recent years, the development of software-defined network (Software Defined Networking, referred SDN) is in full swing, the purpose of SDN development to solve the problems of traditional architecture complex and decentralized network appears, the network has more flexibility. OpenFlow protocol as the protocol to the south SDN, a time to become popular standard for interactive network control plane and data plane, however, only provides OpenFlow a method of filling a well-known set of tables for us, so protocol may be extended OpenFlow resistance, poor programmable. [0003] To solve this problem, Nick professor at Stanford University, and his team developed a P4-level programming language. P4 having...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/36
CPCG06F11/3684G06F11/3688G06F11/3692
Inventor 章玥张雯雯蒲戈光
Owner EAST CHINA NORMAL UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products