Abstract:
A method for resource matching in virtual private cloud (VPC) migration is provided, including: acquiring a node attribute, a link attribute and an adjacent matrix of a customized network requiring VPC migration according to a VPC migration request, where the node attribute includes a network security device attribute of the customized network; acquiring a node attribute, a link attribute and an adjacent matrix of a cloud network in which the VPC is located, where the adjacent matrices are used for indicating connection relations between any two nodes in the customized network and the cloud network, respectively; obtaining multiple matching resources in the cloud network according to a subgraph isomorphism algorithm, where each of the matching resources matches the node attribute, the link attribute and the adjacent matrix of the customized network; and selecting one of the multiple matching resources as a VPC into which the customized network migrates.
Abstract:
A method, related apparatus, and system for virtual network migration are provided. A method provided by an embodiment of the present disclosure includes: locating a source physical node in a regional physical network; obtaining information a virtual element corresponding to each virtual network on the source physical node and state information of each physical node in the regional physical network; determining, according to information the virtual elements and the state information, a physical node that can execute virtual network migration in the regional physical network; reconstructing a mapping relationship between each virtual network and the regional physical network on the physical node; comparing the mapping relationships of each virtual network; selecting a mapping relationship with minimum migration consumption as a mapping relationship for executing migration; and sending, according to the mapping relationship for executing migration, a migration instruction to a physical node that needs to execute virtual network migration.