Unlock instant, AI-driven research and patent intelligence for your innovation.

Network configuration method and device of virtual machine, storage medium and equipment

A network configuration and virtual machine technology, applied in the Internet field, can solve problems such as low network configuration efficiency and achieve the effect of improving efficiency

Pending Publication Date: 2021-06-18
ZTE CORP
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present application provides a virtual machine network configuration method, device, storage medium and equipment, which are used to solve the problem of low network configuration efficiency due to manual reconfiguration of network interface files

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
  • Network configuration method and device of virtual machine, storage medium and equipment
  • Network configuration method and device of virtual machine, storage medium and equipment
  • Network configuration method and device of virtual machine, storage medium and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the following will further describe the embodiments of the present application in detail in conjunction with the accompanying drawings.

[0027] Please refer to figure 1 , which shows a method flowchart of a method for configuring a network of a virtual machine provided by an embodiment of the present application, and the method for configuring a network of a virtual machine can be applied to a virtual machine of an electronic device. The network configuration method of the virtual machine may include:

[0028] Step 101, when the network of the virtual machine changes, acquire the network information of the network after the change.

[0029] During the use of the virtual machine, it may be necessary to rebuild, add or delete network cards, add or delete cloud disks, and then restart. In the above cases, the network of the virtual machine will change, ...

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 embodiment of the invention discloses a network configuration method and device of a virtual machine, a storage medium and equipment, and belongs to the technical field of Internet. The method comprises the following steps: when a network of a virtual machine changes, obtaining network information of the changed network; updating a device manager udev rule in the virtual machine according to the network information; and updating a network interface file of the virtual machine according to the udev rule, wherein the network information in the updated network interface file is the same as the network information of the changed network. According to the embodiment of the invention, when the network changes, the udev rule can be updated according to the changed network information of the network, and then the network interface file is updated according to the udev rule, so that the network information in the network interface file is ensured to be the same as the changed network information of the network, the network configuration is automatically completed, and the efficiency of the network configuration is improved.

Description

technical field [0001] The embodiments of the present application relate to the technical field of the Internet, and in particular to a network configuration method, device, storage medium and equipment for a virtual machine. Background technique [0002] With the development of computer network technology, virtualization technology has become very popular. Virtual machine instantiation includes creating a virtual machine, configuring a network, and deploying services. In practical applications, a virtual machine needs to be connected to multiple network planes, and sometimes involves dual-network card binding, dual-machine or cluster deployment. Therefore, it is required to configure multiple networks for the same virtual machine. [0003] When configuring each network, the virtual machine can rely on the internal processing mechanism of the system to automatically identify the name of the network card, and then write the name of the network card and the assigned IP (Inter...

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/24
CPCH04L41/0886H04L41/0889H04L41/0816H04L41/0893
Inventor 张启辉笪久周王晓龙洪君景余谦益陈俊屠要峰
Owner ZTE CORP