Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Automatic testing method and device based on software for open networking in the cloud

An automated test and open network technology, applied in the field of data communication, can solve the problems of high implementation cost, low test efficiency, complex operation, etc., and achieve the effect of saving test cost, improving the efficiency of automated test, and strong configurability

Inactive Publication Date: 2019-09-17
BEIJING XINWANG RUIJIE NETWORK TECH CO LTD
View PDF5 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a SONiC-based automated testing method and device to solve the existing SONiC-based automated testing problems of high cost, complicated operation and low testing efficiency

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
  • Automatic testing method and device based on software for open networking in the cloud
  • Automatic testing method and device based on software for open networking in the cloud

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] Aiming at the problems of high cost, complex operation and low test efficiency of SONiC-based automated testing existing in the prior art, the SONiC-based automated testing method provided by the embodiment of the present invention creates a VM and performs test deployment, and then The interface of the VM is called to replace the interface of the hardware test equipment, and a pre-configured test case is called to test the equipment to be tested. The flow process of the inventive method is as figure 1 As shown, the execution steps are as follows:

[0036] Step 101, create at least one virtual machine (VM) and perform test deployment;

[0037] Here, at least one virtual machine VM is created, and these VMs are deployed for testing according to testing requirements. The VM may be applicable to protocols such as Border Gateway Protocol (Border Gateway Protocol, BGP), Link Aggregation Control Protocol (Link Aggregation Control Protocol, LACP), and Link Layer Discovery Pr...

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 discloses an automatic testing method and device based on SONiC. The method comprises the following steps: creating at least one virtual machine VM and carrying out test deployment; and calling the interface of the VM and a pre-configured test case to test the to-be-tested device. The embodiment of the invention provides an automatic testing method and device based on SONiC. A test interface of hardware equipment is simulated by creating and testing a deployment VM; by calling the VM interface and the pre-configured test case to test the equipment to be tested, the automatic test based on the SONiC can be realized without hardware test equipment, the test cost is saved, and the automatic test efficiency of the SONiC is improved. The VM interface and the test case are called through the own script program, so that the configurability is high, and the automatic test case execution is more convenient and efficient.

Description

technical field [0001] The invention relates to the technical field of data communication, in particular to an automated testing method and device based on a cloud computing open network operating system (Software for Open Networking in the Cloud, SONiC). Background technique [0002] SONiC has launched an internally developed Debian GNU / Linux-based system for Microsoft, which includes code toolkits and kernel patches, can adjust network switches according to user needs, reduces the dependence on firmware from network equipment providers, and can fully take over the network switch work. [0003] Robot Framework (RF) is a functional automation testing framework written in python. It has good scalability and adopts tabular syntax. It can quickly develop, execute and manage test cases intuitively and conveniently. At the same time, it simplifies system development, maintenance and use. However, software development of RF architecture generally emphasizes iterative development...

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
IPC IPC(8): H04L12/26
CPCH04L43/08H04L43/14H04L43/50
Inventor 陈小龙李辉
Owner BEIJING XINWANG RUIJIE NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products