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.

Active Publication Date: 2020-01-10
EAST CHINA NORMAL UNIV +1
View PDF7 Cites 8 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
  • P4 programming language-oriented SDN data plane software consistency test system and method
  • P4 programming language-oriented SDN data plane software consistency test system and method
  • P4 programming language-oriented SDN data plane software consistency test system and method

Examples

Experimental program
Comparison scheme
Effect test

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...

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 provides a P4 programming language-oriented SDN data plane software consistency test system. The system comprises a configuration module, a test case generation module, a communication module and a test result processing module. According to the invention, the P4 programming language-oriented SDN data plane software consistency test system is designed, the system is characterized inthat P4 programming language-oriented SDN data plane software consistency test process integration is designed, a method for generating test cases in batches is designed, and test case sending, test service calling and test case result receiving processes are realized based on a gRPC framework. According to the invention, the test result is compared with the expected output result, the consistencydegree of specific implementation of the tested network equipment and P4 program description is obtained through analysis, the consistency of SDN data plane software oriented to the P4 programming language and user demand performance in a complex network environment is guaranteed, and the interoperability between a controller and the P4 network equipment is guaranteed.

Description

technical field [0001] The invention relates to the field of SDN (Software-Defined Networking) and computer network technology, in particular to realize a P4 programming language-oriented SDN data plane software consistency testing system and method. Background technique [0002] In recent years, the development of Software Defined Networking (SDN for short) is in full swing. The purpose of the development of SDN is to solve the problems of traditional networks with complex and scattered structures, so as to make the network more flexible. 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. [0003] In response to this problem, Professor Nick of Stanford University and his team developed the P4 high-level ...

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 Applications(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