Method and apparatus for forwarding message of distributed virtual switch system
A virtual switch and message forwarding technology, which is applied in the field of message forwarding in a distributed virtual switch system, can solve problems such as single control and inflexible business implementation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0045] Such as Figure 5 As shown, the message forwarding method of the distributed virtual switch system in Embodiment 1 of the present application is executed by the controller, and the method includes the following steps:
[0046] Step 502, obtain the interface information corresponding to the VM, and add the entry containing the interface information corresponding to the VM to the VLAN forwarding table, wherein the interface information corresponding to the VM includes: the DataPath (data path) of the OF switch to which the VM is connected. Forwarding path) ID (identification), the MAC address of the virtual network card interface connected to the OF switch on the VM, the VLAN ID of the VLAN to which the dvport port connected to the VM on the OF switch belongs, and the port identifier of the dvport port;
[0047] In step S502, the controller obtains the interface information corresponding to the VM, and the method of adding the entry containing the interface information co...
Embodiment 2
[0111] by Figure 5 The illustrated OF switch is taken as an example to describe the method in the first embodiment above in detail. exist Figure 5 Among them, the OF switch in a server is connected to 4 VMs: VM1-VM4, where the OF switch is connected to the dvport port of VM1-VM3 (that is, VM1-VM3 is connected to the virtual network card interface of the OF switch): Port1-Port3 belongs to VLAN1, the OF switch is connected to the dvport port of VM4 (that is, VM4 is connected to the virtual network card interface of the OF switch): Port4 belongs to VLAN2; the uplink port of the OF switch connected to the physical switch ToR is Port5. The DataPath ID of the OF switch is Dpid1, and the MAC addresses of the virtual network card interfaces on VM1-VM4 are: MAC1-MAC4 respectively.
[0112] According to steps 11-13 in the first embodiment, the controller adds 4 entries respectively in the VLAN forwarding table and the VLAN port table. At this time, the VLAN forwarding table is shown...
Embodiment 3
[0139] For the method in the first embodiment above, a controller of a distributed virtual switch system is provided in the embodiment of the present application. Such as Figure 7 As shown, the controller includes the following modules:
[0140] The acquiring and adding module 101 is used to acquire the interface information corresponding to the VM, and add the entry containing the interface information corresponding to the VM to the VLAN forwarding table, wherein the interface information corresponding to the VM includes: the OF switch to which the VM is connected The DataPath ID of the VM, the MAC address of the virtual network card interface connected to the OF switch on the VM, the VLAN ID of the VLAN to which the dvport port connected to the VM on the OF switch belongs, and the port identifier of the dvport port;
[0141] Receiving module 102, for receiving the message that OF switch sends;
[0142] Table entry generating module 103, used for when the message received by...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com