CN109067573A - A kind of traffic scheduling method and device - Google Patents
A kind of traffic scheduling method and device Download PDFInfo
- Publication number
- CN109067573A CN109067573A CN201810835250.5A CN201810835250A CN109067573A CN 109067573 A CN109067573 A CN 109067573A CN 201810835250 A CN201810835250 A CN 201810835250A CN 109067573 A CN109067573 A CN 109067573A
- Authority
- CN
- China
- Prior art keywords
- address
- subnet
- vnf
- network
- vnf cluster
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0893—Assignment of logical groups to network elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention provides a kind of traffic scheduling method and device, in the present invention, one VPC includes multiple subnets, VNFM distributes gateway resource (VNF cluster) based on the subnet of VPC, that is, the subnet of VPC and the binding relationship of VNF cluster are established, so that the flow of a VPC be made to be carried by multiple VNF clusters, when avoiding VPC flow excessive, a problem of VNF cluster can not carry.
Description
Technical field
The present invention relates to network communication technology field more particularly to a kind of traffic scheduling methods and device.
Background technique
NFV (Network Function Virtualized, network function virtualization) is a kind of using virtualization technology,
Under common hardware support, by the technology of software realization network function.NFV framework generally includes: VNF (Virtual Network
Feature, the network function of virtualization) and VNFM (VNF Manager, VNF manager), wherein VNFM is responsible for creation and portion
VNF is affixed one's name to, and issues configuration information to VNF, to ensure that VNF realizes normal network function.
VPC (Virtual Private Cloud, virtual private cloud) is the net for the logic isolation that cloud service provider provides
Network Simulation spatial service, tenant can buy VPC (for example, cloud database) from cloud service provider.
It needs to dispose gateway between the VPC of tenant's purchase and the data center of tenant.Under NFV framework, which can
It is realized by the VNF cluster that VNFM is specified, and a VPC can only be bound with a VNF cluster, if the flow of VPC is larger, one
VNF cluster possibly can not carry.
Summary of the invention
The present invention in order to when solving the problems, such as that VPC flow is larger a VNF cluster can not carry, propose a kind of flow scheduling
Method and device, to realize that the flow of a VPC is carried by multiple VNF clusters.
For achieving the above object, the present invention provides the following technical scheme that
In a first aspect, the present invention provides a kind of traffic scheduling method, it is applied to VNFM, which comprises
The first message for being used to request distribution gateway resource that cloud platform is sent based on each subnet is received respectively, it is described
It include the network segment address of subnet in first message;
Each subnet is performed the following operations, with complete to the operation of each subnet after, the stream of the VPC
Amount is carried by the corresponding multiple VNF clusters of the multiple subnet, wherein the operation includes:
Determine the first VNF cluster to be allocated to current sub network;
It is used to configure the second message of gateway to the first VNF collection pocket transmission, including in second message will be described
First VNF cluster configuration is the first information of the gateway of the current sub network.
Second aspect, the present invention provide a kind of flow scheduling device, are applied to VNFM, and described device includes:
Receiving unit is used to request to distribute gateway resource for receiving cloud platform respectively based on what each subnet was sent
First message includes the network segment address of subnet in first message;
Execution unit, for being performed the following operations to each subnet, to complete the operation to each subnet
Afterwards, the flow of the VPC is carried by the corresponding multiple VNF clusters of the multiple subnet, wherein the operation comprise determining that
Distribute to the first VNF cluster of current sub network;It is used to configure the second message of gateway to the first VNF collection pocket transmission, it is described
It include by the first information for the gateway that the first VNF cluster configuration is the current sub network in second message.
In the present invention it can be seen from above description, a VPC includes multiple subnets, and VNFM is distributed based on the subnet of VPC
Gateway resource (VNF cluster), that is, the subnet of VPC and the binding relationship of VNF cluster are established, to make the flow of a VPC by more
The carrying of a VNF cluster, when avoiding VPC flow excessive, a problem of VNF cluster can not carry.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is the existing cloud network schematic diagram based on NFV framework;
Fig. 2 is a kind of flow chart of traffic scheduling method shown in the embodiment of the present invention;
Fig. 3 is the flow chart of the flow migration shown in the embodiment of the present invention;
Fig. 4 is a kind of cloud network schematic diagram based on NFV framework shown in the embodiment of the present invention;
Fig. 5 is the cloud network schematic diagram after the flow migration shown in the embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of flow scheduling device shown in the embodiment of the present invention.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they be only with it is such as appended
The example of device and method being described in detail in claims, some aspects of the invention are consistent.
It is only to be not intended to limit the invention merely for for the purpose of describing particular embodiments in terminology used in the present invention.
It is also intended in the present invention and the "an" of singular used in the attached claims, " described " and "the" including majority
Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to and wraps
It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the present invention
A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from
In the case where the scope of the invention, the first information can also be referred to as third information, and similarly, third information can also be referred to as
One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determination ".
It is the existing cloud network schematic diagram based on NFV framework referring to Fig. 1.Wherein, cloud platform 110 is responsible for configuration management rent
The VPC resource (VPC130) at family;VNFM120 is responsible for configuration management VNF cluster (VNF cluster 161, VNF cluster 162);VNF cluster
As gateway deployment between VPC and data center 170.
In existing configuration mode, a VPC can only establish binding relationship with a VNF cluster, that is, the stream of same VPC
Amount can only be carried by a VNF cluster.For example, the flow of VPC130 is carried by VNF cluster 161 completely shown in Fig. 1.If
The flow of VPC130 is excessive, then VNF cluster 161 will be unable to carry, and will affect the forwarding performance of VPC130 flow.
In view of the above-mentioned problems, the present invention proposes a kind of traffic scheduling method, and in the method, subnet of the VNFM based on VPC
Distribute gateway resource, that is, the subnet of VPC and the binding relationship of VNF cluster are established, to make the flow of a VPC by multiple VNF
Cluster carrying, when avoiding VPC flow excessive, a problem of VNF cluster can not carry.
To make the objectives, technical solutions, and advantages of the present invention clearer, right in the following with reference to the drawings and specific embodiments
The present invention is described in detail:
It referring to fig. 2, is a kind of flow chart of traffic scheduling method shown in the embodiment of the present invention, which is applied to
VNFM。
As shown in Fig. 2, the process can comprise the following steps that
Step 201, VNFM receives cloud platform respectively and is used to request to distribute gateway resource based on what each subnet was sent
First message.
It include the network segment address of subnet, i.e., the network segment that the IP address of VM is constituted in subnet in first message.
It should be noted that a VPC may include multiple subnets in the present invention.
In specific implementation, Regional Distribution subnet division can be based on by cloud platform.For example, the VM in the same computer room is drawn
It is divided into a subnet.Cloud platform requests gateway resource to VNMF based on each subnet of division, that is, cloud platform is based respectively on often
One subnet sends the first message for carrying the network segment address of subnet to VNFM.
Here, the name that the first message only carries out for ease of description, is not intended to limit.
Step 202, VNFM performs the following operations each subnet: determining the first VNF collection to be allocated to current sub network
Group is used to configure the second message of gateway to the first VNF collection pocket transmission.
It include for the first information by the first VNF cluster configuration for the gateway of current sub network in second message.First
The particular content of information, is described below, and wouldn't repeat here.
VNFM can receive the message of the request distribution gateway resource of multiple subnets for VPC of cloud platform transmission,
VNFM is similar for the Message processing process of the request distribution gateway resource of multiple subnets in VPC, for ease of description, this implementation
It is described in example with current sub network, current sub network refers to the corresponding son of gateway resource to be allocated that VNFM is presently processing
Net.
After first VNF cluster receives the second message, the first information for including based on the second message completes gateway configuration.Match
It postpones, the first VNF cluster can be used as the gateway of current sub network.The subnet of VPC and the binding relationship of VNF cluster are established, after
Continuous VNFM is by the subnet based on VPC to the VNF cluster issuing service relevant configuration bound with the subnet.
Here, the name that the first VNF cluster, the second message, the first information only carry out for ease of description, is not intended to
It limits.
After completing to the aforesaid operations of each subnet, the flow of VPC will be corresponding multiple by multiple subnets of VPC
The carrying of VNF cluster.
So far, process shown in Fig. 2 is completed.
It can be seen that in the present invention by process shown in Fig. 2, VNFM distributes gateway (VNF cluster) based on the subnet of VPC.
When a VPC includes multiple subnets, corresponding gateway (VNF cluster) can be distributed for each subnet, to make a VPC's
Flow is carried by multiple VNF clusters, when avoiding VPC flow excessive, a problem of VNF cluster can not carry.
The particular content of the first information is described below:
The first information includes: VPN to be created (Virtual Private Network, Virtual Private Network) example
It is mark, source IP (Internet Protocol, the Internet protocol) address in tunnel to be created and purpose IP address, to be generated
The purpose IP address of first route table items and corresponding outgoing interface and network segment address to be released.Here, the first route table items
The only name of progress for ease of description, is not intended to limit.
Wherein, the mark for being identified as the corresponding VPN of VPC of VPN instance to be created.As one embodiment, the mark of VPN
Know to be the mark of VPC.First VNF cluster creates VPN instance based on the mark of VPN instance.
The purpose IP address in tunnel to be created is clothes belonging to VM (Virtual Machine, virtual machine) in current sub network
The IP address of business device.VM subordinate server in current sub network is directed toward in source of the first VNF cluster based on tunnel, purpose IP address creation
Tunnel.
The purpose IP address of first route table items to be generated is the IP address of VM in current sub network, and corresponding outgoing interface is to refer to
The tunnel of VM subordinate server into current sub network.It is VM in current sub network that first VNF cluster, which locally generates purpose IP address,
IP address, outgoing interface are the first route table items for being directed toward the tunnel of VM subordinate server in current sub network.
Network segment address to be released is the network segment address of current sub network.First VNF cluster is based on the network segment address to outer net
Equipment sends routing and gives out information, and routes the network segment address in giving out information including current sub network.Outer net equipment receives routing
After giving out information, the network segment address that purpose IP address is current sub network is generated, outgoing interface is the interface for being directed toward the first VNF cluster
Secondary route list item.Here, the name that secondary route list item only carries out for ease of description, is not intended to limit.
So far, the concrete configuration to the first VNF cluster is completed.The stream of VM in current sub network is sent to when outer net equipment receives
When amount, flow is forwarded to by the first VNF cluster based on secondary route list item.First VNF cluster is based on the first route table items again, will
Tunnel of the flow by VM subordinate server in direction current sub network, the VM being sent in current sub network.
It should be added that cloud platform can also notice the first VNF cluster by VM subordinate server into current sub network
IP address.The first VNF cluster is directed toward in IP address of the VM subordinate server based on the first VNF cluster in current sub network, creation
Tunnel, and the route table items of current sub network are generated, the purpose IP address of the route table items of the current sub network is the first VNF cluster
IP address, outgoing interface are the tunnel for being directed toward the first VNF cluster.The flow initiated of VM in current sub network (is sent to outer net by server
Flow) by being directed toward the tunnel of the first VNF cluster be sent to the first VNF cluster, then outer net is forwarded to by the first VNF cluster.
It can be seen from the above description that the embodiment of the present invention is, it can be achieved that gateway of the first VNF cluster as current sub network
Function.
It is the flow chart of the flow migration shown in the embodiment of the present invention referring to Fig. 3.As shown in figure 3, the process may include with
Lower step:
Step 301, VNFM determines the flow of the first subnet to be migrated in multiple subnets of VPC second extremely to be migrated
VNF cluster.
Here, the first subnet, the 2nd VNF cluster, only the name of progress for ease of description, is not intended to limit.
In the present invention, as one embodiment, the migration that VNFM can receive the IP address for carrying the 2nd VNF cluster refers to
It enables, migration instruction can be inputted the IP address of the 2nd VNF cluster by network administrator to trigger, alternatively, being put down by cloud on VNFM
Other network equipments such as platform send migration instruction to VNFM.
In the present invention, as another embodiment, VNFM can voluntarily detect the operating status of VNF cluster, when carrying the
When the overload of the VNF cluster of one subnet traffic, migration instruction is locally generated.
Step 302, VNFM is used to configure the third message of gateway to the 2nd VNF collection pocket transmission.
It include by the second information of the gateway that the 2nd VNF cluster configuration is the first subnet in the third message.
After 2nd VNF cluster receives third message, the second information for including based on third message completes gateway configuration.Tool
Body configuration process, referring to the configuration process of aforementioned first VNF cluster, which is not described herein again.With postponing, the 2nd VNF cluster can
Gateway as the first subnet.
Here, the name that third message, the second information only carry out for ease of description, is not intended to limit.
So far, process shown in Fig. 3 is completed.
It can be seen that the embodiment of the present invention by process shown in Fig. 3, it can be achieved that the flow based on subnet migrates.Flow moves
It moves granularity to become smaller, migration is more flexible, and configuration work amount relevant to migration can also be reduced, and reduces error probability when configuration.
As one embodiment, after step 302 is performed, threeth VNF of the VNFM to the former flow for carrying the first subnet
Collection pocket transmission is used to cancel the 4th message of gateway.It include the 3rd VNF cluster of revocation in 4th message as the first subnet
The third information of gateway.The particular content of third information, is described below, and wouldn't repeat here.
After 3rd VNF cluster receives the 4th message, the third information for including based on the 4th message executes revocation gateway
Operation.After execution, the 3rd VNF cluster is not re-used as the gateway of the first subnet.
Here, the name that the 3rd VNF cluster, the 4th message, third information only carry out for ease of description, is not intended to
It limits.
So far, operation of the 3rd VNF cluster of revocation as the gateway of the first subnet is completed.The flow of first subnet will be complete
It is carried by the 2nd VNF cluster.
The particular content of third information is described below:
The third information includes: network segment address to be cancelled, the mark of VPN instance to be deleted, third road to be deleted
By the purpose IP address of list item.Here, the name that third route table items only carry out for ease of description, is not intended to limit.
Wherein, network segment address to be cancelled is the network segment address of the first subnet.3rd VNF cluster is based on first subnet
Network segment address sends route withdraw message to outer net equipment, includes the network segment address of the first subnet in route withdraw message.Outer net
After equipment receives route withdraw message, the network segment address that purpose IP address is the first subnet is deleted, outgoing interface is to be directed toward third
4th route table items of the interface of VNF cluster.Here, the name that the 4th route table items only carry out for ease of description, not
For limiting.
The mark for being identified as the corresponding VPN of VPC of VPN instance to be deleted.3rd mark of the VNF cluster based on VPN instance
Know and deletes VPN instance.
The purpose IP address of third route table items to be deleted is the IP address of VM in the first subnet.3rd VNF cluster is deleted
Except the third route table items that purpose IP address is the IP address of VM in the first subnet.
So far, the specific destruction operation to the 3rd VNF cluster is completed.
Method provided by the invention is described below by a specific embodiment:
It referring to fig. 4, is a kind of cloud network schematic diagram based on NFV framework shown in the embodiment of the present invention.VPC130 includes
VM141~VM144;VPC130 is divided into two subnets, including subnet 181 and subnet 182 by cloud platform 110, wherein subnet
181 include VM141 and VM142, and subnet 182 includes VM143 and VM144.
Cloud platform 110 sends the message of request distribution gateway resource based on subnet 181 to VNFM120, is denoted as Packet1.
VNFM120 receives Packet1, includes the network segment address of subnet 181 in Packet1, is denoted as IP181.
VNFM120 determines the VNF cluster to be allocated to subnet 181, for example, VNF cluster 161 is distributed to subnet 181, then
VNFM120 sends the message for configuring gateway to VNF cluster 161, is denoted as Packet2.
Include the mark of VPN instance to be created, the i.e. mark of VPC130 in Packet2, is denoted as ID130.VNF cluster
After 161 receive Packet2, the VPN instance that instance name is ID130 is locallyd create.
It further include the source IP address and purpose IP address in tunnel to be created in Packet2, wherein tunnel to be created
Purpose IP address is the IP address of VM141 and VM142 subordinate server in subnet 181, the i.e. IP address of server 151, is denoted as
IP151.Certainly, may be there are also other servers in subnet 181, and VM is also configured in other services, the present embodiment only with
It is illustrated for one of server 151 in subnet 181, but should not be as limitation.VNF cluster 161 receives
To after Packet2, the tunnel that creation purpose IP address is IP151 is denoted as Tunnel11.
Further include in Packet2 route table items to be generated purpose IP address and corresponding outgoing interface, wherein destination IP
Address is the IP address of VM141 and VM142 in subnet 181, is denoted as IP141, IP142 respectively, and outgoing interface is to be directed toward server 151
Tunnel.After VNF cluster 161 receives Packet2, route table items are generated, as shown in table 1, wherein tunnel11 is to be directed toward clothes
The tunnel of business device 151.When VNF cluster 161 receives the message that purpose IP address is VM141 or VM142, table can be passed through
Routing table shown in 1 determines the outgoing interface of the message next-hop.
Table 1
It further include network segment address to be released in Packet2, which is the network segment address (IP181) of subnet 181.
After VNF cluster 161 receives Packet2, the network equipment into data center 170 sends routing and gives out information, and is denoted as
It include IP181 in Message1, Message1.After the network equipment in data center 170 receives Message1, purpose is generated
IP address is IP181, and outgoing interface is the route table items for being directed toward the interface of VNF cluster 161.The network equipment in data center 170
The flow for being sent to VM (for example, VM141) in subnet 181 can be sent to VNF cluster 161 based on the route table items.VNF cluster
161 again the purpose IP address based on flow (IP141) hit table 1 in the 1st article of route table items, by recorded in the list item go out
The flow for being sent to VM141 is sent to server 151, and then is forwarded to VM141 by interface Tunnel11.
In addition, the VM subordinate server (server 151) into subnet 181 of cloud platform 110 sends the report for creating tunnel
Text is denoted as Packet3.It include the source IP address and purpose IP address in tunnel to be created in Packet3, wherein source IP address
For the IP address of server 151, purpose IP address is the IP address of VNF cluster 161, is denoted as IP161.Server 151 is created as a result,
Building source IP address is IP151, and purpose IP address is the tunnel Tunnel11 of IP161, and generates the route table items of subnet 181, such as
Described in table 2.
Table 2
If VM sends the flow of access data center 170 in subnet 181, which is the flow for being sent to outer net, then services
Device 151 searches the gateway (VNF161) bound with subnet 181, determines the outgoing interface for leading to VNF161.As shown in Table 2, VNF cluster
161 corresponding outgoing interfaces are tunnel Tunnel11, therefore, after carrying out tunnel encapsulation to flow, are sent to VNF collection by Tunnel11
Group 161, then data center 170 is forwarded to by VNF cluster 161.
After completing aforesaid operations, the flow of subnet 181 is carried by VNF cluster 161.
Similarly, cloud platform 110 can request distribution gateway resource to VNFM120 based on subnet 182, for example, VNFM120 is determined
VNF cluster 163 is distributed into subnet 182, treatment process is with the aforementioned process for distributing gateway for subnet 181, and details are not described herein.
The flow of subnet 182 will be carried by VNF cluster 163.
It is carried, is solved by VNF cluster 161 and VNF cluster 163 respectively as it can be seen that the flow of VPC130 is based on subnet
The problem of VPC130 flow is excessive, and single VNF cluster can not carry.
If VNF cluster 161 also carries the flow (being not shown in Fig. 4) of other VPC, at this point, VNF cluster 161 has overloaded,
Then cloud platform 110 issues migration instruction to VNFM120, and migration instruction indicates VNFM120 by the flow of the subnet 181 of VPC130
It migrates to VNF cluster 162, then VNF cluster 162 is assigned as subnet 181 and makees gateway by VNFM120, and treatment process is with aforementioned for son
Net 181 distributes the process of VNF cluster 161, and detail repeats no more.The flow of subnet 181 will be carried by VNF cluster 162, such as
Shown in Fig. 5, the flow of VM141 and VM142 will pass through the tunnel between subordinate server 151 and VNF cluster 162 in subnet 181
Tunnel12 transmission.
VNFM120 sends the message for cancelling gateway to VNF cluster 161, is denoted as Packet4.
It include network segment address to be cancelled in Packet4, which is the network segment address (IP181) of subnet 181.
After VNF cluster 161 receives Packet4, the network equipment into data center 170 sends route withdraw message, is denoted as
It include IP181 in Message2, Message2.After the network equipment in data center 170 receives Message2, purpose is deleted
IP address is IP181, and outgoing interface is the route table items for being directed toward the interface of VNF cluster 161, then the network in data center 170 is set
It is standby the flow for being sent to VM (for example, VM141) in subnet 181 to be sent to VNF cluster 161 again, that is, it is sent to VM in subnet 181
Flow no longer pass through cluster 161 and forward.
It further include the mark of VPN instance to be deleted in Packet4, i.e. the mark of VPC130 (ID130).VNF cluster 161
After receiving Packet4, the VPN instance that instance name is ID130 is deleted.
It further include the purpose IP address of route table items to be deleted in Packet4, which is in subnet 181
The IP address (respectively IP141, IP142) of VM141 and VM142.After VNF cluster 161 receives Packet4, delete shown in table 1
Route table items.
By above-mentioned processing, configuration relevant to subnet 181 on VNF cluster 161 is deleted.
So far, the description of this specific embodiment is completed.
Method provided by the invention is described above, below the apparatus provided by the present invention will be described:
It is a kind of structural schematic diagram of flow scheduling device shown in the embodiment of the present invention referring to Fig. 6.The device can wrap
Include receiving unit 601 and execution unit 602, in which:
Receiving unit 601 is provided based on what each subnet was sent for request distribution gateway for receiving cloud platform respectively
First message in source includes the network segment address of subnet in first message;
Execution unit 602, for being performed the following operations to each subnet, to complete the behaviour to each subnet
After work, the flow of the VPC is carried by the network function VNF cluster of the corresponding multiple virtualizations of the multiple subnet, wherein institute
It states operation and comprises determining that the first VNF cluster to be allocated to current sub network;To the first VNF collection pocket transmission for configuring net
The second message closed includes by the of gateway that the first VNF cluster configuration is the current sub network in second message
One information.
As one embodiment, the first information includes the mark, to be created of virtual private network example to be created
Tunnel source Internet protocol IP address and purpose IP address, the purpose IP address of the first route table items to be generated and corresponding
Outgoing interface and network segment address to be released;
The mark for being identified as the corresponding VPN of the VPC of the VPN instance to be created, so that the first VNF cluster
Create the VPN instance;
The purpose IP address in the tunnel to be created is the IP of virtual machine VM subordinate server in the current sub network
Location, so that the tunnel of the server is directed toward in the first VNF cluster creation;
The purpose IP address of first route table items to be generated is the IP address of the VM, and corresponding outgoing interface is to be directed toward
The tunnel of the server, so that the first VNF cluster generates the IP address that purpose IP address is the VM, outgoing interface is to refer to
To first route table items in the tunnel of the server;
The network segment address to be released is the network segment address of the current sub network, so that the first VNF cluster is outside
Net equipment send routing gives out information, it is described routing give out information in include the current sub network network segment address so that receive
The network segment address that purpose IP address is the current sub network is generated to the outer net equipment to give out information that routes, outgoing interface is to refer to
To the secondary route list item of the interface of the first VNF cluster.
As one embodiment, described device further include:
Migration units, flow second extremely to be migrated for determining the first subnet to be migrated in the multiple subnet
VNF cluster;It is used to configure the third message of gateway to the 2nd VNF collection pocket transmission, including in the third message will be described
2nd VNF cluster configuration is the second information of the gateway of first subnet, so that the 2nd VNF cluster is based on described second
Information is configured as the gateway of first subnet.
As one embodiment, described device further include:
Revocation unit, for the 3rd VNF collection pocket transmission to the former flow for carrying first subnet for cancelling gateway
The 4th message, include the third for cancelling gateway of the 3rd VNF cluster as first subnet in the 4th message
Information, so that the 3rd VNF cluster is revoked the gateway as first subnet based on the third information.
As one embodiment, the third information includes network segment address to be cancelled, virtual private network to be deleted
The mark of example, the purpose IP address of third route table items to be deleted and corresponding outgoing interface;
The network segment address to be cancelled is the network segment address of first subnet, so that the 3rd VNF cluster is outside
Net equipment sends route withdraw message, includes the network segment address of first subnet in the route withdraw message, so as to receive
Outer net equipment to the route withdraw message deletes the network segment address that purpose IP address is first subnet, and outgoing interface is to refer to
To the 4th route table items of the interface of the 3rd VNF cluster;
The mark for being identified as the corresponding VPN of the VPC of the VPN instance to be deleted, so that the 3rd VNF cluster
Delete the VPN instance;
The purpose IP address of the third route table items to be deleted is the IP address of VM in first subnet, so that institute
It states the 3rd VNF cluster and deletes the third route table items that purpose IP address is the IP address of VM in first subnet.
So far, the description of Fig. 6 shown device is completed.The embodiment of the present invention is realized the flow of a VPC by multiple VNF
Cluster carrying, to avoid VPC flow excessive, a problem of VNF cluster can not carry.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention
Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the present invention.
Claims (10)
1. a kind of traffic scheduling method, the network function manager VNFM applied to virtualization, which is characterized in that virtual private cloud
VPC includes multiple subnets, which comprises
The first message for being used to request distribution gateway resource that reception cloud platform is sent based on each subnet respectively, described first
It include the network segment address of subnet in message;
Each subnet is performed the following operations, with after completing to the operation of each subnet, the flow of the VPC by
The network function VNF cluster carrying of the corresponding multiple virtualizations of the multiple subnet, wherein the operation includes:
Determine the first VNF cluster to be allocated to current sub network;
It is used to configure the second message of gateway to the first VNF collection pocket transmission, includes by described first in second message
VNF cluster configuration is the first information of the gateway of the current sub network.
2. the method as described in claim 1, which is characterized in that the first information includes virtual private network to be created
The mark of example, the source Internet protocol IP address in tunnel to be created and purpose IP address, the first route table items to be generated
Purpose IP address and corresponding outgoing interface and network segment address to be released;
The mark for being identified as the corresponding VPN of the VPC of the VPN instance to be created, so that the first VNF cluster creates
The VPN instance;
The purpose IP address in the tunnel to be created is the IP address of virtual machine VM subordinate server in the current sub network, with
The first VNF cluster creation is set to be directed toward the tunnel of the server;
The purpose IP address of first route table items to be generated is the IP address of the VM, and corresponding outgoing interface is described in direction
The tunnel of server, so that the first VNF cluster generates the IP address that purpose IP address is the VM, outgoing interface is direction institute
State first route table items in the tunnel of server;
The network segment address to be released is the network segment address of the current sub network, so that the first VNF cluster is set to outer net
Preparation send routing to give out information, it is described routing give out information in include the current sub network network segment address, so as to receive institute
It states the outer net equipment that routing gives out information and generates the network segment address that purpose IP address is the current sub network, outgoing interface is direction institute
State the secondary route list item of the interface of the first VNF cluster.
3. the method as described in claim 1, which is characterized in that the method also includes:
Determine the flow of the first subnet to be migrated in the multiple subnet the 2nd VNF cluster extremely to be migrated;
It is used to configure the third message of gateway to the 2nd VNF collection pocket transmission, includes by described second in the third message
VNF cluster configuration is the second information of the gateway of first subnet, so that the 2nd VNF cluster is based on second information
It is configured as the gateway of first subnet.
4. method as claimed in claim 3, which is characterized in that described to be used to configure gateway to the 2nd VNF collection pocket transmission
Third message after, further includes:
It is used to cancel the 4th message of gateway to the 3rd VNF collection pocket transmission of the former flow for carrying first subnet, described the
It include the third information for cancelling gateway of the 3rd VNF cluster as first subnet in four messages, so that the third
VNF cluster is revoked the gateway as first subnet based on the third information.
5. method as claimed in claim 4, which is characterized in that the third information includes network segment address to be cancelled, wait delete
The purpose IP address of the mark for the virtual private network example removed, third route table items to be deleted;
The network segment address to be cancelled is the network segment address of first subnet, so that the 3rd VNF cluster is set to outer net
Preparation send route withdraw message, includes the network segment address of first subnet in the route withdraw message, so as to receive institute
The outer net equipment for stating route withdraw message deletes the network segment address that purpose IP address is first subnet, and outgoing interface is direction institute
State the 4th route table items of the interface of the 3rd VNF cluster;
The mark for being identified as the corresponding VPN of the VPC of the VPN instance to be deleted, so that the 3rd VNF cluster is deleted
The VPN instance;
The purpose IP address of the third route table items to be deleted is the IP address of VM in first subnet, so that described the
Three VNF clusters delete the third route table items that purpose IP address is the IP address of VM in first subnet.
6. a kind of flow scheduling device, the network function manager VNFM applied to virtualization, which is characterized in that virtual private cloud
VPC includes multiple subnets, and described device includes:
Receiving unit, be used to request distribution gateway resource first sent for receiving cloud platform respectively based on each subnet
Message includes the network segment address of subnet in first message;
Execution unit, for being performed the following operations to each subnet, with complete to the operation of each subnet after, institute
The flow for stating VPC is carried by the network function VNF cluster of the corresponding multiple virtualizations of the multiple subnet, wherein the operation
Comprise determining that the first VNF cluster to be allocated to current sub network;It is used to configure the of gateway to the first VNF collection pocket transmission
Two messages include by the first information for the gateway that the first VNF cluster configuration is the current sub network in second message.
7. device as claimed in claim 6, which is characterized in that the first information includes virtual private network to be created
The mark of example, the source Internet protocol IP address in tunnel to be created and purpose IP address, the first route table items to be generated
Purpose IP address and corresponding outgoing interface and network segment address to be released;
The mark for being identified as the corresponding VPN of the VPC of the VPN instance to be created, so that the first VNF cluster creates
The VPN instance;
The purpose IP address in the tunnel to be created is the IP address of virtual machine VM subordinate server in the current sub network, with
The first VNF cluster creation is set to be directed toward the tunnel of the server;
The purpose IP address of first route table items to be generated is the IP address of the VM, and corresponding outgoing interface is described in direction
The tunnel of server, so that the first VNF cluster generates the IP address that purpose IP address is the VM, outgoing interface is direction institute
State first route table items in the tunnel of server;
The network segment address to be released is the network segment address of the current sub network, so that the first VNF cluster is set to outer net
Preparation send routing to give out information, it is described routing give out information in include the current sub network network segment address, so as to receive institute
It states the outer net equipment that routing gives out information and generates the network segment address that purpose IP address is the current sub network, outgoing interface is direction institute
State the secondary route list item of the interface of the first VNF cluster.
8. device as claimed in claim 6, which is characterized in that described device further include:
Migration units, flow the 2nd VNF collection extremely to be migrated for determining the first subnet to be migrated in the multiple subnet
Group;It is used to configure the third message of gateway to the 2nd VNF collection pocket transmission, includes by described second in the third message
VNF cluster configuration is the second information of the gateway of first subnet, so that the 2nd VNF cluster is based on second information
It is configured as the gateway of first subnet.
9. device as claimed in claim 8, which is characterized in that described device further include:
Revocation unit, for being used to cancel the of gateway to the 3rd VNF collection pocket transmission of the former flow for carrying first subnet
Four messages include the third information for cancelling gateway of the 3rd VNF cluster as first subnet in the 4th message,
So that the 3rd VNF cluster is revoked the gateway as first subnet based on the third information.
10. device as claimed in claim 9, which is characterized in that the third information includes network segment address to be cancelled, wait delete
The mark for the virtual private network example removed, the purpose IP address of third route table items to be deleted and corresponding outgoing interface;
The network segment address to be cancelled is the network segment address of first subnet, so that the 3rd VNF cluster is set to outer net
Preparation send route withdraw message, includes the network segment address of first subnet in the route withdraw message, so as to receive institute
The outer net equipment for stating route withdraw message deletes the network segment address that purpose IP address is first subnet, and outgoing interface is direction institute
State the 4th route table items of the interface of the 3rd VNF cluster;
The mark for being identified as the corresponding VPN of the VPC of the VPN instance to be deleted, so that the 3rd VNF cluster is deleted
The VPN instance;
The purpose IP address of the third route table items to be deleted is the IP address of VM in first subnet, so that described the
Three VNF clusters delete the third route table items that purpose IP address is the IP address of VM in first subnet.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810835250.5A CN109067573B (en) | 2018-07-26 | 2018-07-26 | Traffic scheduling method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810835250.5A CN109067573B (en) | 2018-07-26 | 2018-07-26 | Traffic scheduling method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109067573A true CN109067573A (en) | 2018-12-21 |
CN109067573B CN109067573B (en) | 2020-12-29 |
Family
ID=64836580
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810835250.5A Active CN109067573B (en) | 2018-07-26 | 2018-07-26 | Traffic scheduling method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109067573B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110336730A (en) * | 2019-07-09 | 2019-10-15 | 腾讯科技(深圳)有限公司 | A kind of network system and data transmission method |
CN111585800A (en) * | 2020-04-29 | 2020-08-25 | 平安科技(深圳)有限公司 | Virtual private cloud-based network node configuration method, device and medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103399778A (en) * | 2013-07-01 | 2013-11-20 | 华为技术有限公司 | Method and device for on-line integral migration of virtual machine |
CN103703724A (en) * | 2013-08-15 | 2014-04-02 | 华为技术有限公司 | Resource payment method |
CN104717081A (en) * | 2013-12-13 | 2015-06-17 | 杭州华为数字技术有限公司 | Gateway function realization method and device |
CN106936619A (en) * | 2015-12-31 | 2017-07-07 | 华为技术有限公司 | The method and apparatus of on-premise network service |
US20170288971A1 (en) * | 2016-04-04 | 2017-10-05 | Brocade Communications Systems, Inc. | Constraint-Based Virtual Network Function Placement |
CN108063735A (en) * | 2017-12-22 | 2018-05-22 | 新华三技术有限公司 | The distribution method and device of VNF clusters |
-
2018
- 2018-07-26 CN CN201810835250.5A patent/CN109067573B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103399778A (en) * | 2013-07-01 | 2013-11-20 | 华为技术有限公司 | Method and device for on-line integral migration of virtual machine |
CN103703724A (en) * | 2013-08-15 | 2014-04-02 | 华为技术有限公司 | Resource payment method |
CN104717081A (en) * | 2013-12-13 | 2015-06-17 | 杭州华为数字技术有限公司 | Gateway function realization method and device |
CN106936619A (en) * | 2015-12-31 | 2017-07-07 | 华为技术有限公司 | The method and apparatus of on-premise network service |
US20170288971A1 (en) * | 2016-04-04 | 2017-10-05 | Brocade Communications Systems, Inc. | Constraint-Based Virtual Network Function Placement |
CN108063735A (en) * | 2017-12-22 | 2018-05-22 | 新华三技术有限公司 | The distribution method and device of VNF clusters |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110336730A (en) * | 2019-07-09 | 2019-10-15 | 腾讯科技(深圳)有限公司 | A kind of network system and data transmission method |
CN111585800A (en) * | 2020-04-29 | 2020-08-25 | 平安科技(深圳)有限公司 | Virtual private cloud-based network node configuration method, device and medium |
Also Published As
Publication number | Publication date |
---|---|
CN109067573B (en) | 2020-12-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109040276B (en) | Method and device for constructing cloud platform, computer storage medium and terminal | |
CN104584491B (en) | Distributed virtual route and the system and method for exchanging (DVRS) are provided | |
RU2595540C2 (en) | Basic controllers for conversion of universal streams | |
US11153194B2 (en) | Control plane isolation for software defined network routing services | |
CN105657081B (en) | The method, apparatus and system of DHCP service are provided | |
WO2016107418A1 (en) | Allocation method, apparatus and system for cloud network communication path | |
CN104935672B (en) | Load balancing service high availability implementation method and equipment | |
CN102843286B (en) | Implementation method, and system of virtual routers | |
US20170264496A1 (en) | Method and device for information processing | |
CN104584484A (en) | System and method providing policy based data center network automation | |
CN107409096A (en) | Self-adapting load balances | |
CN106953848B (en) | Software defined network implementation method based on ForCES | |
CN104869058A (en) | Method and device for transmitting data message | |
CN104980361A (en) | Load balancing method, device, and system | |
WO2021098819A1 (en) | Route updating method and user cluster | |
CN103095574A (en) | Management method for network system, network system, and management server | |
CN102884763A (en) | Cross-data-center virtual machine migration method, service control gateway and cross-data-center virtual machine migration | |
US9344360B2 (en) | Technique for managing an allocation of a VLAN | |
CN106576075A (en) | Ingress ecmp in virtual distributed routing environment | |
WO2016121736A1 (en) | Orchestrator device, system, and method and program for creating virtual machine | |
CN109587286A (en) | A kind of equipment connection control method and device | |
CN104699522B (en) | A kind of dynamic migration of virtual machine method | |
JP2015032932A (en) | Route control system in carrier network, and method | |
JP6650896B2 (en) | Communication system between virtual machines | |
CN109067573A (en) | A kind of traffic scheduling method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |