Method for controlling routing information generation, method and device for routing information generation
A technology for information generation and routing, applied in the field of communication, can solve the problems of slow packet forwarding and low forwarding efficiency of routers
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0072] Such as figure 1 Shown is a flowchart of a method for controlling routing information generation in an embodiment of the present invention. The method described in this embodiment is executed by a virtual machine management server. In the embodiment of the present invention, the current data center communicates with the virtual machine management server. The virtual machine management server can manage one or more data centers.
[0073] The method described in the embodiment of the present invention comprises:
[0074] S101. When it is detected that there is a virtual machine moving out or moving in in the current data center, determine the subnet where the virtual machine is located;
[0075] S102. Obtain the total number of virtual machines included in the subnet, and the number of virtual machines in the current data center under the subnet;
[0076] S103. Determine the ratio between the number of virtual machines under the subnet in the current data center and the...
Embodiment 2
[0111] The embodiment of the present invention also provides a method for generating routing information, such as figure 2 Shown is a flowchart of a method for generating routing information in an embodiment of the present invention, and the method in this embodiment is executed by a gateway device in a data center.
[0112] The embodiment method of the present invention comprises:
[0113] S201. When there is a virtual machine moving out or moving in from the current data center, determine the subnet where the virtual machine is located;
[0114] S202. Adjust the routing information of the virtual machine in the current data center under the subnet according to the received routing control identifier for adjusting routing information.
[0115] When there is a virtual machine moving out or moving in in the current data center, the gateway device in the current data center will receive the routing control identifier sent by the virtual machine management server. Whether the ...
Embodiment 3
[0135] Corresponding to the method for controlling the generation of routing information in Embodiment 1 of the present invention, this embodiment of the present invention also provides a device for controlling the generation of routing information, such as image 3 Shown is a schematic structural diagram of a device for controlling routing information generation in an embodiment of the present invention, including:
[0136]An obtaining module 301, configured to obtain the subnet where the virtual machine is located when it is detected that there is a virtual machine that has moved out or moved in in the current data center where the device is located;
[0137] A determination module 302, configured to obtain the total number of all virtual machines included in the subnet, and obtain the number of virtual machines in the current data center under the subnet;
[0138] A processing module 303, configured to determine a ratio between the number of virtual machines and the total n...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 