CN112822085A - Network deployment method and system - Google Patents

Network deployment method and system Download PDF

Info

Publication number
CN112822085A
CN112822085A CN201911129883.5A CN201911129883A CN112822085A CN 112822085 A CN112822085 A CN 112822085A CN 201911129883 A CN201911129883 A CN 201911129883A CN 112822085 A CN112822085 A CN 112822085A
Authority
CN
China
Prior art keywords
port
online
network
routing information
overlay network
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
Application number
CN201911129883.5A
Other languages
Chinese (zh)
Other versions
CN112822085B (en
Inventor
刘卿
江忠文
朱建新
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Cloud Computing Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201911129883.5A priority Critical patent/CN112822085B/en
Priority to PCT/CN2020/129796 priority patent/WO2021098727A1/en
Publication of CN112822085A publication Critical patent/CN112822085A/en
Application granted granted Critical
Publication of CN112822085B publication Critical patent/CN112822085B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • H04L45/023Delayed use of routing table updates

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application provides a method, a system and a communication device for network deployment, and relates to the technical field of communication. The method comprises the following steps: the SDN controller acquires routing information of an overlay network where a port to be online is located and routing information of an overlay network where a port to be connected is located, wherein one of the two overlay networks is a host overlay network, and the other is a network overlay network; the SDN controller synchronizes the routing information of the overlay network where the port to be on-line is located and the routing information of the overlay network where the port to be connected is located to the opposite side respectively, and establishes network connection based on the synchronized routing information. The network deployment method provided by the embodiment of the application realizes the automatic discovery of the VTEP between the host overlay network and the network overlay network and the dynamic establishment of the tunnel based on the SDN technology, and the data plane can realize the networking intercommunication of the hybrid overlay without a VXLAN gateway.

Description

Network deployment method and system
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and a system for network deployment.
Background
With the continuous development of cloud computing technology, building a large-scale cloud computing environment faces more and more challenges, and a data center is required to break through various technical problems. Virtualization is one of the most important features of cloud computing, and in order to meet the requirement that a virtual machine is not perceptually migrated between any networks of a data center, some new network technologies need to be introduced. In which the overlay technique arises in the background.
The overlay technology is a tunneling technology, and the most widely used is a Virtual extended Local Area Network (VXLAN) tunnel. There are three different modes of construction for overlay: network overlay networking, host overlay networking and hybrid overlay networking. In an actual cloud computing environment, an optimal networking scheme should be a hybrid overlay networking combining advantages of two schemes of a network overlay networking and a host overlay networking, but how to synchronize routing information between the network overlay network and the host overlay network to realize networking intercommunication between two sides is a core problem to be solved by the hybrid overlay networking.
Disclosure of Invention
The embodiment of the application provides a network deployment method and system, which can solve the problems of VTEP automatic discovery and tunnel dynamic establishment between hybrid overlay networks.
In a first aspect, a method for network deployment is provided, where the method is applied to a Software Defined Network (SDN) controller, the SDN controller is connected to a plurality of switches, the plurality of switches include at least one physical switch and at least one virtual switch, and a network overlay network based on the at least one physical switch and a host overlay network based on the at least one virtual switch are managed by the SDN controller, and the method includes: receiving a port online request; determining interworking domain information of a port to be online according to the port online request, wherein the port to be online is a port on one of the switches, and the interworking domain information of the port to be online represents the communication capacity of the port to be online; determining a port to be connected of the port to be online according to the interworking domain information of the port to be online, wherein the port to be online and the port to be connected are located in different overlay networks; acquiring the routing information of the port to be connected and the routing information of the port to be connected; and synchronizing the routing information of the port to be online to the switch to which the port to be connected belongs, and synchronizing the routing information of the port to be connected to the switch to which the port to be online belongs.
It should be understood that the switch referred to in the embodiments of the present application may be one of network devices, and may also be a device that implements the method described in the present application through a routing device, etc.
Optionally, the process of the method for synchronizing routing information provided in the embodiment of the present application may include: after receiving the original routing information of the host overlay network, the SDN controller changes the format of the original routing information, so that the format of the original routing information can be identified by the host overlay network and the network overlay network, and then the original routing information is sent to the network overlay network; similarly, after receiving the original routing information of the network overlay network, the SDN controller may modify a format of the original routing information so that the format can be identified by the host overlay network and the network overlay network, and then send the original routing information to the host overlay network. In other words, after the SDN controller acquires the original information of the two sides, the original information is converted into a format that can be recognized by the network systems of the two sides, and then the converted routing information can be sent to the opposite side, so that the routing information is synchronized.
With reference to the first aspect, in some implementation manners of the first aspect, the determining, according to the interworking domain information of the port to be uplinked, a port to be connected of the port to be uplinked includes: determining an overlay network to which the port to be online belongs; in an overlay network different from the overlay network to which the port to be online belongs, determining the port to be connected according to the interworking domain information of the port to be online, wherein the port to be online and the port to be connected belong to the same interworking domain.
It should be understood that the concept of the interworking domain proposed in the embodiment of the present application means that networking interworking can be achieved between VMs or BMs in the same interworking domain, and VMs or BMs outside the domain cannot achieve networking interworking with VMs or BMs inside the interworking domain.
Optionally, in this embodiment of the present application, the interworking domain may be 1 subnet, or may be n subnets interworking in three layers, and the SDN controller maintains a mapping relationship between the subnets and the interworking domain.
With reference to the first aspect, in some implementation manners of the first aspect, synchronizing the routing information of the port to be online to the switch to which the port to be connected belongs, and synchronizing the routing information of the port to be connected to the switch to which the port to be online belongs includes: changing the formats of the routing information of the port to be on-line and the routing information of the port to be connected into formats which can be identified by the port to be on-line and a switch to which the port to be connected belongs; sending the routing information of the port to be connected with the line after the format is changed to an overlay network where the port to be connected is located; and sending the routing information of the port to be connected after the format is changed to an overlay network where the port to be on-line is located.
With reference to the first aspect, in some implementation manners of the first aspect, the synchronizing the routing information of the port to be brought online to the overlay network to which the port to be connected belongs includes: judging that the port to be connected has routing information to be synchronized; and synchronizing the routing information of the port to be online to the switch to which the port to be connected belongs.
With reference to the first aspect, in some implementation manners of the first aspect, the synchronizing the routing information of the port to be brought online to the overlay network to which the port to be connected belongs includes: judging that the switch to which the port to be online belongs does not have network connection established between other ports except the port to be online and an overlay network to which the port to be connected belongs; and synchronizing the routing information of the port to be connected to the switch to which the port to be on-line belongs.
With reference to the first aspect, in certain implementations of the first aspect, the establishing a network connection includes: and establishing a VXLAN tunnel between the network overlay network and the host overlay network.
With reference to the first aspect, in some implementation manners of the first aspect, the routing information of the port to be brought online or the routing information of the port to be connected includes any one or more of the following: the port to be online or the VXLAN network identification VNI where the port to be connected is located, the VTEP internet protocol address IP where the port to be online or the port to be connected belongs, and the media access control MAC IP of the network where the port to be online or the port to be connected is located.
In a second aspect, a system for network deployment is provided, the system comprising an SDN controller connected to a plurality of switches and capable of communicating with the plurality of switches through ports on the switches, the plurality of switches comprising at least one physical switch and at least one virtual switch, a network overlay network based on the at least one physical switch and a host overlay network based on the at least one virtual switch being managed by the SDN controller, wherein the SDN controller is configured to receive a port online request, wherein a new online port belongs to the at least one physical switch and the at least one virtual switch; the SDN controller is further configured to determine, according to the port on-line request, interworking domain information of a port to be on-line, where the port to be on-line is a port on one of the switches, and the interworking domain information of the port to be on-line represents communication capability of the port to be on-line; the SDN controller is further configured to determine a port to be connected of the port to be online according to interworking domain information of the port to be online, where the port to be online and the port to be connected are located in different overlay networks; the SDN controller is further configured to acquire routing information of the port to be online and routing information of the port to be connected; the SDN controller is further configured to synchronize the routing information of the port to be brought online to the switch to which the port to be connected belongs, and synchronize the routing information of the port to be connected to the switch to which the port to be brought online belongs.
With reference to the second aspect, in some implementations provided by the second aspect, the SDN controller is specifically configured to determine an overlay network to which the port to be brought online belongs; in an overlay network different from the overlay network to which the port to be online belongs, determining the port to be connected according to the interworking domain information of the port to be online, wherein the port to be online and the port to be connected belong to the same interworking domain.
It should be understood that the concept of the interworking domain proposed in the embodiment of the present application means that networking interworking can be achieved between VMs or BMs in the same interworking domain, and VMs or BMs outside the domain cannot achieve networking interworking with VMs or BMs inside the interworking domain.
Optionally, in this embodiment of the present application, the interworking domain may be 1 subnet, or may be n subnets interworking in three layers, and the SDN controller maintains a mapping relationship between the subnets and the interworking domain.
With reference to the second aspect, in some implementation manners provided by the second aspect, the SDN controller is specifically configured to change formats of the routing information of the port to be brought online and the routing information of the port to be connected into formats that can be recognized by the port to be brought online and a switch to which the port to be connected belongs; sending the routing information of the port to be connected with the line after the format is changed to an overlay network where the port to be connected is located; and sending the routing information of the port to be connected after the format is changed to an overlay network where the port to be on-line is located.
With reference to the second aspect, in some implementation manners provided by the second aspect, the SDN controller is specifically configured to determine that the port to be connected has to-be-synchronized routing information; and synchronizing the routing information of the port to be online to the switch to which the port to be connected belongs.
With reference to the second aspect, in some implementation manners provided by the second aspect, the SDN controller is specifically configured to determine that there is no network connection established between a switch to which the port to be brought online belongs and an overlay network to which the port to be connected belongs, where the switch does not have other ports except the port to be brought online; and synchronizing the routing information of the port to be connected to the switch to which the port to be on-line belongs.
With reference to the second aspect, in certain implementations provided by the second aspect, the physical switch and the virtual switch are further configured to establish a VXLAN tunnel between the network overlay network and the host overlay network.
With reference to the second aspect, in some implementations provided by the second aspect, the routing information of the port to be brought online or the routing information of the port to be connected includes any one or more of the following: the port to be online or the VXLAN network identification VNI where the port to be connected is located, the VTEP internet protocol address IP where the port to be online or the port to be connected belongs, and the media access control MAC IP of the network where the port to be online or the port to be connected is located.
In a third aspect, an SDN controller is provided, the SDN controller being connected to a plurality of switches, the plurality of switches including at least one physical switch and at least one virtual switch, a network overlay network based on the at least one physical switch and a host overlay network based on the at least one virtual switch being managed by the SDN controller, the SDN controller comprising: the receiving module is used for receiving a port online request; the routing synchronization module is used for determining the intercommunication domain information of a port to be online according to the port online request, wherein the port to be online is a port on one of the switches, and the intercommunication domain information of the port to be online represents the communication capacity of the port to be online; determining a port to be connected of the port to be online according to the interworking domain information of the port to be online, wherein the port to be online and the port to be connected are located in different overlay networks; the route collection module is used for acquiring the route information of the port to be online and the route information of the port to be connected; the routing synchronization module is further configured to synchronize the routing information of the port to be online to the switch to which the port to be connected belongs, and synchronize the routing information of the port to be connected to the switch to which the port to be online belongs.
With reference to the third aspect, in some implementation manners of the third aspect, the route synchronization module is specifically configured to determine an overlay network to which the port to be online belongs; in an overlay network different from the overlay network to which the port to be online belongs, determining the port to be connected according to the interworking domain information of the port to be online, wherein the port to be online and the port to be connected belong to the same interworking domain.
With reference to the third aspect, in some implementation manners of the third aspect, the route synchronization module is specifically configured to change formats of the route information of the port to be online and the route information of the port to be connected into formats that can be recognized by the port to be online and a switch to which the port to be connected belongs; sending the routing information of the port to be connected with the line after the format is changed to an overlay network where the port to be connected is located; and sending the routing information of the port to be connected after the format is changed to an overlay network where the port to be on-line is located.
With reference to the third aspect, in some implementation manners of the third aspect, the route synchronization module is specifically configured to determine that the to-be-connected port has to-be-synchronized routing information; and synchronizing the routing information of the port to be online to the switch to which the port to be connected belongs.
With reference to the third aspect, in some implementation manners of the third aspect, the route synchronization module is specifically configured to determine that no network connection has been established between a port to be connected and an overlay network to which the port to be connected belongs and a switch to which the port to be connected belongs, where the switch to which the port to be connected belongs does not have other ports except the port to be connected; and synchronizing the routing information of the port to be connected to the switch to which the port to be on-line belongs.
It should be understood that the establishing of the network connection according to the embodiment of the present application includes: and establishing a VXLAN tunnel between the network overlay network and the host overlay network.
With reference to the third aspect, in some implementations of the third aspect, the routing information of the port to be brought online or the routing information of the port to be connected includes any one or more of: the port to be online or the VXLAN network identification VNI where the port to be connected is located, the VTEP internet protocol address IP where the port to be online or the port to be connected belongs, and the media access control MAC IP of the network where the port to be online or the port to be connected is located.
In a fourth aspect, a computing device, the computing device comprising: at least one processor and a storage unit, the at least one processor executing program instructions in the storage unit to implement functions on an SDN controller in a method according to any implementation of the first aspect.
In a fifth aspect, a computer program storage medium is provided, having program instructions which, when executed directly or indirectly, cause functions of the method according to any of the implementations of the first aspect to be implemented on an SDN controller.
According to the method for synchronizing the routing information, the routing information of the host overlay network and the network overlay network is collected and synchronized by using the SDN technology, so that the VTEP between the host overlay network and the network overlay network is automatically discovered and the tunnel is dynamically established, and the networking intercommunication of the hybrid overlay can be realized on a data plane without a VXLAN gateway.
Drawings
Fig. 1 shows a schematic diagram of an existing hybrid networking interworking.
Fig. 2 shows a schematic diagram of an architecture applied by a method for network deployment provided by an embodiment of the present application.
Fig. 3 shows a schematic flowchart of a network deployment method provided in an embodiment of the present application.
Fig. 4 shows a schematic flowchart of host overlay network and network overlay network data plane forwarding provided in an embodiment of the present application.
Fig. 5 shows a schematic structural diagram of an SDN controller provided in an embodiment of the present application.
Fig. 6 shows a schematic flow chart of the route information collection performed by the route collection module in the SDN controller in the embodiment of the present application.
Fig. 7 shows a schematic flowchart of a process of performing route information synchronization by a route synchronization module in an SDN controller in an embodiment of the present application.
Fig. 8 shows a schematic block diagram of a computing device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
To facilitate understanding of the technical solutions of the present application, the following first introduces communication technologies that may be involved in the embodiments of the present application.
1. Network overlay technology
In the field of network technologies, Overlay indicates a virtualization technology mode superimposed on a network architecture, and a general framework thereof is to implement load bearing applied to a network without modifying a basic network in a large scale, and to be capable of separating from other network services, and is mainly based on a basic network technology based on an Internet Protocol (IP). In other words, overlay is a virtual network virtualized on a traditional network, and the traditional network does not need any adaptation, so that a physical layer network only corresponds to physical layer computing (a physical machine, a virtualization layer management network), and a virtual network only corresponds to virtual computing (a service IP of a virtual machine).
It should be understood that the network overlay network related to the routing information synchronization method provided in the embodiment of the present application may also be referred to as a network overlay networking or a network overlay network, and the host overlay network may also be referred to as a host overlay networking or a host overlay network.
2. Software Defined Network (SDN) technology
SDN technology is one implementation of network virtualization. The design concept is to separate the control plane and the data forwarding plane of the network, so that the supply part is measured in a programmable control mode through a software platform in the centralized controller, the control plane and the data forwarding plane are separated, the bottom hardware of the programmable control is realized through the software platform in the centralized controller, and the flexible network resource allocation according to requirements is realized. In the SDN network, the network device is only responsible for pure data forwarding, and may adopt general hardware; the original operating system responsible for control is abstracted into an independent network operating system which is responsible for adapting to different service characteristics, and the communication among the network operating system, the service characteristics and the hardware equipment can be realized through programming.
3. Interworking domain
In order to facilitate understanding of the method for synchronizing routing information provided in the embodiment of the present application, a concept of "interworking domain" is introduced in the embodiment of the present application. The interworking domain may be a first threshold range controlled by the SDN controller, networking interworking may be implemented between Virtual Machines (VMs) or physical machines (bare machines, BMs) in the interworking domain, and a VM/BM outside the interworking domain cannot implement networking interworking with a VM/BM in the interworking domain. In a specific implementation, the interworking domain may be, for example, 1 subnet, or n subnets interworking in three layers, where n is a positive integer greater than 1, and the SDN controller may be configured to maintain a mapping relationship between the subnet and the interworking domain. It should be understood that the interworking domain may control the first threshold range for the SDN controller, that is, the SDN controller may collect only the routing information of the host overlay network or the network overlay network within the specific range, and does not need to collect the routing information outside the control range of the SDN controller, so as to prevent the SDN from acquiring redundant information.
Fig. 1 shows a schematic diagram of an existing hybrid networking interworking.
In order to implement hybrid overlay networking interworking, a virtual extensible local area network (VXLAN) gateway (gateway) is adopted as a transit node in the current technology. As shown in fig. 1, the VM on the left side adopts a host overlay network, and uses a virtual switch (vSwitch) on the compute node as a Virtual Tunnel End Point (VTEP) node; and the right VM or BM adopts a network overlay network and uses a physical switch as a VTEP node. In order to realize networking intercommunication of VMs on two sides, the data center adopts a VXLAN gateway, and adds VXLAN networks on two sides into the gateway, and the gateway generates a forwarding table according to the added VXLAN networks.
For convenience of understanding, a virtual tunnel endpoint of a host overlay network on the left side in fig. 1 is denoted as VTEP a, and a virtual machine is denoted as VM a; and recording the virtual tunnel endpoint of the overlay network on the right side as VTEP B, and recording the virtual machine as VM B. The key flow for accessing VM2 under VTEP B by VTEP A is as follows: the VTEP a forwards the VXLAN packet a of the VM a to the VXLAN gateway, and the VXLAN gateway decapsulates the packet a, finds the VXLAN network forwarding table of the VM2 according to a destination Media Access Control (MAC) address, and then re-encapsulates the packet a VXLAN and forwards it to the VTEP B.
However, in the currently adopted hybrid networking interworking method, the VXLAN gateway plays a role in forwarding the data packet, so that if the VXLAN gateway fails, the data plane is broken down, and the traffic on both sides is different. Furthermore, VXLAN gateways present a bottleneck to their performance as a centralized gateway.
Therefore, in order to solve the problem of networking intercommunication between the host overlay network and the network overlay network in a hybrid overlay networking scene, embodiments of the present application provide a network deployment method, which is based on an SDN technology and can implement VTEP automatic discovery and dynamic establishment of a tunnel between the host overlay network and the network overlay network, so that a data plane can implement networking intercommunication of the hybrid overlay without passing through a VXLAN gateway.
The method for network deployment provided by the embodiment of the present application is described below with reference to the accompanying drawings.
Fig. 2 is a schematic diagram illustrating an application architecture of a method for network deployment according to an embodiment of the present application.
Wherein, the left side is a host overlay network, and the right side is a network overlay network. VTEP a and VTEP B are virtual nodes of the host overlay network, respectively, and VTEP C and VTEP D are physical nodes of the network overlay network, respectively, where the virtual nodes may be, for example, virtual switches, and the physical nodes may be, for example, physical switches. Generally speaking, a VM of a host overlay network can implement networking intercommunication, and a VM/BM of a network overlay network can also implement networking intercommunication, however, because the networking forms of the two sides are different, routing information of the other side cannot be directly learned, and thus the VM or BM between the two sides cannot implement networking intercommunication. The networking forms of the host overlay network and the network overlay network are different, for example, in the host overlay networking, VXLAN encapsulation or decapsulation is performed on a data packet by a virtual switch; in network overlay networking, a physical switch encapsulates or decapsulates a data packet by VXLAN.
It should be understood that, in the method for network deployment provided in the embodiment of the present application, the host overlay network and the network overlay network are synchronized based on the SDN controller, that is, the SDN controller is used to replace a VXLAN gateway currently used, and a VXLAN data packet is not required to be forwarded, but the host overlay network obtains the routing information of the network overlay network, and the network overlay network obtains the routing information of the host overlay network, so that the routing information of both sides is synchronized. After the routing information synchronization of the two sides is completed, even if the SDN controller fails, the VTEP nodes on the two sides can still carry out normal communication, and data plane paralysis cannot occur.
Fig. 3 shows a schematic flowchart of a method for network deployment provided by an embodiment of the present application. The method of network deployment includes the following.
Optionally, the method for network deployment provided by the embodiment of the present application may be applied to a network architecture including an SDN controller connected to a plurality of switches including at least one physical switch and at least one virtual switch, wherein the at least one physical switch and the at least one virtual switch are managed by the SDN controller.
It should be understood that the method for network deployment provided by the embodiment of the present application may be applied to networking interworking between soft and hard hybrid overlay network systems.
S301, receiving a port online request.
In an implementation manner, the SDN controller may receive a port online request sent by a host overlay network or a new online port of the network overlay network, where the new online port may also be referred to as a port to be online.
S302, according to the port online request, determining the intercommunication domain information of the port to be online, wherein the port to be online is a port on one of a plurality of switches, and the intercommunication domain information of the port to be online represents the communication capacity of the port to be online.
In one implementation manner, a port online request received by the SDN controller includes interworking domain information of the port to be online, where the interworking domain information is used to indicate a communication capability of the port to be online. It should be understood that the communication capability of the port to be online may be an interworking domain to which the port to be online belongs, and since a network connection may be established between ports in the same interworking domain, the interworking domain information may also indicate to which ports the port to be online may establish a network connection.
S303, determining a port to be connected of the port to be online according to the intercommunication domain information of the port to be online, wherein the port to be online and the port to be connected are positioned in different overlay networks; and acquiring the routing information of the port to be connected and the routing information of the port to be connected.
In one implementation manner, the SDN controller may determine, according to a received port online request of a port to be online, a port to be connected to which the port to be online needs to be connected. For example, when the port to be brought online is a port on a VTEP in a host overlay network, the port to be connected may be a port on a VTEP in the network overlay network; or, when the port to be connected to the line is a port on a VTEP in the network overlay network, the port to be connected may be a port on a VTEP in the host overlay network.
In one implementation, the SDN controller may collect, by the routing information collection module, routing information of a port to be online and routing information of a port to be connected. The routing information of the port to be online and the routing information of the port to be connected may not be obtained simultaneously, for example, the SDN controller obtains the routing information of the port to be online when the port to be online requests to be online, and at this time, the SDN controller may already obtain and store the routing information of the port to be connected.
It should be understood that the route information of the port to be online obtained by the SDN controller through the route information collection module may be original route information, that is, the format of the route information is determined by the overlay network where the port to be online is located, and the format of the route information may be identified by the overlay network where the port to be online is located, but cannot be identified by the opposite overlay network.
In one implementation, the SDN controller may store the received routing information to a memory, and in particular, the SDN controller may store the received routing information to a database instead of a memory of hardware to persist the routing information.
In an implementation manner, the routing information may include a VXLAN Network Identifier (VNI) of a port to be online or a port to be connected, an Internet Protocol (IP) address of a VTEP to which the port to be online or the port to be connected belongs, and a Media Access Control (MAC) IP of a network to which the port to be online or the port to be connected belongs.
In an implementation manner, no matter a port to be brought online is a port in a host overlay network or a port in a network overlay network, the SDN controller may mark the port to be brought online. Specifically, the SDN controller may mark two labels for the port to be online through the route collection module: (1) a label of an overlay network to which a port to be online belongs, for example, the port to be online belongs to a host overlay network or a network overlay network; (2) and the intercommunication domain label of the port to be on-line belongs to.
For example, the process of the SDN controller marking the overlay network to which the port to be online belongs may be: the SDN controller may sense a topology of an integrated hybrid overlay network system, and a route collection module in the SDN controller may mark an overlay network to which a port to be online belongs according to a VTEP to which the port to be online belongs in the topology.
For example, the process of the SDN controller marking the interworking domain to which the port to be online belongs may be: the SDN controller can mark an interworking domain to which the port to be online belongs according to a subnet to which the port to be online belongs and a mapping relationship between the subnet and the interworking domain through a route collection module.
It should be understood that the SDN controller collects and marks the routing information, which may be used as a basis for subsequent synchronization of routing information in different overlay networks.
S304, synchronizing the routing information of the port to be online to the overlay network to which the port to be connected belongs, and synchronizing the routing information of the port to be connected to the overlay network to which the port to be online belongs.
It should be understood that the port-to-be-connected routing information received by the SDN controller or the port-to-be-connected routing information may be original routing information, where a format of the original routing information may only be identifiable by an overlay network where the port is located, but may not be identifiable by an opposite overlay network.
In one implementation, the SDN controller changes the format of the acquired original routing information, so that the format of the original routing information can be identified by a two-side overlay network that needs to establish a network connection.
In one implementation manner, after receiving original routing information of a port to be online, an SDN controller changes a format of the original routing information, so that the format of the original routing information can be identified by an overlay network where the port to be online is located and an overlay network where the port to be connected is located. The overlay network where the port to be connected is located may be a host overlay network, and the overlay network where the port to be connected is located may be a network overlay network; or, the overlay network where the port to be online is located may be a network overlay network, and the overlay network where the port to be connected is located may be a host overlay network.
In one implementation, the SDN controller may dynamically obtain routing information of a port to be online, for example, when a host overlay network or a network overlay network has a port that is newly online, the SDN controller may collect routing information corresponding to the newly online port, so as to facilitate subsequent routing information synchronization.
In an implementation manner, the SDN controller may update routing information in an overlay network where a port to be uplinked is located and a port to be connected is located according to a change in the routing information in the overlay networks on the two sides, so that the overlay networks on the two sides have the same routing information related to the port to be uplinked and the port to be connected, so that the subsequent overlay networks on the two sides can implement networking intercommunication based on the routing information related to the port to be uplinked and the port to be connected.
In the following, a process of implementing networking interworking between a host overlay network and a network overlay network is described by taking a scenario in which a port to be online is a port in the network overlay network and a port to be connected is a port in the host overlay network as an example. It should be understood that, in a scenario where a port to be connected is a port in a host overlay network and a port to be connected is a port in a network overlay network, a process of implementing networking interworking between the host overlay network and the network overlay network is similar to that in the scenario, and in order to avoid repetition, a specific process of implementing networking interworking between the overlay networks on both sides in the scenario is not described again here.
In one implementation, when a port which is newly on-line exists in a host overlay network, the SDN controller determines whether the port to be connected has to-be-synchronized routing information. When the port to be connected is judged to have the routing information to be synchronized, the routing information of the port to be connected is synchronized to the overlay network to which the port to be connected belongs.
Illustratively, when a port P of the network overlay network is online, the routing synchronization module may screen out the collected routing information R of the host overlay network located in the same interworking domain as the port to be online according to the interworking domain label and the overlay network label in the routing information based on the total port routing information collected by the routing collection module. Wherein, before screening, whether R exists can be judged, wherein, if R does not exist, that is, no port needing to communicate with the network overlay network side exists on the host overlay network side, and at the moment, routing information synchronization is not needed; if R exists, that is, a port which needs to communicate with the network overlay network side exists on the host overlay network side, at this time, routing information of a new online port P on the network overlay network side needs to be synchronized to the host overlay network side, so that the port on the host overlay network side can access the port P on the network overlay network side.
In one implementation manner, when it is determined that the switch to which the port to be brought online belongs does not have network connection between other ports except the port to be brought online and an overlay network to which the port to be connected belongs, the routing information of the port to be connected is synchronized to the overlay network to which the port to be brought online belongs.
For example, the SDN controller may determine whether there is another port in the same interworking domain in the VTEP node (or switch) where the new online port P is located, where the another port is a port that can communicate with the host overlay network. If yes, the routing information of the host overlay network side in the interworking domain is synchronized, and at the moment, the routing information of the host overlay network side does not need to be synchronized to the network overlay network side again; if the network connection does not exist, it indicates that the host overlay network side and the host overlay network side are the network connection established for the first time, and at this time, the routing information of the host overlay network side needs to be synchronized to the network overlay network side. Wherein, the synchronized information can be routing information which can be identified by the overlay networks at two sides after format change
In an implementation manner, the host overlay network side and the network overlay network side establish a network connection, and the host overlay network side and the network overlay network side establish a VXLAN tunnel.
In one implementation, when the network overlay network side receives the routing information of the host overlay network side sent by the routing synchronization module, the network overlay network updates the routing information of itself, for example, the second routing information is stored in a database or a memory; when the host overlay network receives the routing information of the network overlay network side sent by the routing synchronization module, the host overlay network updates the routing information of the host overlay network, for example, the first routing information is stored in a database or a memory.
In an implementation manner, the routing information sent by the routing information synchronization module to the host overlay network may be routing information related to a port that is newly online in the network overlay network.
It should be understood that, when the overlay network where the port to be connected is located acquires the routing information of the overlay network where the port to be connected is located, and when the overlay network where the port to be connected is located acquires the routing information of the overlay network where the port to be connected is located, the port between the host overlay network and the network overlay network may perform communication. The following describes a data plane forwarding flow of port communication between a host overlay network and a network overlay network with reference to the drawings.
Fig. 4 shows a schematic flowchart of host overlay network and network overlay network data plane forwarding provided in an embodiment of the present application.
It should be understood that the process (data plane forwarding flow) of establishing communication between the host overlay network and the network overlay network shown in fig. 4 is described by taking a VM under the VTEP B of the host overlay network to access a BM under the VTEP D of the network overlay side network in the architecture shown in fig. 2 as an example. The VTEP B is any one of at least one switch of the host overlay network, and the VTEP D is any one of at least one switch of the network overlay side.
For ease of understanding, before describing the data plane forwarding flow on the host overlay side and the network overlay side, first, the concept of head end replication involved in this process is described.
Head end replication: also known as unicast routing. After receiving a multicast (BUM) message, a port acquires a VTEP list belonging to the same VNI through a control plane, sends the received BUM message to a local site through a local interface, copies the BUM message according to the VTEP list and sends the BUM message to all VTEPs belonging to the same VNI.
Specifically, after the SDN controller synchronizes the routing information of the network overlay network to the host overlay network side, the VTEP node of the host overlay network may generate a corresponding head end replication (unicast routing) table. According to the head end replication table, traffic of the host overlay network can be directly routed to the network overlay side without going through the VXLAN gateway. Similarly, the EVTEP node on the network overlay side also generates a corresponding head end replication table according to the synchronized first routing information on the host overlay side, and according to the table, the traffic on the network overlay side can be directly routed to the host overlay side without passing through the VXLAN gateway.
S401, the host computer overlaying network side VM sends a first data packet to the VTEP B of the network overlaying network side.
Wherein, the first data packet includes a head end copy table.
S402, the VTEP B encapsulates the first data packet according to the head end copy table to form a second data packet, and then sends the second data packet to a VTEP D on the network superposition networking side.
The VTEP B may obtain the routing information to the VTEP D according to the synchronized routing information, add the routing information to the head end copy table, and encapsulate the data packet to form a new data packet, that is, a second data packet.
And S403, the VTEP D decapsulates the second data packet to obtain a first data packet, and then sends the first data packet to the destination VM/BM.
S404, the VM/BM at the network overlay side obtains a first data packet.
After the VM/BM on the network overlay side obtains the first data packet, the data packet completes the process of transferring from the VTEP B on the host overlay side to the VTEP D on the network overlay side.
With reference to the drawings, the following describes the role of each module in the process of acquiring the routing information by the SDN controller and synchronizing the routing information of the host overlay network and the network overlay network.
For ease of understanding, the main modules included in the SDN controller are first described below with reference to fig. 5.
Fig. 5 shows a schematic structural diagram of an SDN controller provided in an embodiment of the present application.
The SDN controller related to the network deployment method provided in the embodiment of the present application mainly includes the following modules: a route information collection module 510, a route information synchronization module 520, a host overlay networking control module 530, and a network overlay networking control module 540. The functions of the respective modules are as follows.
The routing information collection module 510: original routing information of the host overlay network and the network overlay network is collected, wherein the routing information may include a VXLAN Network Identifier (VNI), a VTEP IP, a MAC IP, other extension information, and the like.
Routing information synchronization module 520: and the routing information synchronization between the host overlay network and the network overlay network is realized.
The host overlay networking control module 530: and realizing the network configuration of the host overlay network.
Network overlay networking control module 540: and realizing the network configuration of the network overlay network.
Fig. 6 shows a schematic flow chart of the route information collection performed by the route collection module in the SDN controller in the embodiment of the present application.
For convenience of description, the route information collection process shown in fig. 6 is described by taking a port to be online as a port in a network overlay network, and a port to be connected as a port in a host overlay network as an example. The process includes the following.
S601, the VM/BM port in the network overlay network is online.
In one implementation, when a new communication is established, a user needs to create a virtual machine, bare metal, or container, which triggers the SDN controller to allocate a port for the communication, and under the direction of the SDN controller, the corresponding port goes online. The port may include IP address information of a VXLAN tunnel port, etc. In other words, the scenario where a VM/BM is online may be, for example: when the online port cannot meet the communication requirement, the SDN controller instructs the switch to allocate a new port for communication, at the moment, the online port exists in the VTEP node of the switch, and the VTEP node may need to establish a tunnel with the opposite VTEP node subsequently, so as to realize networking intercommunication.
In an exemplary scenario, it is assumed that the host overlay network has two VTEP nodes (denoted as VTEP a and VTEP B), where there is an online port in VTEP a and no online port in VTEP B; the network overlay network side has two VTEPs (denoted as VTEP C and VTEP D), wherein, there is an online port in the VTEP C, but there is no online port in the VTEP D, then the host overlay network and the network overlay network side can establish a VXLAN tunnel with the VTEP C node through the VTEP a node, but cannot establish a VXLAN tunnel with the network overlay network side through the VTEP B. Similarly, VTEP D also cannot establish a VXLAN tunnel with the host overlay network. In other words, only when the host overlay network and the network overlay network both have at least one VTEP node, and the VTEP node has an online port, a VXLAN tunnel can be established with the VTEP on the opposite side, which also has the online port, so as to implement networking interworking between the two networks.
S602, a route collection module of the SDN controller collects port route information.
In one implementation manner, the SDN controller may obtain the routing information of the host overlay network and the network overlay network side through a routing information collection module. The manner of acquiring the routing information of the host overlay network and the network overlay network by the routing information collection module may be as follows: and the routing information collection module receives the routing information reported by the host overlay network and the network overlay network.
It should be understood that when the network overlay network or the host overlay network has an online port, the network overlay network or the host overlay network may report the routing information of the online port to the SDN controller, so that the SDN controller timely obtains accurate routing information of the current host overlay network or the network overlay network; alternatively, the network overlay network or the host overlay network may report the full amount of routing information after the port is on-line to the SDN controller.
In one implementation manner, in a system, no matter whether a port of a network overlay network or a host overlay network is online, the routing information collection module may persist information of the online port, that is, the routing information collection module may store the received first routing information of the host overlay network or the received second routing information of the network overlay network in the database.
S603, the routing synchronization module marks the network system and the intercommunication domain to which the port belongs.
It should be understood that, when subsequently implementing the routing information synchronization, in order to make the updated and synchronized routing information accurate, it is necessary to know the overlay networking to which the online port belongs, that is, the online port belongs to the host overlay networking or the network overlay networking, and therefore, in the process of collecting the routing information, the routing information collecting module needs to mark the overlay network system to which the online port belongs.
It should be further understood that, because networking interworking can be achieved between VMs or BMs belonging to the same interworking domain, and VMs or BMs outside the interworking domain cannot achieve networking interworking with VMs or BMs inside the interworking domain, in the process of collecting routing information, the interworking domain to which an online port belongs needs to be marked, so as to facilitate subsequent screening of ports belonging to the same interworking domain, and achieve synchronization of routing information between the ports.
In an implementation manner, the routing information collection module may mark, for the online port, a label of an overlay network system to which the port belongs, that is, mark that the port belongs to a host overlay network or a network overlay network. Specifically, the SDN controller may sense a topology of the entire hybrid overlay system, and the route collection module may mark an overlay network system to which an online port belongs according to the topology and a VTEP of the online port.
In one implementation, the route collection module will mark the interworking domain label to which the port belongs for the online port. Specifically, the routing information collection module may mark the interworking domain to which the online port belongs according to the subnet to which the port belongs and a mapping relationship between the subnet and the interworking domain.
Fig. 7 shows a schematic flowchart of a process of performing route information synchronization by a route synchronization module in an SDN controller in an embodiment of the present application.
S701, network overlay networking (overlay) side VM/BM port is online.
In one implementation, when a new communication is established, a user needs to create a virtual machine, bare metal, or container, which triggers the SDN controller to allocate a port for the communication, and under the direction of the SDN controller, the corresponding port goes online. The port may include IP address information of a VXLAN tunnel port, etc. In other words, the scenario where a VM/BM is online may be, for example: when the online port cannot meet the communication requirement, the SDN controller instructs the switch to allocate a new port for communication, at the moment, the online port exists in the VTEP node of the switch, and the VTEP node may need to establish a tunnel with the opposite VTEP node subsequently, so as to realize networking intercommunication.
It should be understood that the route information synchronization process shown in fig. 7 is described by taking an example that when a new online port exists in the network overlay network, communication needs to be established with a port to be connected in the host overlay network.
In one implementation, a route synchronization module of the SDN controller may modify a format of original information acquired from the host overlay network and the network overlay network, so that the format of the original information can be recognized by overlay network systems on both sides.
Specifically, after the route synchronization module acquires the original information of the host overlay network, the format of the route synchronization module is changed into a format which can be identified by both the host overlay network and the network overlay network; or after the route synchronization module acquires the original information of the network overlay network, the format of the route synchronization module is changed into a format which can be identified by both the host overlay network and the network overlay network. The routing information after format change can be used as the basis for the subsequent routing information synchronized to the overlay networks on both sides.
S702, the collected routing information of the host overlay network in the same interworking domain is obtained.
In an implementation manner, when a network overlay network port is online, the routing information synchronization module may screen out routing information of a host overlay network that is in the same interworking domain as the network overlay network according to the interworking domain label and the overlay label in the routing information based on all port routing information collected by the routing information collection module.
S703, judging whether the host overlay network side has the routing information to be synchronized.
In an implementation manner, the routing information synchronization module determines whether the host overlay side has routing information to be synchronized according to the routing information of the host overlay network side screened in step S702.
Specifically, when no port of the host overlay network needs to perform networking intercommunication with the network overlay network, routing information synchronization is not needed, that is, routing information of an online port of the network overlay network does not need to be synchronized to the host overlay network at this time, and the routing information synchronization process is ended; when a port of the host overlay network is in networking intercommunication with the network overlay network, the routing information synchronization module needs to further synchronize the routing information of the online port to the host overlay network, so that the VM of the host overlay network can access the new online port of the network overlay.
It should be understood that when there is no routing information to be synchronized to the network overlay network side on the host overlay network side, the network overlay network may also synchronize the routing information of the online port to the host overlay network, but this is not mentioned much in the embodiment of the present application, and therefore, the detailed description is not given here.
It should be understood that, in the method for synchronizing routing information provided in this embodiment of the present application, for a new online port, a port to be connected that needs to be connected to the new online port may exist in the opposite-side overlay network, or a port to be connected that needs to be connected to the new online port may not exist in the opposite-side overlay network. When a port to be connected exists, if the routing information of the overlay network where the port to be connected is located is not synchronized, at this time, the routing information to be synchronized exists and needs to be synchronized to the switch where the new online port is located; when a port to be connected exists, but the routing information of the overlay network where the port to be connected is located is already synchronized to the switch where the online port is located, or when the port to be connected does not exist, then the routing information to be synchronized does not exist. The following further introduces a situation that a port to be connected exists and routing information to be synchronized exists in an overlay network where the port to be connected exists, and details of the situation that the information to be synchronized does not exist are omitted.
S704, synchronizing the routing information of the port to be online to the host overlay network side.
In one implementation, when the routing information synchronization module determines that the host overlay network has the routing information to be synchronized, the routing information of the network overlay network is synchronized to the host overlay network. Specifically, the routing information synchronization module may send the routing information of the network overlay network to the host overlay network, and when the host overlay network receives the routing information of the network overlay network, the host overlay network may store the received routing information in the host memory, that is, update the stored routing information to form an updated routing information table and the like.
It should be understood that the process of synchronizing the routing information of the host overlay network and the network overlay network by the routing information synchronization module may be performed simultaneously or may not be performed simultaneously, and the time sequence of synchronizing the routing information of the two sides by the routing information synchronization module in the embodiment of the present application is not limited.
S705, judging whether other ports of the same intercommunication domain exist in the VTEP node where the port is located.
In an implementation manner, after the routing information synchronization module sends the routing information to the host overlay network, it may further determine whether the VTEP node where the port to be online is located has other ports of the same interworking domain.
In one implementation, when the routing information synchronization module determines that the VTEP node where the online port of the network overlay network is located has other ports in the same interworking domain as the host overlay port, it represents that the host overlay network routing information in the interworking domain has already been synchronized, and resynchronization is not needed, and at this time, the routing information synchronization process may end; when the route synchronization module judges that the VTEP node where the online port of the network overlay network is located does not have other ports which are in the same intercommunication domain as the host overlay port, the route information synchronization is needed, a VXLAN tunnel is established between the two sides according to the synchronized route information, namely the collected route information of the host overlay network needs to be synchronized to the VTEP node, and thus the online port of the network overlay network can access the VM of the host overlay network.
S706, establishing VXLAN tunnels on two sides according to the routing information of the network overlay side.
The specific way of establishing the network connection between the host overlay network side and the network overlay network may be to establish a VXLAN tunnel between the host overlay network side and the network overlay network.
S707, synchronizing the routing information of the host overlay side to the network overlay network side.
It should be understood that, through the above steps, the routing information synchronization between the host overlay network and the network overlay network can be realized when the network overlay network port is online in the hybrid overlay network. In addition, in the hybrid overlay networking, when a port of the host overlay network is online, a process of synchronizing routing information between the host overlay network and the network overlay network is similar to the above-mentioned process, and is not described here again to avoid repetition.
According to the method for network deployment provided by the embodiment of the application, route information synchronization between the host overlay network and the network overlay network is realized by introducing the route collection module and the label mechanism and based on the concept of the interworking domain, so that overlay networking interworking is realized. In addition, the embodiment of the application is based on the SDN technology, automatic discovery of VTEP between the host overlay network and the network overlay network and dynamic establishment of a tunnel are achieved, and by the route information synchronization mode provided by the embodiment of the application, even if an SDN controller fails after the route information synchronization is completed, normal communication can still be performed between the VTEP node of the host overlay network and the VTEP node of the network overlay network, data plane paralysis cannot occur, and the stability and the safety of communication between the nodes on two sides are improved.
Fig. 8 is a schematic structural diagram of a computing device according to an embodiment of the present application. The communication device 800 may include: a processor 810 (e.g., CPU), a memory 820.
In one implementation, the memory 820 may include a random-access memory (RAM), and may also include a non-volatile memory (NVM), such as at least one disk memory; the memory 820 may store various instructions for performing various processing functions and implementing the method steps of the present application.
In one implementation, a communication apparatus related to the present application may further include: power supply 830, communication bus 840, and communication port 850. A communication bus 840 is used to enable communication connections between the elements. The communication port 850 is used for connection communication between the communication device and other peripherals.
In one implementation, the memory 820 may be used to store computer-executable program code, which includes instructions; when the processor 810 executes the instructions, the instructions cause the processor 810 of the computing device to perform the actions of the SDN controller in the above method embodiment, where the specific actions performed by the SDN controller are as described above and are not described herein again.
Embodiments of the present application also provide a computer program storage medium having program instructions, which when executed directly or indirectly, enable the functions of the method described above on an SDN controller to be implemented.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (22)

1. A method for network deployment applied to a software defined network, SDN, controller connected to a plurality of switches, the plurality of switches including at least one physical switch and at least one virtual switch, wherein a network overlay network based on the at least one physical switch and a host overlay network based on the at least one virtual switch are managed by the SDN controller, the method comprising:
receiving a port online request;
determining interworking domain information of a port to be online according to the port online request, wherein the port to be online is a port on one of the switches, and the interworking domain information of the port to be online represents the communication capacity of the port to be online;
determining a port to be connected of the port to be online according to the interworking domain information of the port to be online, wherein the port to be online and the port to be connected are located in different overlay networks;
acquiring the routing information of the port to be connected and the routing information of the port to be connected;
and synchronizing the routing information of the port to be online to an overlay network to which the port to be connected belongs, and synchronizing the routing information of the port to be connected to the overlay network to which the port to be online belongs.
2. The method according to claim 1, wherein the determining the port to be connected of the port to be online according to the interworking domain information of the port to be online comprises:
determining an overlay network to which the port to be online belongs;
in an overlay network different from the overlay network to which the port to be online belongs, determining the port to be connected according to the interworking domain information of the port to be online, wherein the port to be online and the port to be connected belong to the same interworking domain.
3. The method according to claim 1 or 2, wherein synchronizing the routing information of the port to be uplinked to the switch to which the port to be connected belongs and synchronizing the routing information of the port to be connected to the switch to which the port to be uplinked belongs comprises:
changing the formats of the routing information of the port to be on-line and the routing information of the port to be connected into formats which can be identified by the port to be on-line and a switch to which the port to be connected belongs;
sending the routing information of the port to be connected with the line after the format is changed to an overlay network where the port to be connected is located; and is
And sending the routing information of the port to be connected after the format is changed to an overlay network where the port to be on-line is located.
4. The method according to any one of claims 1 to 3, wherein the synchronizing the routing information of the port to be brought online to the overlay network to which the port to be connected belongs comprises:
judging that the port to be connected has routing information to be synchronized;
and synchronizing the routing information of the port to be online to an overlay network to which the port to be connected belongs.
5. The method according to any one of claims 1 to 3, wherein the synchronizing the routing information of the port to be brought online to the overlay network to which the port to be connected belongs comprises:
judging that the switch to which the port to be online belongs does not have network connection established between other ports except the port to be online and an overlay network to which the port to be connected belongs;
and synchronizing the routing information of the port to be connected to the overlay network to which the port to be online belongs.
6. The method of claim 5, wherein the establishing the network connection comprises:
and establishing a virtual extensible local area network VXLAN tunnel between the network overlay network and the host overlay network.
7. The method according to any one of claims 1 to 6, wherein the routing information of the port to be brought online or the routing information of the port to be connected comprises any one or more of the following:
the network identification VNI of the VXLAN to which the port to be online or the port to be connected belongs, the VTEP internet protocol address IP of the port to be online or the VXLAN tunnel to which the port to be connected belongs, and the MAC IP of the network in which the port to be online or the port to be connected belongs.
8. A system for network deployment, the system comprising an SDN controller connected to a plurality of switches, the plurality of switches comprising at least one physical switch and at least one virtual switch, a network overlay network based on the at least one physical switch and a host overlay network based on the at least one virtual switch being managed by the SDN controller, wherein the SDN controller is configured to:
receiving a port online request, wherein an online port belongs to the at least one virtual switch or the at least one physical switch;
determining interworking domain information of a port to be online according to the port online request, wherein the port to be online is a port on one of the switches, and the interworking domain information of the port to be online represents the communication capacity of the port to be online;
determining a port to be connected of the port to be online according to the interworking domain information of the port to be online, wherein the port to be online and the port to be connected are located in different overlay networks;
acquiring the routing information of the port to be connected and the routing information of the port to be connected;
and synchronizing the routing information of the port to be online to the switch to which the port to be connected belongs, and synchronizing the routing information of the port to be connected to the switch to which the port to be online belongs.
9. The system of claim 8, wherein the SDN controller is specifically configured to:
determining an overlay network to which the port to be online belongs;
in an overlay network different from the overlay network to which the port to be online belongs, determining the port to be connected according to the interworking domain information of the port to be online, wherein the port to be online and the port to be connected belong to the same interworking domain.
10. The system according to claim 8 or 9, wherein the SDN controller is specifically configured to:
changing the formats of the routing information of the port to be on-line and the routing information of the port to be connected into formats which can be identified by the port to be on-line and a switch to which the port to be connected belongs;
sending the routing information of the port to be connected with the line after the format is changed to an overlay network where the port to be connected is located; and is
And sending the routing information of the port to be connected after the format is changed to an overlay network where the port to be on-line is located.
11. The system according to any of claims 8-10, wherein the SDN controller is specifically configured to:
judging that the port to be connected has routing information to be synchronized;
and synchronizing the routing information of the port to be online to the switch to which the port to be connected belongs.
12. The system according to any of claims 8-11, wherein the SDN controller is specifically configured to:
judging that the switch to which the port to be online belongs does not have network connection between other ports except the port to be online and an overlay network to which the port to be connected belongs;
and synchronizing the routing information of the port to be connected to the switch to which the port to be on-line belongs.
13. The system of claim 12, wherein the at least one physical switch and the at least one virtual switch are configured to establish a VXLAN tunnel between the network overlay network and a host overlay network.
14. The system according to any one of claims 8 to 13, wherein the routing information of the port to be brought online or the routing information of the port to be connected comprises any one or more of the following:
the port to be online or the VXLAN network identification VNI where the port to be connected is located, the VTEP internet protocol address IP where the port to be online or the port to be connected belongs, and the media access control MAC IP of the network where the port to be online or the port to be connected is located.
15. An SDN controller connected to a plurality of switches, the plurality of switches including at least one physical switch and at least one virtual switch, a network overlay network based on the at least one physical switch and a host overlay network based on the at least one virtual switch being managed by the SDN controller, the SDN controller comprising:
the receiving module is used for receiving a port online request;
the routing synchronization module is used for determining the intercommunication domain information of a port to be online according to the port online request, wherein the port to be online is a port on one of the switches, and the intercommunication domain information of the port to be online represents the communication capacity of the port to be online; determining a port to be connected of the port to be online according to the interworking domain information of the port to be online, wherein the port to be online and the port to be connected are located in different overlay networks;
the route collection module is used for acquiring the route information of the port to be online and the route information of the port to be connected;
the routing synchronization module is further configured to synchronize the routing information of the port to be online to the switch to which the port to be connected belongs, and synchronize the routing information of the port to be connected to the switch to which the port to be online belongs.
16. The SDN controller of claim 15, wherein the route synchronization module is specifically configured to determine an overlay network to which the port to be brought online belongs; in an overlay network different from the overlay network to which the port to be online belongs, determining the port to be connected according to the interworking domain information of the port to be online, wherein the port to be online and the port to be connected belong to the same interworking domain.
17. The SDN controller of claim 15 or 16, wherein the route synchronization module is specifically configured to:
changing the formats of the routing information of the port to be on-line and the routing information of the port to be connected into formats which can be identified by the port to be on-line and a switch to which the port to be connected belongs;
sending the routing information of the port to be connected with the line after the format is changed to an overlay network where the port to be connected is located; and is
And sending the routing information of the port to be connected after the format is changed to an overlay network where the port to be on-line is located.
18. SDN controller according to any one of claims 15-17, wherein the route synchronization module is specifically configured to:
judging that the port to be connected has routing information to be synchronized;
and synchronizing the routing information of the port to be online to the switch to which the port to be connected belongs.
19. SDN controller according to any one of claims 15-18, wherein the route synchronization module is specifically configured to:
judging that the switch to which the port to be online belongs does not have network connection established between other ports except the port to be online and an overlay network to which the port to be connected belongs;
and synchronizing the routing information of the port to be connected to the switch to which the port to be on-line belongs.
20. The SDN controller of any one of claims 15-19, wherein the routing information of the port to be brought online or the port to be connected comprises any one or more of:
the port to be online or the VXLAN network identification VNI where the port to be connected is located, the VTEP internet protocol address IP where the port to be online or the port to be connected belongs, and the media access control MAC IP of the network where the port to be online or the port to be connected is located.
21. A computing device, wherein the computing device comprises: at least one processor and a storage unit, the at least one processor executing program instructions in the storage unit to implement functions on an SDN controller in a method as claimed in any one of claims 1 to 7.
22. A computer program storage medium having program instructions that, when executed directly or indirectly, cause the functionality of the method of any of claims 1 to 7 on an SDN controller to be implemented.
CN201911129883.5A 2019-11-18 2019-11-18 Network deployment method and system Active CN112822085B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201911129883.5A CN112822085B (en) 2019-11-18 2019-11-18 Network deployment method and system
PCT/CN2020/129796 WO2021098727A1 (en) 2019-11-18 2020-11-18 Network deployment method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911129883.5A CN112822085B (en) 2019-11-18 2019-11-18 Network deployment method and system

Publications (2)

Publication Number Publication Date
CN112822085A true CN112822085A (en) 2021-05-18
CN112822085B CN112822085B (en) 2022-12-13

Family

ID=75852630

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911129883.5A Active CN112822085B (en) 2019-11-18 2019-11-18 Network deployment method and system

Country Status (2)

Country Link
CN (1) CN112822085B (en)
WO (1) WO2021098727A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113395328A (en) * 2021-05-24 2021-09-14 浪潮思科网络科技有限公司 Cloud virtual machine and cloud physical machine communication method and system based on hybrid Overlay
CN115277422A (en) * 2022-07-21 2022-11-01 浪潮思科网络科技有限公司 SDN networking generation method, device, equipment and medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114024921B (en) * 2021-10-14 2024-05-28 郑州浪潮数据技术有限公司 Tunnel cooperation method, device, equipment and readable storage medium
CN116155635A (en) * 2022-12-30 2023-05-23 天翼云科技有限公司 Public cloud multicast system, method and device, electronic equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104811382A (en) * 2014-01-28 2015-07-29 华为技术有限公司 Data packet processing method and device
CN105262667A (en) * 2015-09-17 2016-01-20 杭州数梦工场科技有限公司 Method and device for controlling multicast transmission in Overlay network
CN105991387A (en) * 2015-01-29 2016-10-05 杭州华三通信技术有限公司 Message transformation method and device of virtual extensible local area network (VXLAN)
US20170041209A1 (en) * 2015-08-03 2017-02-09 Telefonaktiebolaget L M Ericsson (Publ) Method and system for path monitoring in a software-defined networking (sdn) system
CN107306215A (en) * 2016-04-18 2017-10-31 ***通信集团江西有限公司 A kind of data processing method, system and node
CN108768817A (en) * 2018-05-22 2018-11-06 腾讯科技(深圳)有限公司 A kind of virtualization network constructing system, data packet sending method
CN109218053A (en) * 2017-07-03 2019-01-15 中兴通讯股份有限公司 Implementation method, system and the storage medium of virtual data center
CN109660443A (en) * 2018-12-26 2019-04-19 江苏省未来网络创新研究院 Physical equipment and virtual network communication method and system based on SDN
CN208939985U (en) * 2018-09-26 2019-06-04 中国海洋石油集团有限公司 CNOOC cloud Virtual Networking System

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9614978B2 (en) * 2014-10-31 2017-04-04 At&T Intellectual Property I, L.P. Roaming support for software defined networking architecture in mobile network
CN108259349B (en) * 2017-08-31 2020-11-27 新华三技术有限公司 Message forwarding method and device
CN109257265B (en) * 2018-08-10 2021-04-20 锐捷网络股份有限公司 Flooding suppression method, VXLAN bridge, gateway and system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104811382A (en) * 2014-01-28 2015-07-29 华为技术有限公司 Data packet processing method and device
CN105991387A (en) * 2015-01-29 2016-10-05 杭州华三通信技术有限公司 Message transformation method and device of virtual extensible local area network (VXLAN)
US20170041209A1 (en) * 2015-08-03 2017-02-09 Telefonaktiebolaget L M Ericsson (Publ) Method and system for path monitoring in a software-defined networking (sdn) system
CN105262667A (en) * 2015-09-17 2016-01-20 杭州数梦工场科技有限公司 Method and device for controlling multicast transmission in Overlay network
CN107306215A (en) * 2016-04-18 2017-10-31 ***通信集团江西有限公司 A kind of data processing method, system and node
CN109218053A (en) * 2017-07-03 2019-01-15 中兴通讯股份有限公司 Implementation method, system and the storage medium of virtual data center
CN108768817A (en) * 2018-05-22 2018-11-06 腾讯科技(深圳)有限公司 A kind of virtualization network constructing system, data packet sending method
CN208939985U (en) * 2018-09-26 2019-06-04 中国海洋石油集团有限公司 CNOOC cloud Virtual Networking System
CN109660443A (en) * 2018-12-26 2019-04-19 江苏省未来网络创新研究院 Physical equipment and virtual network communication method and system based on SDN

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
RYOTA KAWASHIMA: "Non-tunneling Edge-Overlay Model Using OpenFlow for Cloud Datacenter Networks", 《2013 IEEE 5TH INTERNATIONAL CONFERENCE ON CLOUD COMPUTING TECHNOLOGY AND SCIENCE》 *
徐俭: "SDN叠加虚拟化网络技术探究", 《第18届全国互联网与音视频广播发展研讨会暨第27届中国数字广播电视与网络发展年会论文集》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113395328A (en) * 2021-05-24 2021-09-14 浪潮思科网络科技有限公司 Cloud virtual machine and cloud physical machine communication method and system based on hybrid Overlay
CN115277422A (en) * 2022-07-21 2022-11-01 浪潮思科网络科技有限公司 SDN networking generation method, device, equipment and medium
CN115277422B (en) * 2022-07-21 2024-04-16 浪潮思科网络科技有限公司 SDN networking generation method, device, equipment and medium

Also Published As

Publication number Publication date
CN112822085B (en) 2022-12-13
WO2021098727A1 (en) 2021-05-27

Similar Documents

Publication Publication Date Title
CN112822085B (en) Network deployment method and system
CN108574616B (en) Method, equipment and system for processing route
EP3691185B1 (en) Method for processing message, device, and system
CN105262615B (en) Physical path determination for virtual network packet flows
CN107846358B (en) Data transmission method, device and network system
EP3509253A1 (en) Inter-cloud communication method and related device, inter-cloud communication configuration method and related device
CN111736958B (en) Virtual machine migration method, system, computer equipment and storage medium
CN113132229B (en) Segment identifier determination method and device
CN107733795B (en) Ethernet virtual private network EVPN and public network intercommunication method and device
CN109728962B (en) Method and equipment for sending message
US20170331641A1 (en) Deployment Of Virtual Extensible Local Area Network
EP3694157B1 (en) Vxlan configuration method, device and system
CN104081733A (en) Interconnecting data centers for migration of virtual machines
US20230300070A1 (en) Packet Sending Method, Device, and System
WO2022110535A1 (en) Packet sending method, device, and system
CN111556110B (en) Automatic adaptation method for different physical service networks of private cloud system
EP3989512A1 (en) Method for controlling traffic forwarding, device, and system
US20190215191A1 (en) Deployment Of Virtual Extensible Local Area Network
CN110474829B (en) Method and device for transmitting message
WO2022017099A1 (en) Communication method, cp device, and nat device
WO2019157476A1 (en) Binding osi layer 3 ip connections to osi layer 2 for mesh networks
CN113254148A (en) Virtual machine migration method and cloud management platform
CN108092810A (en) A kind of virtual machine management method, VTEP equipment and management equipment
CN110830598B (en) Method and network equipment for establishing and transmitting interface address and alias in BGP (Border gateway protocol) session
JP2020113836A (en) Information processing device, information processing system, and setting program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
TA01 Transfer of patent application right

Effective date of registration: 20220215

Address after: 550025 Huawei cloud data center, jiaoxinggong Road, Qianzhong Avenue, Gui'an New District, Guiyang City, Guizhou Province

Applicant after: Huawei Cloud Computing Technology Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Applicant before: HUAWEI TECHNOLOGIES Co.,Ltd.

TA01 Transfer of patent application right
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant