Patent ID: 11960915
Assignee: HUAWEI CLOUD COMPUTING TECHNOLOGIES CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G  H | IPC G

Claim 16:
17. 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, 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 to create a virtual machine according to the virtual machine creation request; and
invoke the target computing node to create the virtual machine,
wherein the parameter information comprises affinity information of the virtual network interface card, the affinity information indicates whether different virtual network interface cards for a same virtual machine come from a same physical network interface card, wherein the different virtual network interface cards for the same virtual machine come from the same physical network interface card when the affinity information indicates keeping affinity, and wherein the different virtual network interface cards for the same virtual machine come from different physical network interface cards when the affinity information indicates keeping anti-affinity.