CN109309632B - Virtual data center networking method and system under heterogeneous environment - Google Patents
Virtual data center networking method and system under heterogeneous environment Download PDFInfo
- Publication number
- CN109309632B CN109309632B CN201710622388.2A CN201710622388A CN109309632B CN 109309632 B CN109309632 B CN 109309632B CN 201710622388 A CN201710622388 A CN 201710622388A CN 109309632 B CN109309632 B CN 109309632B
- Authority
- CN
- China
- Prior art keywords
- physical
- physical switch
- virtual machine
- virtual
- vlan
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 28
- 230000006855 networking Effects 0.000 title claims abstract description 22
- 238000013507 mapping Methods 0.000 claims description 63
- 230000006870 function Effects 0.000 claims description 19
- 238000004590 computer program Methods 0.000 claims description 10
- 230000003993 interaction Effects 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 14
- 238000012545 processing Methods 0.000 description 5
- 230000005012 migration Effects 0.000 description 3
- 238000013508 migration Methods 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000002955 isolation Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/35—Switches specially adapted for specific applications
- H04L49/354—Switches specially adapted for specific applications for supporting virtual local area networks [VLAN]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/14—Network analysis or design
- H04L41/145—Network analysis or design involving simulating, designing, planning or modelling of a network
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a virtual data center networking method and system in a heterogeneous environment, and relates to the field of SDN. The method comprises the steps that a cloud management platform creates a virtual machine, and a VLAN (virtual local area network) to which the virtual machine belongs is created on an OVS (virtual operating system); the SDN controller creates a VLAN to which a physical machine belongs on a first physical switch; the service management platform issues the intercommunication requirements of the virtual machine and the physical machine to the cloud management platform and the SDN controller respectively so that the cloud management platform and the SDN controller can interact first key information conveniently; and the SDN controller issues second key information to a first physical switch connected with the physical machine and a second physical switch connected with the virtual machine according to the first key information, so that the first physical switch and the second physical switch realize data exchange of the physical machine and the virtual machine according to the second key information. The invention can realize flexible intercommunication between the virtual machine and the physical machine.
Description
Technical Field
The present invention relates to the field of SDN (Software Defined Network), and in particular, to a method and a system for VDC (Virtual Data Center) in a heterogeneous environment.
Background
The wide application of the cloud computing technology realizes dynamic creation, networking and migration as required of virtual machines, and to realize the above functions, the support of an underlying network is required, for example, a two-layer network which needs to be isolated from each other, a large two-layer network which needs to be expanded as required, and intercommunication between a physical machine and a virtual machine as required to realize dynamic migration of applications deployed thereon, and in addition, intercommunication of multiple equipment manufacturers is also required.
The solutions currently provided by the industry are mainly purely soft solutions, for example, solutions based on virtualization software such as VMware; and purely hard solutions, for example those based on network devices such as EVPN (Ethernet VPN, Ethernet virtual private network). The demands for virtual-real intercommunication are some private solutions, but large-scale popularization and deployment cannot be achieved.
Disclosure of Invention
The invention aims to solve the technical problem of providing a virtual data center networking method and system under a heterogeneous environment, which can realize flexible intercommunication between a virtual machine and a physical machine.
According to an aspect of the present invention, a method for networking a virtual data center in a heterogeneous environment is provided, including: the method comprises the steps that a cloud management platform creates a virtual machine, and creates a Virtual Local Area Network (VLAN) to which the virtual machine belongs on an Open Virtual Switch (OVS); the method comprises the steps that a Software Defined Network (SDN) controller creates a Virtual Local Area Network (VLAN) to which a physical machine belongs on a first physical switch; the service management platform issues the intercommunication requirements of the virtual machine and the physical machine to the cloud management platform and the SDN controller respectively so that the cloud management platform and the SDN controller can interact first key information conveniently; and the SDN controller issues second key information to a first physical switch connected with the physical machine and a second physical switch connected with the virtual machine according to the first key information, so that the first physical switch and the second physical switch realize data exchange of the physical machine and the virtual machine according to the second key information.
Further, the interaction of the first key information between the cloud management platform and the SDN controller includes: and the cloud management platform sends the VLAN identifier of the virtual machine and the hooked second physical switch information to the SDN controller.
Further, the SDN controller issues a first mapping relation of a first Virtual Network Interface (VNI) between a VLAN to which the physical machine belongs and the first physical switch to a first physical switch to which the physical machine is attached, and issues a second mapping relation of a second VNI between the VLAN to which the virtual machine belongs and the second physical switch to a second physical switch to which the virtual machine is attached; and the first physical switch and the second physical switch realize data exchange of the physical machine and the virtual machine according to the first mapping relation and the second mapping relation respectively.
Further, when receiving data sent by the physical machine, the first physical switch converts the VLAN to which the physical machine belongs into the first VNI according to the first mapping relationship, packages the first VNI into a data packet, and sends the data packet to the second physical switch; the second physical switch converts the first VNI into a VLAN to which the virtual machine belongs according to the second mapping relation; and/or when the second physical switch receives the data sent by the virtual machine, converting the VLAN to which the virtual machine belongs into a second VNI according to the second mapping relation, packaging the second VNI into a data packet, and sending the data packet to the first physical switch; and the first physical switch converts the second VNI into the VLAN to which the physical machine belongs according to the first mapping relation.
Further, a first physical switch hooked by the virtual machine realizes a VXLAN tunnel terminal VTEP function of the virtual machine; and the second physical switch hooked by the physical machine realizes the VTEP function of the physical machine.
According to another aspect of the present invention, a virtual data center networking system in a heterogeneous environment is further provided, including: the cloud management platform is used for creating a virtual machine and creating a Virtual Local Area Network (VLAN) to which the virtual machine belongs on the Open Virtual Switch (OVS); the SDN controller is used for creating a VLAN to which a physical machine belongs on a first physical switch and sending second key information to the first physical switch connected with the physical machine and a second physical switch connected with a virtual machine according to the first key information; the service management platform is used for issuing the intercommunication requirements of the virtual machine and the physical machine to the cloud management platform and the SDN controller respectively so that the cloud management platform and the SDN controller can conveniently interact first key information; and the first physical switch and the second physical switch are used for realizing data exchange of the physical machine and the virtual machine according to the second key information.
Further, the cloud management platform is used for sending the VLAN identifier to which the virtual machine belongs and the attached second physical switch information to the SDN controller.
Furthermore, the SDN controller is further configured to send a first mapping relationship between a VLAN to which the physical machine belongs and a first virtual network interface VNI between the first physical switch to a first physical switch to which the physical machine is attached, and send a second mapping relationship between a VLAN to which the virtual machine belongs and a second VNI between the second physical switch to a second physical switch to which the virtual machine is attached; the first physical switch and the second physical switch are further used for realizing data exchange of the physical machine and the virtual machine according to the first mapping relation and the second mapping relation respectively.
Further, the first physical switch is further configured to, when receiving data sent by the physical machine, convert the VLAN to which the physical machine belongs into the first VNI according to the first mapping relationship, and encapsulate the first VNI into a data packet and send the data packet to the second physical switch; the second physical switch is also used for converting the first VNI into a VLAN to which the virtual machine belongs according to the second mapping relation; and/or the second physical switch is further configured to, when receiving data sent by the virtual machine, convert the VLAN to which the virtual machine belongs into a second VNI according to the second mapping relationship, and package the second VNI into a data packet to send to the first physical switch; the first physical switch is further configured to convert the second VNI into a VLAN to which the physical machine belongs according to the first mapping relationship.
Further, a first physical switch hooked by the virtual machine realizes a VXLAN tunnel terminal VTEP function of the virtual machine; and the second physical switch hooked by the physical machine realizes the VTEP function of the physical machine.
According to another aspect of the present invention, a virtual data center networking system in a heterogeneous environment is further provided, including: a memory; and a processor coupled to the memory, the processor configured to perform the method as described above based on instructions stored in the memory.
According to another aspect of the present invention, a computer-readable storage medium is also proposed, on which computer program instructions are stored, which instructions, when executed by a processor, implement the steps of the above-described method.
Compared with the prior art, the SDN server sends the second key information to the first physical switch connected with the physical machine and the second physical switch connected with the virtual machine, so that the first physical switch and the second physical switch realize data exchange between the physical machine and the virtual machine according to the second key information, and flexible intercommunication between the virtual machine and the physical machine can be realized.
Other features of the present invention and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description, serve to explain the principles of the invention.
The invention will be more clearly understood from the following detailed description, taken with reference to the accompanying drawings, in which:
fig. 1 is a flowchart illustrating a virtual data center networking method in a heterogeneous environment according to an embodiment of the present invention.
Fig. 2 is a flowchart illustrating a virtual data center networking method in a heterogeneous environment according to another embodiment of the present invention.
Fig. 3 is a schematic structural diagram of an embodiment of a virtual data center networking system in a heterogeneous environment according to the present invention.
Fig. 4 is a schematic structural diagram of another embodiment of the virtual data center networking system in a heterogeneous environment according to the present invention.
Fig. 5 is a schematic structural diagram of a virtual data center networking system in a heterogeneous environment according to still another embodiment of the present invention.
Fig. 6 is a schematic structural diagram of a virtual data center networking system in a heterogeneous environment according to another embodiment of the present invention.
Detailed Description
Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
Meanwhile, it should be understood that the sizes of the respective portions shown in the drawings are not drawn in an actual proportional relationship for the convenience of description.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to specific embodiments and the accompanying drawings.
Fig. 1 is a flowchart illustrating a virtual data center networking method in a heterogeneous environment according to an embodiment of the present invention. The large two-layer network interworking architecture in the heterogeneous environment is mainly implemented by a service management platform, an SDN controller, a cloud management platform, and a VTEP (VXLAN Tunnel End Point, VXLAN Tunnel terminal) provided by a network device.
In step 110, the cloud management platform creates a Virtual machine, and creates a VLAN (Virtual Local Area Network) to which the Virtual machine belongs on an OVS (Open Vswitch).
At step 120, the SDN controller creates a VLAN on the first physical switch to which the physical machine belongs. The VLAN IDs (identifications) of the physical machine and the virtual machine may be different.
In step 130, the service management platform issues the interworking requirements of the virtual machine and the physical machine to the cloud management platform and the SDN controller, so that the cloud management platform and the SDN controller interact with the first key information. The first key information includes the VLAN number to which the virtual machine belongs, and information of the attached physical switch. Wherein the physical switch is used to implement VTEP functionality. In one embodiment, the SDN controller may obtain, through the EVPN protocol, a VLAN identifier to which the virtual machine belongs and VTEP location information where the virtual machine belongs.
In step 140, the SDN controller issues second critical information to a first physical switch attached to the physical machine and a second physical switch attached to the virtual machine according to the first critical information. The second key information is, for example, a mapping relationship between a VLAN and a VNI. For example, the SDN controller issues, to a first physical switch attached to a physical machine, a first mapping relationship of a first VNI between a VLAN to which the physical machine belongs and the first physical switch, and issues, to a second physical switch attached to a virtual machine, a second mapping relationship of a second VNI between the VLAN to which the virtual machine belongs and the second physical switch. Wherein, the first VNI and the second VNI may be the same or different.
In step 150, the first physical switch and the second physical switch implement data exchange between the physical machine and the virtual machine according to the second key information. For example, when data sent by the virtual machine arrives at the second physical switch, the carried VLAN is converted into the corresponding VNI by the second physical switch according to the second mapping relationship, and when the encapsulated data packet arrives at the first physical switch, the first physical switch converts the VNI into the corresponding VLAN according to the first mapping relationship.
In this embodiment, the SDN server issues the second key information to each physical switch, so that the physical switch attached to the virtual machine and the physical switch attached to the physical machine realize data exchange between the physical machine and the virtual machine according to the second key information, thereby realizing flexible intercommunication between the virtual machine and the physical machine.
Fig. 2 is a flowchart illustrating a virtual data center networking method in a heterogeneous environment according to another embodiment of the present invention.
In step 210, the cloud management platform creates a virtual machine and creates a VLAN on the OVS to which the virtual machine belongs. The virtual switch where the virtual machine is located isolates the tenant through the VLAN, and the VLAN is transmitted to the physical switch which is connected with the virtual machine.
At step 220, the SDN controller creates a VLAN on the first physical switch to which the physical machine belongs. The VLAN IDs of the physical machine and the virtual machine may be different.
In step 230, the service management platform issues the interworking requirement of the virtual machine and the physical machine to the cloud management platform and the SDN controller, respectively.
In step 240, the cloud management platform sends the VLAN identifier to which the virtual machine belongs and the VTEP location information where the virtual machine belongs to the SDN controller, that is, the cloud management platform sends the location information of the second physical switch to the SDN controller. The first physical switch realizes the function of the VTEP where the physical machine is located, and the second physical switch realizes the function of the VTEP where the virtual machine is located.
In step 250, the SDN controller issues, to a first physical switch attached to the physical machine, a first mapping relationship of a first VNI between the VLAN to which the physical machine belongs and the first physical switch, and issues, to a second physical switch attached to the virtual machine, a second mapping relationship of a second VNI between the VLAN to which the virtual machine belongs and the second physical switch. For example, the SDN controller stores a mapping table of VLANs and VNIs, and after acquiring a VTEP-1 to which the physical switch belongs and a VTEP-2 to which the virtual machine belongs, may select a VNI from the VNI mapping table, where if the VLAN identifier of the physical machine is 1, the VLAN identifier of the virtual machine is 2, and the VNI used for communication between the virtual machines is 10001, the SDN controller issues VLAN < - - > VNI mapping table 1< - - >10001 to the VTEP-1 to which the physical machine belongs, and issues VLAN < - - > VNI mapping table 2 ← → 10001 to the VTEP-2 to which the virtual machine belongs.
In step 260, the first physical switch and the second physical switch implement data exchange between the physical machine and the virtual machine according to the first mapping relationship and the second mapping relationship, respectively. For example, when receiving data sent by a physical machine, a first physical switch converts a VLAN to which the physical machine belongs into a first VNI according to a first mapping relationship, encapsulates the first VNI into a data packet, and sends the data packet to a second physical switch; the second physical switch converts the first VNI into a VLAN to which the virtual machine belongs according to the second mapping relation; or when the second physical switch receives the data sent by the virtual machine, the second physical switch converts the VLAN to which the virtual machine belongs into a second VNI according to the second mapping relation, packages the second VNI into a data packet and sends the data packet to the first physical switch; and the first physical switch converts the second VNI into the VLAN to which the physical machine belongs according to the first mapping relation.
In this embodiment, the VTEP function previously implemented on the OVS is promoted to the physical switch, and under one physical switch, isolation between virtual machines is no longer implemented by using VNI, but is separated by using the conventional VLAN. In order to realize the intercommunication between the virtual and real devices under different physical switches, especially the intercommunication between the virtual and real machines under different VLANs, each VTEP is required to realize the conversion between the VLAN and the VNI.
Fig. 3 is a schematic structural diagram of an embodiment of a virtual data center networking system in a heterogeneous environment according to the present invention. The system comprises a cloud management platform 310, an SDN controller 320, a service management platform 330, a first physical switch 340 and a second physical switch 350, wherein the first physical switch 340 and the second physical switch 350 provide VTEP functionality.
The cloud management platform 310 is configured to create a virtual machine and create a VLAN to which the virtual machine belongs on the OVS.
The SDN controller 320 is configured to create a VLAN to which a physical machine belongs on the first physical switch 340; and the second key information is used for sending the second key information to the first physical switch hooked by the physical machine and the second physical switch hooked by the virtual machine according to the first key information. In one embodiment, the SDN controller 310 may obtain, through the EVPN protocol, the VLAN identifier to which the virtual machine belongs and the VTEP location information where the virtual machine belongs.
The second key information is, for example, a mapping relationship between the VLAN and the VNI. For example, the SDN controller issues, to a first physical switch attached to a physical machine, a first mapping relationship of a first VNI between a VLAN to which the physical machine belongs and the first physical switch, and issues, to a second physical switch attached to a virtual machine, a second mapping relationship of a second VNI between the VLAN to which the virtual machine belongs and the second physical switch.
The service management platform 330 is configured to issue interworking requirements of the virtual machine and the physical machine to the cloud management platform 310 and the SDN controller 320, respectively, so that the cloud management platform 310 and the SDN controller 320 interact with the first key information. The first key information includes the VLAN to which the virtual machine belongs and the attached physical switch information.
The first physical switch 340 and the second physical switch 350 are used for realizing data exchange of the physical machine and the virtual machine according to the second key information. For example, when data sent by the virtual machine arrives at the second physical switch, the carried VLAN is converted into the corresponding VNI by the second physical switch according to the second mapping relationship, and when the encapsulated data packet arrives at the first physical switch, the first physical switch converts the VNI into the corresponding VLAN according to the first mapping relationship.
In this embodiment, the SDN server issues the mapping relationship between the VLAN and the VNI to each physical switch, and flexible interworking between the virtual machine and the physical machine can be achieved. The embodiment can fully utilize the physical and virtual resources which are currently deployed in the existing network, accelerate the deployment speed of a large two-layer network, and reduce the application migration requirement which is originally deployed on a physical machine.
In another embodiment of the present invention, as shown in fig. 4, the cloud management platform 310 is used to create virtual machines VM1, VM2, VM3, etc., and create a VLAN to which the virtual machine belongs on the OVS. The VLAN to which the virtual machine belongs is transmitted to the second physical switch 350 to which the virtual machine is attached. The cloud management platform 310 is further configured to send the VLAN identifier to which the virtual machine belongs and the VTEP location information where the virtual machine belongs to the SDN controller, that is, the cloud management platform 310 sends the location information of the second physical switch 350 to the SDN controller 320. The first physical switch 340 implements the function of the VTEP where the physical machine is located, and the second physical switch 350 implements the function of the VTEP where the virtual machine is located.
The SDN controller 320 is configured to create a VLAN to which the physical machine P1, P2 belongs on the first physical switch 340; and is further configured to issue, to a first physical switch 340 attached to the physical machine, a first mapping relationship of a first VNI between the VLAN to which the physical machine belongs and the first physical switch, and issue, to a second physical switch 350 attached to the virtual machine, a second mapping relationship of a second VNI between the VLAN to which the virtual machine belongs and the second physical switch.
The service management platform 330 is configured to issue interworking requirements of the virtual machine and the physical machine to the cloud management platform 310 and the SDN controller 320, respectively.
The first physical switch 340 and the second physical switch 350 implement data exchange of the physical machine and the virtual machine according to the first mapping relation and the second mapping relation, respectively. For example, when receiving the data sent by the physical machine P1, the first physical switch 340 converts the VLAN to which the physical machine P1 belongs into the first VNI according to the first mapping relationship, encapsulates the first VNI into a data packet, and sends the data packet to the second physical switch 350; the second physical switch 350 converts the first VNI into a VLAN to which the virtual machine VM1 belongs according to the second mapping relationship; or when receiving the data sent by the virtual machine VM1, the second physical switch 350 converts the VLAN to which the virtual machine VM1 belongs into the second VNI according to the second mapping relationship, encapsulates the second VNI into a data packet, and sends the data packet to the first physical switch 340; the first physical switch 340 translates the second VNI to the VLAN to which the physical machine P1 belongs according to the first mapping.
In the embodiment, a large two-layer intercommunication architecture in a heterogeneous environment is realized, flexible intercommunication between the virtual machine and the physical machine is realized based on a standard protocol and an open interface, and the advantages of flexibility based on a virtual technology and high-performance networking based on network equipment can be exerted.
Fig. 5 is a schematic structural diagram of a virtual data center networking system in a heterogeneous environment according to still another embodiment of the present invention. The system includes a memory 510 and a processor 520. Wherein:
the memory 510 may be a magnetic disk, flash memory, or any other non-volatile storage medium. The memory is used to store instructions in the embodiments corresponding to fig. 1-2. Processor 520 is coupled to memory 510 and may be implemented as one or more integrated circuits, such as a microprocessor or microcontroller. The processor 520 is configured to execute instructions stored in the memory, and can implement flexible interworking between the virtual machine and the physical machine.
In one embodiment, as also shown in FIG. 6, the system 600 includes a memory 610 and a processor 620. Processor 620 is coupled to memory 610 through a BUS 630. The system 600 may also be coupled to external storage 650 via storage interface 640 for external data, and may also be coupled to a network or another computer system (not shown) via network interface 660. And will not be described in detail herein.
In this embodiment, the VTEP function previously implemented on the OVS is promoted to the physical switch by storing data instructions in the memory and processing the instructions by the processor, and under one physical switch, isolation between virtual machines is no longer implemented by using VNI, but is separated by using the conventional VLAN. In order to realize the intercommunication between the virtual and real devices under different physical switches, especially the intercommunication between the virtual and real machines under different VLANs, each VTEP is required to realize the conversion between the VLAN and the VNI.
In another embodiment, a computer-readable storage medium has stored thereon computer program instructions which, when executed by a processor, implement the steps of the method in the corresponding embodiment of fig. 1-2. As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable non-transitory storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Thus far, the present invention has been described in detail. Some details well known in the art have not been described in order to avoid obscuring the concepts of the present invention. It will be fully apparent to those skilled in the art from the foregoing description how to practice the presently disclosed embodiments.
Although some specific embodiments of the present invention have been described in detail by way of illustration, it should be understood by those skilled in the art that the above illustration is only for the purpose of illustration and is not intended to limit the scope of the invention. It will be appreciated by those skilled in the art that modifications may be made to the above embodiments without departing from the scope and spirit of the invention. The scope of the invention is defined by the appended claims.
Claims (8)
1. A virtual data center networking method in a heterogeneous environment is characterized by comprising the following steps:
the method comprises the steps that a cloud management platform creates a virtual machine, and creates a Virtual Local Area Network (VLAN) to which the virtual machine belongs on an Open Virtual Switch (OVS);
the method comprises the steps that a Software Defined Network (SDN) controller creates a Virtual Local Area Network (VLAN) to which a physical machine belongs on a first physical switch;
the service management platform issues the intercommunication requirements of the virtual machine and the physical machine to the cloud management platform and the SDN controller respectively so that the cloud management platform and the SDN controller can interact first key information, and the first key information comprises a VLAN (virtual local area network) identifier to which the virtual machine belongs and hooked second physical switch information;
the SDN controller issues a first mapping relation of a first Virtual Network Interface (VNI) between a VLAN to which the physical machine belongs and a first physical switch to which the physical machine is attached according to the first key information, and issues a second mapping relation of a second VNI between the VLAN to which the virtual machine belongs and a second physical switch to which the virtual machine is attached to a second physical switch;
and the first physical switch and the second physical switch realize data exchange of the physical machine and the virtual machine according to the first mapping relation and the second mapping relation respectively.
2. The method of claim 1,
when the first physical switch receives data sent by the physical machine, the VLAN to which the physical machine belongs is converted into a first VNI according to the first mapping relation, and the first VNI is packaged into a data packet and sent to the second physical switch;
the second physical switch converts the first VNI into a VLAN to which the virtual machine belongs according to the second mapping relation;
and/or
When the second physical switch receives the data sent by the virtual machine, the VLAN to which the virtual machine belongs is converted into a second VNI according to the second mapping relation, and the second VNI is packaged into a data packet and sent to the first physical switch;
and the first physical switch converts the second VNI into a VLAN to which the physical machine belongs according to the first mapping relation.
3. The method according to claim 1 or 2,
the first physical switch which is connected with the virtual machine realizes the VTEP function of the VXLAN tunnel terminal of the virtual machine;
and the second physical switch hooked by the physical machine realizes the VTEP function of the physical machine.
4. A virtual data center networking system in a heterogeneous environment, comprising:
the cloud management platform is used for creating a virtual machine and creating a Virtual Local Area Network (VLAN) to which the virtual machine belongs on an Open Virtual Switch (OVS);
the SDN controller is used for creating a VLAN to which a physical machine belongs on a first physical switch, issuing a first mapping relation of a first virtual network interface VNI between the VLAN to which the physical machine belongs and the first physical switch to which the physical machine is attached according to first key information, and issuing a second mapping relation of a second VNI between the VLAN to which the virtual machine belongs and the second physical switch to which the virtual machine is attached, wherein the first key information comprises a VLAN identifier to which the virtual machine belongs and attached second physical switch information;
the service management platform is used for issuing the intercommunication requirements of the virtual machine and the physical machine to the cloud management platform and the SDN controller respectively so as to facilitate the interaction of first key information between the cloud management platform and the SDN controller;
and the first physical switch and the second physical switch are used for realizing data exchange of the physical machine and the virtual machine according to the first mapping relation and the second mapping relation respectively.
5. The system of claim 4,
the first physical switch is further configured to, when receiving data sent by the physical machine, convert the VLAN to which the physical machine belongs into a first VNI according to the first mapping relationship, encapsulate the first VNI into a data packet, and send the data packet to the second physical switch;
the second physical switch is further used for converting the first VNI into a VLAN to which the virtual machine belongs according to the second mapping relation;
and/or
The second physical switch is further configured to, when receiving data sent by the virtual machine, convert the VLAN to which the virtual machine belongs into a second VNI according to the second mapping relationship, encapsulate the second VNI into a data packet, and send the data packet to the first physical switch;
the first physical switch is further configured to convert the second VNI into a VLAN to which the physical machine belongs according to the first mapping relationship.
6. The system of claim 4 or 5,
the first physical switch which is connected with the virtual machine realizes the VTEP function of the VXLAN tunnel terminal of the virtual machine;
and the second physical switch hooked by the physical machine realizes the VTEP function of the physical machine.
7. A virtual data center networking system in a heterogeneous environment, comprising:
a memory; and
a processor coupled to the memory, the processor configured to perform the method of any of claims 1-3 based on instructions stored in the memory.
8. A computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the method of any one of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710622388.2A CN109309632B (en) | 2017-07-27 | 2017-07-27 | Virtual data center networking method and system under heterogeneous environment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710622388.2A CN109309632B (en) | 2017-07-27 | 2017-07-27 | Virtual data center networking method and system under heterogeneous environment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109309632A CN109309632A (en) | 2019-02-05 |
CN109309632B true CN109309632B (en) | 2021-06-18 |
Family
ID=65201952
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710622388.2A Active CN109309632B (en) | 2017-07-27 | 2017-07-27 | Virtual data center networking method and system under heterogeneous environment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109309632B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111064649B (en) * | 2019-12-11 | 2022-02-15 | 锐捷网络股份有限公司 | Method and device for realizing binding of layered ports, control equipment and storage medium |
CN111726251B (en) * | 2020-06-12 | 2023-04-25 | 浪潮电子信息产业股份有限公司 | Networking method, system and device for SDS (sodium dodecyl sulfate) storage domain in virtualized system |
CN113395328B (en) * | 2021-05-24 | 2022-11-11 | 浪潮思科网络科技有限公司 | Cloud virtual machine and cloud physical machine communication method and system based on hybrid Overlay |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103391232A (en) * | 2012-05-11 | 2013-11-13 | 台达电子工业股份有限公司 | Virtual machine wiring method in cloud system |
CN104243608A (en) * | 2014-09-29 | 2014-12-24 | 华为技术有限公司 | Communication method, cloud management server and virtual switch |
CN104639372A (en) * | 2015-02-13 | 2015-05-20 | 中国联合网络通信集团有限公司 | Correlation method and system for overlay network based on SDN (Software Defined Network) and physical network |
CN105429811A (en) * | 2016-01-11 | 2016-03-23 | 刘昱 | Network management system and method |
CN106209562A (en) * | 2016-07-27 | 2016-12-07 | 华为技术有限公司 | In a kind of network VLAN ID distribution method and controller |
CN106936731A (en) * | 2015-12-31 | 2017-07-07 | 北京华为数字技术有限公司 | The method and apparatus of the message forwarding in software defined network SDN |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8931046B2 (en) * | 2012-10-30 | 2015-01-06 | Stateless Networks, Inc. | System and method for securing virtualized networks |
US9819643B2 (en) * | 2014-10-13 | 2017-11-14 | Telefonaktiebolaget L M Ericsson (Publ) | CCN name patterns |
-
2017
- 2017-07-27 CN CN201710622388.2A patent/CN109309632B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103391232A (en) * | 2012-05-11 | 2013-11-13 | 台达电子工业股份有限公司 | Virtual machine wiring method in cloud system |
CN104243608A (en) * | 2014-09-29 | 2014-12-24 | 华为技术有限公司 | Communication method, cloud management server and virtual switch |
CN104639372A (en) * | 2015-02-13 | 2015-05-20 | 中国联合网络通信集团有限公司 | Correlation method and system for overlay network based on SDN (Software Defined Network) and physical network |
CN106936731A (en) * | 2015-12-31 | 2017-07-07 | 北京华为数字技术有限公司 | The method and apparatus of the message forwarding in software defined network SDN |
CN105429811A (en) * | 2016-01-11 | 2016-03-23 | 刘昱 | Network management system and method |
CN106209562A (en) * | 2016-07-27 | 2016-12-07 | 华为技术有限公司 | In a kind of network VLAN ID distribution method and controller |
Also Published As
Publication number | Publication date |
---|---|
CN109309632A (en) | 2019-02-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10476699B2 (en) | VLAN to VXLAN translation using VLAN-aware virtual machines | |
CN103095546B (en) | A kind of method, device and data center network processing message | |
CN109617735B (en) | Cloud computing data center system, gateway, server and message processing method | |
CN112398688B (en) | Container network configuration method, container network system, and storage medium | |
US20140208317A1 (en) | Multi-tenant system and control method of multi-tenant system | |
CN105706043B (en) | The list handling capacity of push type link | |
EP3340547B1 (en) | Network interface card and data packet processing method | |
CN109309632B (en) | Virtual data center networking method and system under heterogeneous environment | |
US20160099847A1 (en) | Method for non-disruptive cloud infrastructure software component deployment | |
CN112398687B (en) | Configuration method of cloud computing network, cloud computing network system and storage medium | |
US9774532B2 (en) | Information processing system, information processing apparatus and control method of information processing system | |
US20140115161A1 (en) | Method and system for migration of multi-tier virtual application across different clouds hypervisor platforms | |
CN106685826B (en) | Switchboard stacked system, from equipment, exchange chip and processing protocol message method | |
US12038861B2 (en) | System decoder for training accelerators | |
US9571338B2 (en) | Scalable distributed control plane for network switching systems | |
CN104486103B (en) | A kind of method and apparatus of message transmissions | |
CN105162674A (en) | Method and network card for physical machine to access to virtual network | |
CN108337192B (en) | Message communication method and device in cloud data center | |
CN104486246A (en) | SDN (software defined networking) architecture based method for realizing QoS (quality of service) mechanism of VXLAN (virtual extensible LAN) | |
CN103051529B (en) | A kind of processing method of message and device | |
CN107733746A (en) | A kind of network-building method and mixed cloud plateform system for mixing cloud platform | |
CN109218161A (en) | A kind of method and device of virtual switch forwarding data | |
CN106817291A (en) | VXLAN realizes device and its method of work | |
CN109525479B (en) | Message processing method and device | |
CN107453971A (en) | Communication means and system between a kind of multiple virtual machines |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
EE01 | Entry into force of recordation of patent licensing contract |
Application publication date: 20190205 Assignee: Tianyiyun Technology Co.,Ltd. Assignor: CHINA TELECOM Corp.,Ltd. Contract record no.: X2024110000040 Denomination of invention: Networking methods and systems for virtual data centers in heterogeneous environments Granted publication date: 20210618 License type: Common License Record date: 20240914 |
|
EE01 | Entry into force of recordation of patent licensing contract |