Port forwarding function test method and system based on cloud platform

A functional testing and cloud platform technology, applied in transmission systems, digital transmission systems, electrical components, etc., can solve the problems of cumbersome port forwarding test methods, inability to guarantee test integrity, misuse of port forwarding, etc., to prevent omissions and mistakes. The verification of the port forwarding function, the guarantee of test integrity, and the effect of simple structure

Active Publication Date: 2020-07-03
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF5 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Aiming at the above-mentioned existing port forwarding test method in the prior art is cumbersome, the test cost is high, and the test depth is low, so the test integrity cannot be guaranteed, and it is easy to miss and misuse the port forwarding function. The present invention provides a cloud-based Port forwarding function testing method and system of the platform to solve the above technical problems

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
  • Port forwarding function test method and system based on cloud platform
  • Port forwarding function test method and system based on cloud platform
  • Port forwarding function test method and system based on cloud platform

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0070] Such as figure 1 As shown, the present invention provides a kind of port forwarding function testing method based on cloud platform, comprises the following steps:

[0071] S1. Create an external network, a first internal network and a second internal network based on the Openstack cloud platform, and set the network types of the external network, the first internal network and the second internal network respectively;

[0072] S2. Create a route, add the network interfaces of the external network, the first internal network and the second internal network; create the first virtual machine and the second virtual machine, and set the first virtual machine to be in the first internal network, and set the second The virtual machine is in the second internal network; the IP address of the first virtual machine is set;

[0073] S3. Select the IP address of the first virtual machine to create port forwarding, and forward the port of the first virtual machine to the second in...

Embodiment 2

[0076] Such as figure 2 As shown, the present invention provides a kind of port forwarding function testing method based on cloud platform, comprises the following steps:

[0077] S1. Create the external network, the first internal network and the second internal network based on the Openstack cloud platform, and set the network types of the external network, the first internal network and the second internal network respectively; the specific steps are as follows:

[0078] S11. Create an external network based on the Openstack cloud platform, and set the network type of the external network to be a flat flat network type;

[0079] S12. Create a first internal network and a second internal network based on the Openstack platform, and set the network type of the first internal network and the second internal network as a virtual extended network type;

[0080] S2. Create a route, add the network interfaces of the external network, the first internal network and the second int...

Embodiment 3

[0100] Such as image 3 As shown, the present invention provides a kind of port forwarding function test system based on cloud platform, comprising:

[0101] Network creation module 1 is used to create an external network, the first internal network and the second internal network based on the Openstack cloud platform, and set the network types of the external network, the first internal network and the second internal network respectively; network creation Module 1 includes:

[0102] The external network creation unit 1.1 is used to create an external network based on the Openstack cloud platform, and the network type of the external network is set as a flat flat network type;

[0103] The internal network creation unit 1.2 is used to create the first internal network and the second internal network based on the Opens stack platform, and the network type of the first internal network and the second internal network is set as a virtual extended network type;

[0104] Routing...

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 port forwarding function test method and system based on a cloud platform. The method comprises the following steps: S1, creating an external network, a first internal networkand a second internal network based on an Openstack cloud platform, and respectively setting network types of the external network, the first internal network and the second internal network; S2, creating a route, and adding network interfaces of an external network, a first internal network and a second internal network; creating a first virtual machine and a second virtual machine, setting thefirst virtual machine to be in a first internal network, and setting the second virtual machine to be in a second internal network; setting an IP address of the first virtual machine; S3, selecting the IP address of the first virtual machine to create port forwarding, and forwarding the port of the first virtual machine to a second internal network; S4, setting the second virtual machine to execute the remote login command ssh to connect the address of the IP of the first virtual machine, and verifying whether port forwarding is successful or not.

Description

technical field [0001] The invention belongs to the technical field of network testing, and in particular relates to a cloud platform-based port forwarding function testing method and system. Background technique [0002] Port forwarding is a method used by Secure Shell (SSH) for secure communication over a network. SSH can use port forwarding technology to transmit packets of other TCP / IP protocols. When using this method, SSH establishes a secure transmission channel between the client and server for other services. [0003] The OpenStack-based cloud platform needs to verify the port forwarding function during the R&D and testing stages. The existing test methods are cumbersome, costly, and in-depth, so the integrity of the test cannot be guaranteed, and the port forwarding function is easily missed and misused. . [0004] This is the deficiency of the prior art. Therefore, it is very necessary to provide a port forwarding function testing method and system based on a cl...

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): H04L12/26H04L29/06H04L29/08
CPCH04L43/50H04L63/08H04L63/168H04L67/08H04L67/10
Inventor 张韬冯晶
Owner INSPUR SUZHOU INTELLIGENT TECH CO LTD
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