Method and Apparatus for Creating Virtual Machine
AssigneeHuawei Technologies Co., Ltd.
InventorsTiesheng Liu, Yanjie Guan
Life of this patent
Estimating the term…
Abstract
A method for creating a virtual machine includes receiving a virtual machine creation request comprising parameter information of a virtual network interface card occupied by a to-be-created virtual machine, obtaining current resource usage information of the network interface card resource pools of at least one computing node, wherein the at least one computing node is deployed on a cloud platform, each computing node comprises a network interface card resource pool comprising physical network interface cards, determining a target computing node, in the at least one computing node based on the parameter information and the current resource usage information, and invoking the target computing node to create the virtual machine.
Claims20
A method for creating a virtual machine, comprising:
- receiving a virtual machine creation request comprising parameter information of a virtual network interface card, wherein the virtual network interface card comprises a to-be-created virtual machine;
- obtaining current resource usage information of a network interface card resource pool of at least one computing node on a cloud platform, wherein the network interface card resource pool comprises one or more physical network interface cards on the computing node;
- determining, from the at least one computing node based on the parameter information and the current resource usage information of the network interface card resource pool, a target computing node that is used to create a virtual machine according to the virtual machine creation request;
- and
- invoking the target computing node to create the virtual machine.
An apparatus for creating a virtual machine, comprising:
- a processor;
- and
- a memory coupled to the processor and storing instructions that, when executed by the processor, cause the apparatus to be configured to:
- receive a virtual machine creation request, comprising parameter information of virtual network interface card, wherein the virtual network interface card comprises a to-be-created virtual machine;
- obtain current resource usage information of a network interface card resource pool of at least one computing node on a cloud platform, wherein the network interface card resource pool comprises one or more physical network interface cards on the computing node;
- determine, from the at least one computing node based on the parameter information and the current resource usage information of the network interface card resource pools, a target computing node that is used for creating a virtual machine according to the virtual machine creation request;
- and
- invoke the target computing node to create the virtual machine.
A non-transitory computer-readable medium comprising computer-executable instructions that, when executed by a processor, cause an apparatus to:
- receive a virtual machine creation request comprising parameter information of virtual network interface card, wherein the virtual network interface card comprises a to-be-created virtual machine;
- obtain current resource usage information of a network interface card resource pool of at least one computing node on a cloud platform, the network interface card resource pool comprises one or more physical network interface cards on the computing node;
- determine, from the at least one computing node based on the parameter information and the current resource usage information of the network interface card resource pools, a target computing node that is used to create a virtual machine according to the virtual machine creation request;
- and
- invoke the target computing node to create the virtual machine.
Dependencies are inferred from the claim text.