WO2021103744A1 - Heterogeneous network communication method and system, and controller - Google Patents

Heterogeneous network communication method and system, and controller Download PDF

Info

Publication number
WO2021103744A1
WO2021103744A1 PCT/CN2020/114910 CN2020114910W WO2021103744A1 WO 2021103744 A1 WO2021103744 A1 WO 2021103744A1 CN 2020114910 W CN2020114910 W CN 2020114910W WO 2021103744 A1 WO2021103744 A1 WO 2021103744A1
Authority
WO
WIPO (PCT)
Prior art keywords
domain
openflow
evpn
entry
controller
Prior art date
Application number
PCT/CN2020/114910
Other languages
French (fr)
Chinese (zh)
Inventor
许多
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2021103744A1 publication Critical patent/WO2021103744A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/54Organization of routing tables
    • 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
    • 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
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • H04L45/04Interdomain routing, e.g. hierarchical routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/64Routing or path finding of packets in data switching networks using an overlay routing layer

Definitions

  • the embodiment of the present invention relates to but not limited to the technical field of network communication, and specifically relates to but not limited to a heterogeneous network communication method, system and controller.
  • SDN Software-defined networking
  • DC Data Center
  • WAN Wide Area Network
  • VXLAN Virtual Extensible LAN
  • OpenFlow and EVPN are two major solutions in the SDN field: OpenFlow is a centralized control plane of the controller, which uses a software-defined flow table forwarding method, which is more suitable for software equipment; and EVPN It is a distributed control plane, which requires the use of the EVPN protocol of the network device to learn routing table entries to guide forwarding, and is generally applicable to hardware network devices.
  • VXLAN In OpenFlow, a statically configured VXLAN tunnel is generally used to forward through the flow table.
  • EVPN VXLAN is a dynamic tunnel.
  • the communication problem between the OpenFlow domain and the EVPN domain heterogeneous network needs to be solved, involving VXLAN Difficulties such as tunnel creation, table entry synchronization, and message forwarding.
  • the heterogeneous network communication method, system, and controller provided by the embodiments of the present invention at least to some extent solve the problem that the current OpenFlow domain devices and EVPN domain devices cannot be mixed.
  • an embodiment of the present invention provides a heterogeneous network communication method, including: a controller receives a first message reported by an EVPN domain device through an MP-BGP connection channel, and converts the first message into a first table Item, and synchronize to the OpenFlow domain device through the OpenFlow connection channel; and/or, the controller receives the second message reported by the OpenFlow domain device through the OpenFlow connection channel, and converts the second message into a second table item, And through the MP-BGP connection channel to synchronize to the EVPN domain equipment.
  • the embodiment of the present invention also provides a controller, including: a routing protocol processing unit, an EVPN entry synchronization unit, an OpenFlow entry synchronization unit, and an OpenFlow device management unit;
  • the routing protocol processing unit supports standard BGP EVPN protocol processing, using Establish BGP neighbors with devices in the EVPN domain and advertise EVPN routes to each other;
  • the EVPN table item synchronization unit synchronizes the EVPN domain table items learned by the routing protocol processing unit to the OpenFlow domain, and at the same time receives the table item information of the OpenFlow domain and transmits it to the routing Protocol processing unit;
  • the OpenFlow entry synchronization unit receives the entries of the EVPN domain, and at the same time synchronizes the entries of the OpenFlow domain to the EVPN domain;
  • the OpenFlow device management unit is used to create a VXLAN tunnel in the OpenFlow domain, and is used for the OpenFlow domain and EVPN The entries of the domain are calculated to generate a flow table and delivered to the OpenFlow device.
  • the embodiment of the present invention also provides a heterogeneous network communication system, including: a controller, an EVPN domain device, and an OpenFlow domain device; the controller receives the first message reported by the EVPN domain device through an MP-BGP connection channel, The first message is converted into a first entry, and synchronized to the OpenFlow domain device through the OpenFlow connection channel; the controller receives the second message reported by the OpenFlow domain device through the OpenFlow connection channel, and transfers the first message to the OpenFlow domain device. The second message is converted into a second entry, and synchronized to the EVPN domain device through the MP-BGP connection channel.
  • the embodiment of the present invention also provides a computer storage medium, the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to realize the implementation of the present invention.
  • Figure 1 is a schematic diagram of a VXLAN tunnel in a heterogeneous network provided by the implementation of the present invention
  • FIG. 2 is a schematic diagram of table entry synchronization in a heterogeneous network communication method provided by an embodiment of the present invention
  • Fig. 3 is a schematic diagram of a heterogeneous network communication system provided by an embodiment of the present invention.
  • OpenFlow is the centralized control plane of the controller, and the software-defined flow table forwarding method is adopted, which is more suitable for software equipment; while EVPN is a distributed control.
  • the EVPN protocol of the network device itself needs to be used to learn routing table entries to guide forwarding, which is generally applicable to hardware network devices. Since OpenFlow generally uses statically configured VXLAN tunnels for message forwarding, and EVPN generally uses dynamically configured VXLAN tunnels for message forwarding, VXLAN tunnels cannot be used directly when OpenFlow and EVPN are combined.
  • a heterogeneous network communication method proposed in this embodiment converts the guarantee through the controller to realize the guaranteed forwarding of OpenFlow and EVPN.
  • the heterogeneous network communication method of this implementation includes: the controller receives the first message reported by the EVPN domain device through the MP-BGP connection channel, converts the first message into the first entry, and synchronizes to the OpenFlow domain through the OpenFlow connection channel Device; and/or, the controller receives the second message reported by the OpenFlow domain device through the OpenFlow connection channel, converts the second message into a second entry, and synchronizes to the EVPN domain device through the MP-BGP connection channel.
  • the functions of the controller include: (1) Receive the first message reported by the EVPN domain device through the MP-BGP connection channel, convert the first message into the first entry, and synchronize through the OpenFlow connection channel To the OpenFlow domain device; (2) Receive the second message reported by the OpenFlow domain device through the OpenFlow connection channel, convert the second message into a second entry, and synchronize to the EVPN domain device through the MP-BGP connection channel; and ( 3) Receive the first message reported by the EVPN domain device through the MP-BGP connection channel, convert the first message into the first entry, and synchronize to the OpenFlow domain device through the OpenFlow connection channel, and receive the OpenFlow domain device through the OpenFlow connection channel The reported second message is converted into a second table entry and synchronized to the EVPN domain device through the MP-BGP connection channel.
  • BGP-4 can only manage IPV4 routing information. For applications that use other network layer protocols (such as ipv6), it is subject to certain restrictions when spreading across autonomous systems.
  • the IETF has extended BGP-4 to form MP-BGP.
  • the MP-BGP standard is RFC4760 (Multiprotocol Extensions for BGP-4, a multi-protocol extension of BGP-4).
  • NLRI Network Layer Reachability Information
  • Next_Hop attribute Next_Hop attribute
  • Aggregator attribute this attribute contains the aggregation The IP address of the BGP Speaker of the route).
  • MP_REACH_NLRI Multiprotocol Reachable NLRI, multi-protocol reachable NLRI. Used to advertise reachable routes and next hop information.
  • MP_UNREACH_NLRI Multiprotocol Unreachable NLRI, multi-protocol unreachable NLRI. Used to withdraw unreachable routes.
  • the OpenFlow connection channel a network communication protocol, belongs to the data link layer and can control the forwarding plane of the network switch or router, thereby changing the network path taken by the network data packet.
  • the first message and the second entry include: any one of type 3 routing, type 2 routing, and type 5 routing;
  • the second message and the first entry include: Layer 2 network broadcast table, MAC Any one of table, ARP table and routing table; Type 3 routing corresponds to the Layer 2 network broadcast table, Type 2 routing corresponds to the MAC table and ARP table, and Type 5 routing corresponds to the routing table.
  • the host mounted under the EVPN domain device when the EVPN domain device is a hardware switch, the host mounted under the EVPN domain device includes either a bare metal server or a virtual machine isolated by vlan in the server; when the OpenFlow domain device is a vSwitch software virtual switch, OpenFlow The host mounted under the domain device is a virtual machine.
  • the MP-BGP connection channel is established as a dynamic VXLAN tunnel
  • the dynamic VXLAN tunnel is dynamically established by the EVPN domain device through learning BGP and EVPN.
  • the EVPN domain device and the OpenFlow domain device learn the first entry and/or the second entry to generate Layer 2 and Layer 3 forwarding entries.
  • the OpenFlow connection channel after the OpenFlow connection channel is established, it is a static VXLAN tunnel.
  • the static VXLAN tunnel is statically imported and configured by the controller to the OpenFlow domain device.
  • the static VXLAN tunnel uses the VTEPIPs of the devices at both ends as a unique identifier.
  • the VTEPIP identifies that the outbound interface between different devices is a static VXLAN tunnel, and the static VXLAN tunnel is in the same domain or cross-domain, and is used to implement same-domain or cross-domain packet forwarding.
  • an MP-BGP connection channel is established with an EVPN domain device through a controller
  • an OpenFlow connection channel is established with an OpenFlow domain device, so as to realize receiving the first message and the EVPN domain device.
  • the purpose of the second message of the OpenFlow domain device is to convert the first message into the first entry, the second message into the second entry, and the first entry is synchronized to the OpenFlow domain device, giving the second
  • the table entries are synchronized to EVPN domain devices, which realizes the message exchange between OpenFlow domain devices and EVPN domain devices, and solves the problem that the current OpenFlow domain devices and EVPN domain devices cannot be mixed.
  • This embodiment provides another embodiment of a heterogeneous network communication method, including:
  • the controller realizes the synchronization and learning of table entries between the OpenFlow domain and the EVPN domain, and creates a heterogeneous VXLAN tunnel through the controller.
  • the service traffic between the OpenFlow domain and the EVPN domain device completes packet forwarding through the heterogeneous VXLAN tunnel.
  • the VXLAN tunnel on the OpenFlow domain device is statically imported and configured by the controller, and is uniquely identified by the local VTEPIP and the opposite VTEPIP.
  • the opposite device can be an OpenFlow domain device or an EVPN domain device.
  • the dynamic VXLAN tunnel on the EVPN domain device is dynamically created through BGP EVPN type 3 routing learning, and the routing table entries can come from other EVPN domain devices or the EVPN component module of the controller.
  • the controller converts the type 3 route of the EVPN domain into a Layer 2 network broadcast entry of the OpenFlow domain, and synchronizes it to the OpenFlow domain, so that the OpenFlow domain adds the EVPN domain device to the Layer 2 network broadcast domain.
  • the controller also converts the broadcast entries of the OpenFlow domain into EVPN domain type 3 routes and synchronizes them to the EVPN domain, so that the EVPN domain can discover the devices in the OpenFlow domain, and add the OpenFlow domain devices to the Layer 2 network broadcast domain, and then generate the corresponding VXLAN dynamic tunnel.
  • the controller In addition to synchronizing the Layer 2 network broadcast table (type 3 routing) between the devices in the OpenFlow domain and the EVPN domain, the controller also synchronizes the MAC table, ARP table (type 2 routing) and routing table (type 5 routing), these four tables When items are synchronized between domains, conversion processing is required.
  • Layer 2 network broadcast table type 3 routing
  • ARP table type 2 routing
  • routing table type 5 routing
  • the devices in the OpenFlow domain and the EVPN domain learn these entries and generate normal Layer 2 and Layer 3 forwarding entries.
  • the outbound interface for forwarding between VTEPs is a VXLAN tunnel. This tunnel can be in the same domain or in the same domain. It is cross-domain, realizing the same-domain and cross-domain business traffic forwarding.
  • a heterogeneous network communication method provided by the embodiment of the present invention can solve the communication problem of OpenFlow and EVPN heterogeneous SDN networks, so that the same controller can simultaneously manage and control software OpenFlow devices and hardware EVPN devices, without changing the OpenFlow and EVPN protocols Under the premise of standards and networking methods, the advantages of these two SDN technologies are used to form a hybrid overlay to meet various service deployment scenarios.
  • Fig. 1 is a schematic diagram of a heterogeneous VXLAN tunnel in an embodiment of the present invention.
  • the user imports the VXLAN static tunnel of the OpenFlow domain on the controller management interface, and creates a tunnel port on the device.
  • the VXLAN static tunnel is uniquely identified by the local VTEPIP and the peer VTEPIP:
  • tunnelPort ⁇ local_vtepip,peer_vtepip ⁇
  • VXLAN static tunnel can be an OpenFlow domain device or an EVPN domain device.
  • the corresponding tunnel port must be created between the two devices in the OpenFlow domain, but if the opposite end is a device in the EVPN domain, only the VXLAN static tunnel port is created at the end of the OpenFlow domain.
  • the EVPN domain device is a dynamic VXLAN tunnel, which is dynamically created by learning EVPN's Type 3 routing (Layer 2 network broadcast table).
  • the entries can come from other EVPN domain devices or from the OpenFlow domain.
  • the controller sends the Layer 2 network forwarding flow table to the OpenFlow domain device, and also generates Type 3 routing synchronization to the EVPN domain device, so that the EVPN domain device can automatically generate the corresponding heterogeneous VXLAN tunnel .
  • the embodiment of the present invention provides a heterogeneous network communication method, so that the software OpenFlow device and the hardware EVPN device controlled by the same controller can perform Layer 2 and Layer 3 network communication.
  • FIG. 2 is a schematic diagram of table entry synchronization provided by an embodiment of the present invention.
  • the controller establishes an OpenFlow connection channel with the device in the OpenFlow domain, and receives the status message reported by the device, the host's ARP message and the first unknown unicast message through the OpenFlow channel, and calculates the Layer 2 and Layer 3 forwarding path , To generate a flow table to deliver the device.
  • the flow table includes the Layer 2 broadcast table, MAC table, ARP table and routing table.
  • the device in the OpenFlow domain is generally a vSwitch software virtual switch, and the host connected to it is generally a virtual machine.
  • the controller establishes an MP-BGP connection with the equipment in the EVPN domain, and the host routing table entries learned by the EVPN equipment are synchronized to the controller.
  • the controller obtains the forwarding path of the OpenFlow domain equipment through conversion processing and calculation, and generates the corresponding forwarding table entries.
  • the controller also synchronizes the routing information of the OpenFlow domain host to each EVPN device after conversion processing, and the EVPN device performs routing iteration to obtain forwarding entries.
  • the EVPN routing table entries mainly include type 2, type 3, and type 5 routes.
  • the equipment in the EVPN domain is generally a hardware switch, and the host connected to it can be a bare metal server or a virtual machine isolated by vlan in the server.
  • the forwarding path between devices in the same domain or across domains is the corresponding VXLAN tunnel.
  • the method for the controller provided in the embodiment of the present invention to synchronize the type 3 route of the EVPN domain to the OpenFlow domain
  • Step 101 When creating a Layer 2 network instance on the controller, it is identified by VNET_ID, and the RD (Route Distinguisher) of the instance is automatically generated according to the VNET_ID.
  • the Layer 2 network instance issues the routing protocol processing unit in the EVPN domain device and the controller, uses the VNET_ID to combine into a string as the name of the Layer 2 network VXLAN instance, and automatically generates the ID of a Layer 2 network VXLAN instance;
  • Step 102 When the controller receives the type 3 route advertised by the EVPN domain device through BGP EVPN, the type 3 route is shown in Table 1 below:
  • RD uniquely identifies a Layer 2 network
  • Originating Router's IPAddress is the VTEP IP address of the device.
  • Step 103 The controller finds the Layer 2 network instance of the EVPN domain according to the RD.
  • the name of the VXLAN instance corresponds to the Layer 2 network instance VNET_ID of the OpenFlow domain, and can be directly converted. Therefore, the controller replaces the VXLAN_ID with VNET_ID to generate Layer 2 network broadcast entries required by the OpenFlow domain:
  • the domain parameter is used to indicate whether the entry comes from the OpenFlow domain or the EVPN domain.
  • Step 104 The controller adds the above-mentioned Layer 2 network broadcast entry to the Layer 2 broadcast table of the OpenFlow domain, and queries the corresponding VXLAN tunnel port ID on each device according to the VTEP_IP in it, and adds it to the outgoing port list of the group table. Deliver the updated GROUP group table to each OpenFlow domain device.
  • the method for the controller to synchronize the Layer 2 network broadcast table of the OpenFlow domain to the EVPN domain includes the following steps:
  • Step 201 The controller adds the OpenFlow domain device to the Layer 2 network broadcast domain according to the arrangement of the cloud platform or user configuration, and generates the corresponding Layer 2 network broadcast entry VNET_BROADCAST_INFO, where VTEP_IP is the device IP;
  • Step 202 The controller finds the VXLAN instance ID of the corresponding RD and EVPN domains according to the VNET_ID, and injects the broadcast entry into the VXLAN instance of the routing protocol processing unit;
  • Step 203 The routing protocol processing unit of the controller uses the RD and VTEP_IP to construct a type 3 route, and advertises it to the equipment in the EVPN domain through the BGP EVPN protocol.
  • the method for the controller to synchronize the type 2 routing MAC table of the EVPN domain to the OpenFlow domain includes the following steps:
  • Step 301 The EVPN domain device host goes online, learns the host MAC table, and advertises BGP EVPN type 2 routes, and the routing processing unit of the controller receives the type 2 routes, as shown in Table 2 below:
  • RD uniquely identifies a Layer 2 network
  • L2VNI is used to identify a Layer 2 network when business traffic is forwarded.
  • Step 302 The controller finds the Layer 2 network instance VXLAN_ID of the EVPN domain and the Layer 2 network instance VNET_ID of the OpenFlow domain according to the RD, and generates the host MAC entry required by the OpenFlow domain:
  • vtep_ip is the IP of the EVPN device that publishes the entry, which is obtained by the controller according to the source tunnel of the type 2 routing.
  • port_id is the port number of the host MAC table entry learned, and can be filled with 0, because for OpenFlow domain devices, only the corresponding forwarding path information, that is, the VTEP IP of the destination device, is required, and the specific port on which the host goes online is not concerned;
  • Step 303 The controller adds the above host MAC entry to the OpenFlow domain, queries the corresponding VXLAN tunnel port ID on each device according to the VTEP_IP therein, generates a flow table and sends it to each OpenFlow domain device.
  • Embodiment 6 is a diagrammatic representation of Embodiment 6
  • Step 401 The host of the OpenFlow domain device goes online, the first packet is sent to the controller through the packet-in, and the controller generates the corresponding host MAC table entry HOST_MAC_INFO, where VTEP_IP is the IP of the online device of the host;
  • Step 402 The controller finds the VXLAN instance ID of the corresponding RD and EVPN domains according to the VNET_ID, and injects the host MAC entry into the VXLAN instance of the routing protocol processing unit;
  • Step 403 The routing protocol processing unit of the controller uses the RD and VTEP_IP to construct a type 2 route, and advertises it to devices in the EVPN domain through the BGP EVPN protocol.
  • the method for the controller provided in this embodiment to synchronize the Type 2 routing IP table of the EVPN domain to the OpenFlow domain includes the following steps:
  • Step 501 The EVPN domain device host goes online, learns the host ARP table, and publishes the BGP EVPN type 2 routing IP table, and the routing processing unit of the controller receives the type 2 route, as shown in Table 3 below:
  • RD uniquely identifies a Layer 2 network
  • L2VNI is used to identify a Layer 2 network when business traffic is forwarded
  • L3VNI is used to identify a Layer 3 network when business traffic is forwarded. If the EVPN domain is configured in symmetric forwarding mode, the L2VNI and L3VNI are carried at the same time; if configured in asymmetric forwarding mode, only L2VNI is carried.
  • Step 502 The controller finds the Layer 2 network instance VXLAN_ID of the EVPN domain and the Layer 2 network instance VNET_ID of the OpenFlow domain according to the RD. If L3VNI is empty, the host ARP entry required by the OpenFlow domain is generated:
  • vrf_id is the three-layer network instance ID, which can be determined by querying vnet_id; type identifies the type of ARP table, which is generally divided into static and dynamic. Here it comes from EVPN, and the value is evpn, which means that the OpenFlow domain cannot age the entry , It needs to be deleted by the EVPN domain.
  • port_id is the port number that learned the ARP table entry of the host, fill in 0 here.
  • vrf_id is the three-layer network instance ID, which is determined according to vnet_id query; ip and mask are distributed as the destination prefix and mask length of the route, where ip is the host IP address, and the mask length is 32 (IPv4) or 128 (IPv6); next_hop is the original next hop of the route, which is empty here; router_mac is the MAC address of the EVPN device, used for routing and forwarding packet encapsulation, and it is empty here.
  • Step 503 The controller adds the above-mentioned host ARP entry or host routing table entry to the OpenFlow domain, queries the corresponding VXLAN tunnel port ID on each device according to the VTEP_IP therein, generates a flow table and sends it to each OpenFlow domain device.
  • Embodiment 8 is a diagrammatic representation of Embodiment 8
  • Step 601 The host of the OpenFlow domain device goes online, and the first packet is sent to the controller through the packet-in, and the controller generates the corresponding host ARP dynamic entry ARP_INFO, where VTEP_IP is the IP of the online device of the host.
  • the controller can also generate static ARP entries based on the OpenFlow domain host created by the cloud platform or user trigger;
  • Step 602 The controller finds the VXLAN instance ID of the corresponding RD and EVPN domains according to the VNET_ID, and injects the host ARP entry into the VXLAN instance of the routing protocol processing unit;
  • Step 603 The routing protocol processing unit of the controller uses the RD and VTEP_IP to construct a type 2 routing IP table, and advertises it to devices in the EVPN domain through the BGP EVPN protocol.
  • the method for the controller provided in this implementation to synchronize the Type 5 routing table of the EVPN domain to the OpenFlow domain includes the following steps:
  • Step 701 When creating a three-layer network instance on the controller, use the VRF_ID identification, and the RD (Route Distinguisher) of the instance is automatically generated according to the VRF_ID.
  • the layer 3 network instance issues the routing protocol processing unit in the EVPN domain device and the controller, and uses the VRF_ID to combine into a character string as the name of the layer 3 network routing and forwarding instance;
  • Step 702 When the EVPN domain device configures a static route or learns a dynamic route, it generates a routing forwarding table entry and advertises BGP EVPN type 5 routes, and the routing processing unit of the controller receives the type 5 routes, as shown in Table 4 below :
  • RD uniquely identifies a three-layer network
  • IP Prefix and IP Prefix Len are the IP prefix and prefix length of the route respectively
  • GW IP Address is the IP address of the routing and forwarding gateway
  • L3VNI is the three-layer network identifier when business traffic is forwarded.
  • the GW IP Address is not empty, but the MPLS Label is empty; in the type 5 route V form, the GW IP Address is empty, and the MPLS Label fills in L3VNI, and the BGP EVPN message carries the Router’s MAC extended community attribute.
  • Step 703 The controller finds the layer 3 network routing and forwarding instance of the EVPN domain according to the RD, and obtains the layer 3 network instance VRF_ID of the OpenFlow domain through name conversion of the instance. Generate the routing table entry ROUTE_INFO (see above) required by the OpenFlow domain.
  • ip and mask are distributed as IP Prefix and IP Prefix Len in type 5 routing; for type 5 routing in G form, next_hop is taken as GW IP Address, vtep_ip and router_mac are empty; for type 5 routing in V form, router_mac is carried Router's MAC, vtep_ip is the IP of the EVPN device that publishes the entry.
  • Step 704 The controller adds the aforementioned routing table entry to the OpenFlow domain.
  • the corresponding VXLAN tunnel port ID on each device is queried according to the VTEP_IP of the host routing or ARP table, and the flow table is generated and sent to each OpenFlow domain device;
  • the corresponding VXLAN tunnel port ID on each device is directly queried according to the VTEP_IP, and the flow table is generated and issued.
  • the OpenFlow domain does not actively generate a routing table, there is no need to synchronize routes from the OpenFlow domain to the EVPN domain.
  • the L2VNI and L3VNI of the OpenFlow domain and the EVPN domain are uniformly orchestrated and issued by the controller, and correspond to the two-layer network instance VNET_ID or the three-layer network instance VRF_ID, so no special processing is required during table entry conversion. Items can be ignored during synchronization.
  • This embodiment provides a controller.
  • the SDN corresponds to the controller of this embodiment.
  • the controller includes a routing protocol processing unit and an EVPN table. Item synchronization unit, OpenFlow table item synchronization unit and OpenFlow device management unit;
  • the routing protocol processing unit supports standard BGP EVPN protocol processing, which is used to establish BGP neighbors with devices in the EVPN domain and advertise EVPN routes to each other;
  • the EVPN entry synchronization unit synchronizes the EVPN domain entries learned by the routing protocol processing unit to the OpenFlow domain, and at the same time receives the entry information of the OpenFlow domain and passes it to the routing protocol processing unit;
  • the OpenFlow entry synchronization unit receives the entries of the EVPN domain, and at the same time synchronizes the entries of the OpenFlow domain to the EVPN domain;
  • the OpenFlow device management unit is used to create a VXLAN tunnel in the OpenFlow domain, calculate and generate a flow table for the entries in the OpenFlow domain and the EVPN domain, and deliver the OpenFlow device.
  • This embodiment also provides a heterogeneous network communication system.
  • the heterogeneous network communication system can be seen in FIG. 3.
  • the heterogeneous network communication system includes: a controller, an EVPN domain device, and an OpenFlow domain device;
  • the controller receives the first message reported by the EVPN domain device through the MP-BGP connection channel, converts the first message into the first entry, and synchronizes to the OpenFlow domain device through the OpenFlow connection channel;
  • the controller receives the second message reported by the OpenFlow domain device through the OpenFlow connection channel, converts the second message into a second entry, and synchronizes to the EVPN domain device through the MP-BGP connection channel.
  • the controller as the basis of the heterogeneous network communication system, includes four core units: routing protocol processing unit, EVPN entry synchronization unit, OpenFlow entry synchronization unit and OpenFlow device management unit .
  • the routing protocol processing unit uses the standard BGP EVPN protocol to establish BGP neighbors with devices in the EVPN domain and advertise EVPN routes to each other.
  • the EVPN table entry synchronization unit is responsible for synchronizing the EVPN table entries learned by the routing protocol processing unit to the OpenFlow domain, and at the same time receiving the table entry information of the OpenFlow domain, converting it into EVPN routing information, injecting it into the routing protocol processing unit, and publishing it to the EVPN domain device.
  • the OpenFlow entry synchronization unit receives the entries of the EVPN domain and generates the centralized control plane entries of the controller for user operation and maintenance query and path calculation of the OpenFlow domain; at the same time, it passes the existing OpenFlow domain entries of the controller to the EVPN table. Item synchronization unit.
  • the OpenFlow device management unit in addition to the normal OpenFlow domain device state management, the processing of messages sent by the host, and the creation of a VXLAN static tunnel, it also needs to perform forwarding path calculations for the OpenFlow domain and EVPN domain hosts to generate the forwarding required by the OpenFlow device
  • the flow table is issued concurrently.
  • the communication method and system for VXLAN tunnel creation, table item synchronization, and message forwarding in a heterogeneous network communication system does not affect the original protocol standards and networking methods of the OpenFlow domain and EVPN domain, so that These two SDN technologies are seamlessly integrated to form a hybrid overlay solution, and deployment scenarios are more flexible and diverse.
  • This embodiment also provides a computer-readable storage medium, which is included in any method or technology for storing information (such as computer-readable instructions, data structures, computer program modules, or other data). Volatile or non-volatile, removable or non-removable media.
  • Computer-readable storage media include but are not limited to RAM (Random Access Memory), ROM (Read-Only Memory, read-only memory), EEPROM (Electrically Erasable Programmable read only memory, charged Erasable Programmable Read-Only Memory) ), flash memory or other memory technology, CD-ROM (Compact Disc Read-Only Memory), digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, Or any other medium that can be used to store desired information and that can be accessed by a computer.
  • This embodiment also provides a computer-readable storage medium.
  • the computer-readable storage medium stores one or more computer programs, and the one or more computer programs can be executed by one or more processors to implement the present invention.
  • a heterogeneous network communication method, system, and controller include: the controller receives a first message reported by an EVPN domain device through an MP-BGP connection channel, and converts the first message into a first message. Table entry and synchronize to the OpenFlow domain device through the OpenFlow connection channel; and/or, the controller receives the second packet reported by the OpenFlow domain device through the OpenFlow connection channel, converts the second packet into a second table entry, and passes the MP -The BGP connection channel is synchronized to the EVPN domain device.
  • the controller establishes an MP-BGP connection channel with an EVPN domain device, and an OpenFlow connection channel with an OpenFlow domain device.
  • communication media usually contain computer-readable instructions, data structures, computer program modules, or other data in a modulated data signal such as carrier waves or other transmission mechanisms, and may include any information delivery medium. Therefore, the embodiments of the present invention are not limited to any specific combination of hardware and software.

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

A heterogeneous network communication method and system, and a controller. The method comprises: a controller receives a first message reported by an EVPN domain device by means of an MP-BGP connection channel, converts the first message into a first entry, and synchronizes the first entry to an OpenFlow domain device by means of an OpenFlow connection channel; and/or, the controller receives a second message reported by the OpenFlow domain device by means of the OpenFlow connection channel, converts the second message into a second entry, and synchronizes the second entry to the EVPN domain device by means of the MP-BGP connection channel.

Description

一种异构网络通信方法、系统和控制器Heterogeneous network communication method, system and controller
相关申请的交叉引用Cross-references to related applications
本申请基于申请号为201911168055.2、申请日为2019年11月25日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is filed based on a Chinese patent application with an application number of 201911168055.2 and an application date of November 25, 2019, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby incorporated into this application by reference.
技术领域Technical field
本发明实施例涉及但不限于网络通信技术领域,具体而言,涉及但不限于一种异构网络通信方法、系统和控制器。The embodiment of the present invention relates to but not limited to the technical field of network communication, and specifically relates to but not limited to a heterogeneous network communication method, system and controller.
背景技术Background technique
软件定义网络(SDN,Software-defined networking)是一种控制逻辑和数据转发分离的创新网络架构。数据中心(DC,Data Center)、广域网(WAN,Wide Area Network)等领域应用SDN技术时,基本都采用了VXLAN(Virtual Extensible LAN)隧道技术,提高二层网络扩展性和部署的灵活性,同时也能简化overlay业务的网络层次结构。Software-defined networking (SDN, Software-defined networking) is an innovative network architecture that separates control logic and data forwarding. When SDN technology is applied in the data center (DC, Data Center), wide area network (WAN, Wide Area Network) and other fields, the VXLAN (Virtual Extensible LAN) tunnel technology is basically adopted to improve the scalability and deployment flexibility of the Layer 2 network. It can also simplify the network hierarchy of overlay services.
OpenFlow和EVPN(Ethernet Virtual Private Network,以太网虚拟专用网络)是SDN领域的两大解决方案:OpenFlow是控制器集中控制面,采用的软件定义的流表转发方式,更适合于软件设备;而EVPN是分布式控制面,需要使用网络设备自身的EVPN协议学习路由表项从而指导转发,一般适用于硬件网络设备。这两种技术各有优缺点,在原理上就有较大差异,但是在很多部署场景中,为了发挥这两种技术各自的优势,需要将这两种技术结合起来形成混合overlay方案。OpenFlow and EVPN (Ethernet Virtual Private Network, Ethernet Virtual Private Network) are two major solutions in the SDN field: OpenFlow is a centralized control plane of the controller, which uses a software-defined flow table forwarding method, which is more suitable for software equipment; and EVPN It is a distributed control plane, which requires the use of the EVPN protocol of the network device to learn routing table entries to guide forwarding, and is generally applicable to hardware network devices. These two technologies have their own advantages and disadvantages, and they are quite different in principle. However, in many deployment scenarios, in order to take advantage of the respective advantages of these two technologies, it is necessary to combine the two technologies to form a hybrid overlay solution.
OpenFlow中一般采用静态配置的VXLAN隧道,通过流表转发,而EVPN中VXLAN是动态隧道,在OpenFlow+EVPN的混合overlay方案中,需要解决OpenFlow域与EVPN域异构网络间的通信问题,涉及VXLAN隧道的创建、表项同步及报文转发等难点。In OpenFlow, a statically configured VXLAN tunnel is generally used to forward through the flow table. In EVPN, VXLAN is a dynamic tunnel. In the OpenFlow+EVPN hybrid overlay solution, the communication problem between the OpenFlow domain and the EVPN domain heterogeneous network needs to be solved, involving VXLAN Difficulties such as tunnel creation, table entry synchronization, and message forwarding.
发明内容Summary of the invention
本发明实施例提供的一种异构网络通信方法、系统和控制器,至少在一定程度上解决目前的OpenFlow域设备和EVPN域设备之间无法混用的问题。The heterogeneous network communication method, system, and controller provided by the embodiments of the present invention at least to some extent solve the problem that the current OpenFlow domain devices and EVPN domain devices cannot be mixed.
有鉴于此,本发明实施例提供一种异构网络通信方法,包括:控制器通过MP-BGP连接通道接收EVPN域设备上报的第一报文,将所述第一报文转换为第一表项,并通过所述OpenFlow连接通道同步到OpenFlow域设备;和/或,控制器通过OpenFlow连接通道接收OpenFlow域设备上报的第二报文,将所述第二报文转换为第二表项,并通过MP-BGP连接通道同步到EVPN域设备。In view of this, an embodiment of the present invention provides a heterogeneous network communication method, including: a controller receives a first message reported by an EVPN domain device through an MP-BGP connection channel, and converts the first message into a first table Item, and synchronize to the OpenFlow domain device through the OpenFlow connection channel; and/or, the controller receives the second message reported by the OpenFlow domain device through the OpenFlow connection channel, and converts the second message into a second table item, And through the MP-BGP connection channel to synchronize to the EVPN domain equipment.
本发明实施例还提供一种控制器,包括:路由协议处理单元、EVPN表项同步单元、OpenFlow表项同步单元和OpenFlow设备管理单元;所述路由协议处理单元支持标准的BGP EVPN协议处理,用于与EVPN域的设备建立BGP邻居并相互通告EVPN路由;所述EVPN表项同步单元将路由协议处理单元学到的EVPN域表项同步到OpenFlow域,同时接收OpenFlow域的表项信息传递给路由协议处理单元;所述OpenFlow表项同步单元接收EVPN域的表项,同时将OpenFlow域的表项同步给EVPN域;所述OpenFlow设备管理单元用于创建OpenFlow域的VXLAN隧道,对OpenFlow域和EVPN域的表项计算生成流表并下发OpenFlow设备。The embodiment of the present invention also provides a controller, including: a routing protocol processing unit, an EVPN entry synchronization unit, an OpenFlow entry synchronization unit, and an OpenFlow device management unit; the routing protocol processing unit supports standard BGP EVPN protocol processing, using Establish BGP neighbors with devices in the EVPN domain and advertise EVPN routes to each other; the EVPN table item synchronization unit synchronizes the EVPN domain table items learned by the routing protocol processing unit to the OpenFlow domain, and at the same time receives the table item information of the OpenFlow domain and transmits it to the routing Protocol processing unit; the OpenFlow entry synchronization unit receives the entries of the EVPN domain, and at the same time synchronizes the entries of the OpenFlow domain to the EVPN domain; the OpenFlow device management unit is used to create a VXLAN tunnel in the OpenFlow domain, and is used for the OpenFlow domain and EVPN The entries of the domain are calculated to generate a flow table and delivered to the OpenFlow device.
本发明实施例还提供一种异构网络通信系统,包括:控制器、EVPN域设备和OpenFlow域设备;所述控制器通过MP-BGP连接通道接收所述EVPN域设备上报的第一报文,将所述第一报文转换为第一表项,并通过OpenFlow连接通道同步到OpenFlow域设备;所述控制器通过所述OpenFlow连接通道接收OpenFlow域设备上报的第二报文,将所述第二报文转换为第二表项,并通过所述MP-BGP连接通道同步到EVPN域设备。The embodiment of the present invention also provides a heterogeneous network communication system, including: a controller, an EVPN domain device, and an OpenFlow domain device; the controller receives the first message reported by the EVPN domain device through an MP-BGP connection channel, The first message is converted into a first entry, and synchronized to the OpenFlow domain device through the OpenFlow connection channel; the controller receives the second message reported by the OpenFlow domain device through the OpenFlow connection channel, and transfers the first message to the OpenFlow domain device. The second message is converted into a second entry, and synchronized to the EVPN domain device through the MP-BGP connection channel.
本发明实施例还提供一种计算机存储介质,所述计算机可读存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现本发明实施所提供的异构网络通信方法的步骤。The embodiment of the present invention also provides a computer storage medium, the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to realize the implementation of the present invention. Provides the steps of a heterogeneous network communication method.
本发明其他特征和相应的有益效果在说明书的后面部分进行阐述说明,且应当理解,至少部分有益效果从本发明说明书中的记载变的显而易见。Other features and corresponding beneficial effects of the present invention are described in the latter part of the specification, and it should be understood that at least part of the beneficial effects will become apparent from the description in the specification of the present invention.
附图说明Description of the drawings
图1为本发明实施提供的异构网络中VXLAN隧道示意图;Figure 1 is a schematic diagram of a VXLAN tunnel in a heterogeneous network provided by the implementation of the present invention;
图2为本发明实施例提供的一种异构网络通信方法中表项同步的示意图;2 is a schematic diagram of table entry synchronization in a heterogeneous network communication method provided by an embodiment of the present invention;
图3为本发明实施例提供的一种异构网络通信系统的示意图。Fig. 3 is a schematic diagram of a heterogeneous network communication system provided by an embodiment of the present invention.
具体实施方式Detailed ways
为了使本发明的目的、技术方案及优点更加清楚明白,下面通过具体实施方式结合附图对本发明实施例作进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the objectives, technical solutions, and advantages of the present invention clearer, the following further describes the embodiments of the present invention in detail through specific implementations in conjunction with the accompanying drawings. It should be understood that the specific embodiments described here are only used to explain the present invention, but not used to limit the present invention.
实施例一:Example one:
在SDN的应用领域中主要的方案有OpenFlow和EVPN,这两种方案中,OpenFlow是控制器集中控制面,采用的软件定义的流表转发方式,更适合于软件设备;而EVPN是分布式控制面,需要使用网络设备自身的EVPN协议学习路由表项从而指导转发,一般适用于硬件网络设备。由于OpenFlow中一般采用静态配置的VXLAN隧道进行报文转发,而EVPN中一般采用动态配置的VXLAN隧道进行报文转发,因此,当OpenFlow和EVPN进行组合时并不能直接使用VXLAN隧道,为了实现OpenFlow和EVPN的混用,本实施例提出的一种异构网络通信方法通过控制器对保证进行转换,实现OpenFlow和EVPN的保证转发。In the application field of SDN, the main solutions are OpenFlow and EVPN. In these two solutions, OpenFlow is the centralized control plane of the controller, and the software-defined flow table forwarding method is adopted, which is more suitable for software equipment; while EVPN is a distributed control. On the other hand, the EVPN protocol of the network device itself needs to be used to learn routing table entries to guide forwarding, which is generally applicable to hardware network devices. Since OpenFlow generally uses statically configured VXLAN tunnels for message forwarding, and EVPN generally uses dynamically configured VXLAN tunnels for message forwarding, VXLAN tunnels cannot be used directly when OpenFlow and EVPN are combined. In order to achieve OpenFlow and In the mixed use of EVPN, a heterogeneous network communication method proposed in this embodiment converts the guarantee through the controller to realize the guaranteed forwarding of OpenFlow and EVPN.
本实施的异构网络通信方法包括:控制器通过MP-BGP连接通道接收EVPN域设备上报的第一报文,将第一报文转换为第一表项,并通过OpenFlow连接通道同步到OpenFlow域设备;和/或,控制器通过OpenFlow连接通道接收OpenFlow域设备上报的第二报文,将第二报文转换为第二表项,并通过MP-BGP连接通道同步到EVPN域设备。The heterogeneous network communication method of this implementation includes: the controller receives the first message reported by the EVPN domain device through the MP-BGP connection channel, converts the first message into the first entry, and synchronizes to the OpenFlow domain through the OpenFlow connection channel Device; and/or, the controller receives the second message reported by the OpenFlow domain device through the OpenFlow connection channel, converts the second message into a second entry, and synchronizes to the EVPN domain device through the MP-BGP connection channel.
在本实施例中,控制器的功能包括:(1)通过MP-BGP连接通道接收EVPN域设备上报的第一报文,将第一报文转换为第一表项,并通过OpenFlow连接通道同步到OpenFlow域设备;(2)通过OpenFlow连接通道接收OpenFlow域设备上报的第二报文,将第二报文转换为第二表项,并通过MP-BGP连接通道同步到EVPN域设备;以及(3)通过MP-BGP连接通道接收EVPN域设备上报的第一报文,将第一报文转换为第一表项,并通过OpenFlow连接通道同步到OpenFlow域设备,通过OpenFlow连接通道接收OpenFlow域设备上报的第二报文,将第二报文转换为第二表项,并通过MP-BGP连接通道同步到EVPN域设备。In this embodiment, the functions of the controller include: (1) Receive the first message reported by the EVPN domain device through the MP-BGP connection channel, convert the first message into the first entry, and synchronize through the OpenFlow connection channel To the OpenFlow domain device; (2) Receive the second message reported by the OpenFlow domain device through the OpenFlow connection channel, convert the second message into a second entry, and synchronize to the EVPN domain device through the MP-BGP connection channel; and ( 3) Receive the first message reported by the EVPN domain device through the MP-BGP connection channel, convert the first message into the first entry, and synchronize to the OpenFlow domain device through the OpenFlow connection channel, and receive the OpenFlow domain device through the OpenFlow connection channel The reported second message is converted into a second table entry and synchronized to the EVPN domain device through the MP-BGP connection channel.
传统的BGP-4只能管理IPV4的路由信息,对于使用其他网络层协议(如ipv6)的应用,在跨自治系统传播时就受到一定限制。为了提供对多种网络层协议的支持,IETF对BGP-4进行了扩展,形成MP-BGP,MP-BGP标准是RFC4760(Multiprotocol Extensions for BGP-4,BGP-4的多协议扩展)。BGP-4使用的报文中,与IPv4相关的三处信息都由Update报文携带,这三条信息分别是:NLRI(Network Layer Reachability Information)字段、Next_Hop属性、Aggregator属性(该属性中包含形成聚合路由的BGP Speaker的IP地址)。为实现对多种网络层协议的支持,BGP-4需要将网络层协议的信息反映到NLRI及Next_Hop。 MP-BGP中引入了两个新的路径属性:MP_REACH_NLRI:Multiprotocol Reachable NLRI,多协议可达NLRI。用于发布可达路由及下一跳信息。MP_UNREACH_NLRI:Multiprotocol Unreachable NLRI,多协议不可达NLRI。用于撤销不可达路由。Traditional BGP-4 can only manage IPV4 routing information. For applications that use other network layer protocols (such as ipv6), it is subject to certain restrictions when spreading across autonomous systems. In order to provide support for multiple network layer protocols, the IETF has extended BGP-4 to form MP-BGP. The MP-BGP standard is RFC4760 (Multiprotocol Extensions for BGP-4, a multi-protocol extension of BGP-4). In the packets used by BGP-4, three pieces of information related to IPv4 are carried in the Update packet. These three pieces of information are: NLRI (Network Layer Reachability Information) field, Next_Hop attribute, and Aggregator attribute (this attribute contains the aggregation The IP address of the BGP Speaker of the route). In order to support multiple network layer protocols, BGP-4 needs to reflect network layer protocol information to NLRI and Next_Hop. Two new path attributes are introduced in MP-BGP: MP_REACH_NLRI: Multiprotocol Reachable NLRI, multi-protocol reachable NLRI. Used to advertise reachable routes and next hop information. MP_UNREACH_NLRI: Multiprotocol Unreachable NLRI, multi-protocol unreachable NLRI. Used to withdraw unreachable routes.
OpenFlow连接通道,一种网络通信协议,属于数据链路层,能够控制网上交换器或路由器的转发平面(forwarding plane),借此改变网络数据包所走的网络路径。The OpenFlow connection channel, a network communication protocol, belongs to the data link layer and can control the forwarding plane of the network switch or router, thereby changing the network path taken by the network data packet.
在本实施例中,第一报文和第二表项包括:3型路由、2型路由和5型路由任意一种;第二报文和第一表项包括:二层网络广播表、MAC表、ARP表和路由表任意一种;3型路由与二层网络广播表对应,2型路由与MAC表和ARP表对应,5型路由与路由表对应。In this embodiment, the first message and the second entry include: any one of type 3 routing, type 2 routing, and type 5 routing; the second message and the first entry include: Layer 2 network broadcast table, MAC Any one of table, ARP table and routing table; Type 3 routing corresponds to the Layer 2 network broadcast table, Type 2 routing corresponds to the MAC table and ARP table, and Type 5 routing corresponds to the routing table.
在本实施例中,EVPN域设备为硬件交换机时,EVPN域设备下挂载的主机包括裸金属服务器和服务器中通过vlan隔离的虚拟机任意一种;OpenFlow域设备为vSwitch软件虚拟交换机时,OpenFlow域设备下挂载的主机为虚拟机。In this embodiment, when the EVPN domain device is a hardware switch, the host mounted under the EVPN domain device includes either a bare metal server or a virtual machine isolated by vlan in the server; when the OpenFlow domain device is a vSwitch software virtual switch, OpenFlow The host mounted under the domain device is a virtual machine.
在本实施例中,MP-BGP连接通道建立后为动态VXLAN隧道,动态VXLAN隧道由EVPN域设备通过学习BGP EVPN动态建立。In this embodiment, the MP-BGP connection channel is established as a dynamic VXLAN tunnel, and the dynamic VXLAN tunnel is dynamically established by the EVPN domain device through learning BGP and EVPN.
在本实施例中,EVPN域设备和OpenFlow域设备通过学习第一表项和/或第二表项,生成二层和三层转发表项。In this embodiment, the EVPN domain device and the OpenFlow domain device learn the first entry and/or the second entry to generate Layer 2 and Layer 3 forwarding entries.
在本实施例中,OpenFlow连接通道建立后为静态VXLAN隧道,静态VXLAN隧道由控制器静态导入配置到OpenFlow域设备上,静态VXLAN隧道采用两端设备的VTEPIP作为唯一标识。In this embodiment, after the OpenFlow connection channel is established, it is a static VXLAN tunnel. The static VXLAN tunnel is statically imported and configured by the controller to the OpenFlow domain device. The static VXLAN tunnel uses the VTEPIPs of the devices at both ends as a unique identifier.
在本实施例中,VTEPIP标识在不同设备之间的出接口为静态VXLAN隧道,静态VXLAN隧道为同域,或跨域,用于实现同域或跨域的报文转发。In this embodiment, the VTEPIP identifies that the outbound interface between different devices is a static VXLAN tunnel, and the static VXLAN tunnel is in the same domain or cross-domain, and is used to implement same-domain or cross-domain packet forwarding.
本发明实施例提供的一种方法异构网络通信方法,通过控制器与EVPN域设备建立MP-BGP连接通道,与OpenFlow域设备建立OpenFlow连接通道,实现了接收EVPN域设备的第一报文和OpenFlow域设备的第二报文的目的,同时将第一报文转换为第一表项,将第二报文转换为第二表项,将第一表项同步给OpenFlow域设备,给第二表项同步给EVPN域设备,实现了OpenFlow域设备和EVPN域设备的报文交换,解决了目前的OpenFlow域设备和EVPN域设备无法混用的问题。In the method for heterogeneous network communication provided by the embodiment of the present invention, an MP-BGP connection channel is established with an EVPN domain device through a controller, and an OpenFlow connection channel is established with an OpenFlow domain device, so as to realize receiving the first message and the EVPN domain device. The purpose of the second message of the OpenFlow domain device is to convert the first message into the first entry, the second message into the second entry, and the first entry is synchronized to the OpenFlow domain device, giving the second The table entries are synchronized to EVPN domain devices, which realizes the message exchange between OpenFlow domain devices and EVPN domain devices, and solves the problem that the current OpenFlow domain devices and EVPN domain devices cannot be mixed.
实施例二:Embodiment two:
本实施例提供了一种异构网络通信方法另外的一种实施例,包括:This embodiment provides another embodiment of a heterogeneous network communication method, including:
OpenFlow域和EVPN域之间通过控制器实现表项的同步和学习,通过控制器创建异构的VXLAN隧道,OpenFlow域和EVPN域设备之间的业务流量通过该异构VXLAN隧道完成报文转发。The controller realizes the synchronization and learning of table entries between the OpenFlow domain and the EVPN domain, and creates a heterogeneous VXLAN tunnel through the controller. The service traffic between the OpenFlow domain and the EVPN domain device completes packet forwarding through the heterogeneous VXLAN tunnel.
进一步,OpenFlow域设备上的VXLAN隧道由控制器静态导入配置,通过本端VTEPIP和对端VTEPIP唯一标识,对端设备可以是OpenFlow域设备,也可以是EVPN域设备。Further, the VXLAN tunnel on the OpenFlow domain device is statically imported and configured by the controller, and is uniquely identified by the local VTEPIP and the opposite VTEPIP. The opposite device can be an OpenFlow domain device or an EVPN domain device.
进一步,EVPN域设备上的动态VXLAN隧道,通过BGP EVPN的3型路由学习动态创建,路由表项可以来源于其他EVPN域设备,也可以来源于控制器的EVPN组件模块。Further, the dynamic VXLAN tunnel on the EVPN domain device is dynamically created through BGP EVPN type 3 routing learning, and the routing table entries can come from other EVPN domain devices or the EVPN component module of the controller.
进一步,控制器将EVPN域的3型路由转换为OpenFlow域的二层网络广播表项,同步给OpenFlow域,使得OpenFlow域将该EVPN域设备加入二层网络广播域。控制器也将OpenFlow域的广播表项转换为EVPN域的3型路由,同步给EVPN域,使得EVPN域能发现OpenFlow域的设备,将该OpenFlow域设备加入二层网络广播域,进而生成对应的VXLAN动态隧道。Further, the controller converts the type 3 route of the EVPN domain into a Layer 2 network broadcast entry of the OpenFlow domain, and synchronizes it to the OpenFlow domain, so that the OpenFlow domain adds the EVPN domain device to the Layer 2 network broadcast domain. The controller also converts the broadcast entries of the OpenFlow domain into EVPN domain type 3 routes and synchronizes them to the EVPN domain, so that the EVPN domain can discover the devices in the OpenFlow domain, and add the OpenFlow domain devices to the Layer 2 network broadcast domain, and then generate the corresponding VXLAN dynamic tunnel.
所述控制器除了在OpenFlow域和EVPN域设备间同步二层网络广播表(3型路由),还同步MAC表、ARP表(2型路由)和路由表(5型路由),这四种表项在域间同步时都需要进行转换处理。In addition to synchronizing the Layer 2 network broadcast table (type 3 routing) between the devices in the OpenFlow domain and the EVPN domain, the controller also synchronizes the MAC table, ARP table (type 2 routing) and routing table (type 5 routing), these four tables When items are synchronized between domains, conversion processing is required.
进一步,OpenFlow域和EVPN域的设备,学习到这些表项,生成了正常的二层和三层转发表项,VTEP之间转发的出接口是VXLAN隧道,该隧道可以是同域的,也可以是跨域的,实现同域和跨域的业务流量转发。Furthermore, the devices in the OpenFlow domain and the EVPN domain learn these entries and generate normal Layer 2 and Layer 3 forwarding entries. The outbound interface for forwarding between VTEPs is a VXLAN tunnel. This tunnel can be in the same domain or in the same domain. It is cross-domain, realizing the same-domain and cross-domain business traffic forwarding.
本发明实施例提供的一种异构网络通信方法,能解决OpenFlow和EVPN异构SDN网络的通信问题,使得同一个控制器可以同时管控软件OpenFlow设备和硬件EVPN设备,在不改变OpenFlow和EVPN协议标准和组网方式的前提下,发挥这两种SDN技术的优势,形成混合overlay,从而满足各种业务部署场景。A heterogeneous network communication method provided by the embodiment of the present invention can solve the communication problem of OpenFlow and EVPN heterogeneous SDN networks, so that the same controller can simultaneously manage and control software OpenFlow devices and hardware EVPN devices, without changing the OpenFlow and EVPN protocols Under the premise of standards and networking methods, the advantages of these two SDN technologies are used to form a hybrid overlay to meet various service deployment scenarios.
实施例三:Embodiment three:
图1是本发明实施例中的异构VXLAN隧道示意图。Fig. 1 is a schematic diagram of a heterogeneous VXLAN tunnel in an embodiment of the present invention.
用户在控制器管理界面上导入OpenFlow域的VXLAN静态隧道,在设备上创建隧道端口。VXLAN静态隧道是通过本端VTEPIP和对端VTEPIP唯一标识的:The user imports the VXLAN static tunnel of the OpenFlow domain on the controller management interface, and creates a tunnel port on the device. The VXLAN static tunnel is uniquely identified by the local VTEPIP and the peer VTEPIP:
tunnelPort={local_vtepip,peer_vtepip}tunnelPort={local_vtepip,peer_vtepip}
VXLAN静态隧道的对端可以是OpenFlow域设备,也可以是EVPN域设备。OpenFlow域 内设备两两之间都要创建对应的隧道端口,但如果对端是EVPN域的设备,只仅在OpenFlow域这一端创建VXLAN静态隧道端口。The opposite end of a VXLAN static tunnel can be an OpenFlow domain device or an EVPN domain device. The corresponding tunnel port must be created between the two devices in the OpenFlow domain, but if the opposite end is a device in the EVPN domain, only the VXLAN static tunnel port is created at the end of the OpenFlow domain.
EVPN域设备上的是动态VXLAN隧道,通过学习EVPN的3型路由(二层网络广播表)动态创建,表项可以来源于其他EVPN域设备,也可以来源于OpenFlow域。当OpenFlow域设备加入二层网络时,控制器在下发二层网络转发流表给OpenFlow域设备,同时也生成3型路由同步给EVPN域设备,使得EVPN域设备能自动生成对应的异构VXLAN隧道。The EVPN domain device is a dynamic VXLAN tunnel, which is dynamically created by learning EVPN's Type 3 routing (Layer 2 network broadcast table). The entries can come from other EVPN domain devices or from the OpenFlow domain. When the OpenFlow domain device joins the Layer 2 network, the controller sends the Layer 2 network forwarding flow table to the OpenFlow domain device, and also generates Type 3 routing synchronization to the EVPN domain device, so that the EVPN domain device can automatically generate the corresponding heterogeneous VXLAN tunnel .
本发明实施例提供一种异构网络通信方法,使得同一个控制器管控的软件OpenFlow设备和硬件EVPN设备之间能进行二三层网络通信。The embodiment of the present invention provides a heterogeneous network communication method, so that the software OpenFlow device and the hardware EVPN device controlled by the same controller can perform Layer 2 and Layer 3 network communication.
图2是本发明实施例提供的表项同步示意图。如图2所示,控制器与OpenFlow域的设备建立OpenFlow连接通道,通过OpenFlow通道接收设备上报的状态消息、主机的ARP报文和未知单播首个报文,计算出二、三层转发路径,生成流表下发设备。流表包括二层广播表、MAC表、ARP表和路由表。OpenFlow域的设备一般为vSwitch软件虚拟交换机,其下挂的主机一般是虚拟机。Figure 2 is a schematic diagram of table entry synchronization provided by an embodiment of the present invention. As shown in Figure 2, the controller establishes an OpenFlow connection channel with the device in the OpenFlow domain, and receives the status message reported by the device, the host's ARP message and the first unknown unicast message through the OpenFlow channel, and calculates the Layer 2 and Layer 3 forwarding path , To generate a flow table to deliver the device. The flow table includes the Layer 2 broadcast table, MAC table, ARP table and routing table. The device in the OpenFlow domain is generally a vSwitch software virtual switch, and the host connected to it is generally a virtual machine.
控制器与EVPN域的设备建立MP-BGP连接,EVPN设备学习生成的主机路由表项同步给控制器,控制器经过转换处理和计算,得到OpenFlow域设备的转发路径,生成对应的转发表项,下发OpenFlow域的设备。另一方面,控制器也将OpenFlow域主机的路由信息,经转换处理后同步给各个EVPN设备,由EVPN设备进行路由迭代得到转发表项。EVPN路由表项主要包括2型、3型和5型路由,EVPN域的设备一般是硬件交换机,其下挂的主机可以是裸金属服务器,也可以是服务器中通过vlan隔离的虚拟机。The controller establishes an MP-BGP connection with the equipment in the EVPN domain, and the host routing table entries learned by the EVPN equipment are synchronized to the controller. The controller obtains the forwarding path of the OpenFlow domain equipment through conversion processing and calculation, and generates the corresponding forwarding table entries. The device that delivers the OpenFlow domain. On the other hand, the controller also synchronizes the routing information of the OpenFlow domain host to each EVPN device after conversion processing, and the EVPN device performs routing iteration to obtain forwarding entries. The EVPN routing table entries mainly include type 2, type 3, and type 5 routes. The equipment in the EVPN domain is generally a hardware switch, and the host connected to it can be a bare metal server or a virtual machine isolated by vlan in the server.
无论是OpenFlow域还是EVPN域,同域或跨域设备之间的转发路径,都是对应的VXLAN隧道。Regardless of whether it is an OpenFlow domain or an EVPN domain, the forwarding path between devices in the same domain or across domains is the corresponding VXLAN tunnel.
实施例四:Embodiment four:
本发明实施例提供的控制器将EVPN域的3型路由同步到OpenFlow域的方法,The method for the controller provided in the embodiment of the present invention to synchronize the type 3 route of the EVPN domain to the OpenFlow domain,
包括如下步骤:Including the following steps:
步骤101:控制器上创建二层网络实例时用VNET_ID标识,实例的RD(Route Distinguisher,路由标识)根据VNET_ID自动生成。该二层网络实例下发EVPN域设备和控制器中的路由协议处理单元,使用该VNET_ID组合成一个字符串作为二层网络VXLAN实例的名称,同时自动生成一个二层网络VXLAN实例的ID;Step 101: When creating a Layer 2 network instance on the controller, it is identified by VNET_ID, and the RD (Route Distinguisher) of the instance is automatically generated according to the VNET_ID. The Layer 2 network instance issues the routing protocol processing unit in the EVPN domain device and the controller, uses the VNET_ID to combine into a string as the name of the Layer 2 network VXLAN instance, and automatically generates the ID of a Layer 2 network VXLAN instance;
步骤102:控制器通过BGP EVPN接收到EVPN域设备发布的3型路由时,3型路由如下表1所示:Step 102: When the controller receives the type 3 route advertised by the EVPN domain device through BGP EVPN, the type 3 route is shown in Table 1 below:
表1 3型路由的RD路由标识Table 1 RD route identifier of type 3 route
Figure PCTCN2020114910-appb-000001
Figure PCTCN2020114910-appb-000001
其中RD唯一标识一个二层网络,Originating Router's IPAddress是设备的VTEP IP地址。Among them, RD uniquely identifies a Layer 2 network, and Originating Router's IPAddress is the VTEP IP address of the device.
步骤103:控制器根据RD找到EVPN域的二层网络实例,该VXLAN实例的名称与OpenFlow域的二层网络实例VNET_ID一一对应,可直接转换,因此控制器将该VXLAN_ID替换为VNET_ID后,生成OpenFlow域所需的二层网络广播表项:Step 103: The controller finds the Layer 2 network instance of the EVPN domain according to the RD. The name of the VXLAN instance corresponds to the Layer 2 network instance VNET_ID of the OpenFlow domain, and can be directly converted. Therefore, the controller replaces the VXLAN_ID with VNET_ID to generate Layer 2 network broadcast entries required by the OpenFlow domain:
Figure PCTCN2020114910-appb-000002
Figure PCTCN2020114910-appb-000002
其中:domain参数用于表示表项是来源于OpenFlow域还是EVPN域。Among them: the domain parameter is used to indicate whether the entry comes from the OpenFlow domain or the EVPN domain.
步骤104:控制器将上述二层网络广播表项添加到OpenFlow域的二层广播表中,根据其中的VTEP_IP查询到各设备上对应的VXLAN隧道端口ID,添加到组表的出端口列表中,将更新后的GROUP组表下发到各个OpenFlow域设备。Step 104: The controller adds the above-mentioned Layer 2 network broadcast entry to the Layer 2 broadcast table of the OpenFlow domain, and queries the corresponding VXLAN tunnel port ID on each device according to the VTEP_IP in it, and adds it to the outgoing port list of the group table. Deliver the updated GROUP group table to each OpenFlow domain device.
实施例五:Embodiment five:
本发明实施例提供的控制器将OpenFlow域二层网络广播表同步到EVPN域的方法,包括如下步骤:The method for the controller to synchronize the Layer 2 network broadcast table of the OpenFlow domain to the EVPN domain provided by the embodiment of the present invention includes the following steps:
步骤201:控制器根据云平台的编排或用户配置,将OpenFlow域设备加入到二层网络 广播域,生成对应的二层网络广播表项VNET_BROADCAST_INFO,其中VTEP_IP为设备IP;Step 201: The controller adds the OpenFlow domain device to the Layer 2 network broadcast domain according to the arrangement of the cloud platform or user configuration, and generates the corresponding Layer 2 network broadcast entry VNET_BROADCAST_INFO, where VTEP_IP is the device IP;
步骤202:控制器根据VNET_ID查询到对应的RD和EVPN域的VXLAN实例ID,将该广播表项注入到路由协议处理单元的VXLAN实例;Step 202: The controller finds the VXLAN instance ID of the corresponding RD and EVPN domains according to the VNET_ID, and injects the broadcast entry into the VXLAN instance of the routing protocol processing unit;
步骤203:控制器的路由协议处理单元使用该RD和VTEP_IP构造3型路由,通过BGP EVPN协议发布给EVPN域的设备。Step 203: The routing protocol processing unit of the controller uses the RD and VTEP_IP to construct a type 3 route, and advertises it to the equipment in the EVPN domain through the BGP EVPN protocol.
在实施例三中,控制器将EVPN域的2型路由MAC表同步到OpenFlow域的方法,包括如下步骤:In the third embodiment, the method for the controller to synchronize the type 2 routing MAC table of the EVPN domain to the OpenFlow domain includes the following steps:
步骤301:EVPN域设备主机上线,学习到主机MAC表,向外发布BGP EVPN的2型路由,控制器的路由处理单元接收到该2型路由,如下表2所示:Step 301: The EVPN domain device host goes online, learns the host MAC table, and advertises BGP EVPN type 2 routes, and the routing processing unit of the controller receives the type 2 routes, as shown in Table 2 below:
表2 2型路由的RD路由标识Table 2 RD route identifier of type 2 route
Figure PCTCN2020114910-appb-000003
Figure PCTCN2020114910-appb-000003
其中:RD唯一标识一个二层网络;L2VNI用于业务流量转发时标识二层网络。Among them: RD uniquely identifies a Layer 2 network; L2VNI is used to identify a Layer 2 network when business traffic is forwarded.
步骤302:控制器根据RD找到EVPN域的二层网络实例VXLAN_ID和OpenFlow域的二层网络实例VNET_ID,生成OpenFlow域所需的主机MAC表项:Step 302: The controller finds the Layer 2 network instance VXLAN_ID of the EVPN domain and the Layer 2 network instance VNET_ID of the OpenFlow domain according to the RD, and generates the host MAC entry required by the OpenFlow domain:
Figure PCTCN2020114910-appb-000004
Figure PCTCN2020114910-appb-000004
其中,vtep_ip为发布该表项的EVPN设备的IP,由控制器根据2型路由的来源隧道得到。port_id是学到该主机MAC表项的端口号,可以填为0,因为对于OpenFlow域设备 而言,仅需对应的转发路径信息,即目的设备的VTEP IP,并不关注主机上线的具体端口;Among them, vtep_ip is the IP of the EVPN device that publishes the entry, which is obtained by the controller according to the source tunnel of the type 2 routing. port_id is the port number of the host MAC table entry learned, and can be filled with 0, because for OpenFlow domain devices, only the corresponding forwarding path information, that is, the VTEP IP of the destination device, is required, and the specific port on which the host goes online is not concerned;
步骤303:控制器将上述主机MAC表项添加到OpenFlow域,根据其中的VTEP_IP查询到各设备上对应的VXLAN隧道端口ID,生成流表下发到各个OpenFlow域设备。Step 303: The controller adds the above host MAC entry to the OpenFlow domain, queries the corresponding VXLAN tunnel port ID on each device according to the VTEP_IP therein, generates a flow table and sends it to each OpenFlow domain device.
实施例六:Embodiment 6:
本实施例提供的控制器将OpenFlow域主机MAC表同步到EVPN域的方法,包括如下步骤:The method for the controller provided in this embodiment to synchronize the MAC table of the OpenFlow domain host to the EVPN domain includes the following steps:
步骤401:OpenFlow域设备主机上线,首包通过packet-in上送控制器,控制器生成对应的主机MAC表项HOST_MAC_INFO,其中VTEP_IP为主机上线设备的IP;Step 401: The host of the OpenFlow domain device goes online, the first packet is sent to the controller through the packet-in, and the controller generates the corresponding host MAC table entry HOST_MAC_INFO, where VTEP_IP is the IP of the online device of the host;
步骤402:控制器根据VNET_ID查询到对应的RD和EVPN域的VXLAN实例ID,将该主机MAC表项注入到路由协议处理单元的VXLAN实例;Step 402: The controller finds the VXLAN instance ID of the corresponding RD and EVPN domains according to the VNET_ID, and injects the host MAC entry into the VXLAN instance of the routing protocol processing unit;
步骤403:控制器的路由协议处理单元使用该RD和VTEP_IP构造2型路由,通过BGP EVPN协议发布给EVPN域的设备。Step 403: The routing protocol processing unit of the controller uses the RD and VTEP_IP to construct a type 2 route, and advertises it to devices in the EVPN domain through the BGP EVPN protocol.
实施例七:Embodiment Seven:
本实施例提供的控制器将EVPN域的2型路由IP表同步到OpenFlow域的方法,包括如下步骤:The method for the controller provided in this embodiment to synchronize the Type 2 routing IP table of the EVPN domain to the OpenFlow domain includes the following steps:
步骤501:EVPN域设备主机上线,学习到主机ARP表,向外发布BGP EVPN的2型路由IP表,控制器的路由处理单元接收到该2型路由,如下表3所示:Step 501: The EVPN domain device host goes online, learns the host ARP table, and publishes the BGP EVPN type 2 routing IP table, and the routing processing unit of the controller receives the type 2 route, as shown in Table 3 below:
表3 2型路由的RD路由标识Table 3 RD route identifier of type 2 route
Figure PCTCN2020114910-appb-000005
Figure PCTCN2020114910-appb-000005
其中:RD唯一标识一个二层网络;L2VNI用于业务流量转发时标识二层网络,L3VNI用于业务流量转发时标识三层网络。如果EVPN域配置为对称转发模式,这L2VNI和L3VNI同时携带;如果配置为非对称转发模式,则仅携带L2VNI。Among them: RD uniquely identifies a Layer 2 network; L2VNI is used to identify a Layer 2 network when business traffic is forwarded, and L3VNI is used to identify a Layer 3 network when business traffic is forwarded. If the EVPN domain is configured in symmetric forwarding mode, the L2VNI and L3VNI are carried at the same time; if configured in asymmetric forwarding mode, only L2VNI is carried.
步骤502:控制器根据RD找到EVPN域的二层网络实例VXLAN_ID和OpenFlow域的二层网络实例VNET_ID。如果L3VNI为空,则生成OpenFlow域所需的主机ARP表项:Step 502: The controller finds the Layer 2 network instance VXLAN_ID of the EVPN domain and the Layer 2 network instance VNET_ID of the OpenFlow domain according to the RD. If L3VNI is empty, the host ARP entry required by the OpenFlow domain is generated:
Figure PCTCN2020114910-appb-000006
Figure PCTCN2020114910-appb-000006
Figure PCTCN2020114910-appb-000007
Figure PCTCN2020114910-appb-000007
其中:vrf_id是三层网络实例ID,可根据vnet_id查询确定;type标识ARP表类型,一般有静态和动态之分,这里来源于EVPN,取值为evpn,表示OpenFlow域不能对该表项进行老化,需由EVPN域主动通知删除。port_id是学到该主机ARP表项的端口号,这里填0。Among them: vrf_id is the three-layer network instance ID, which can be determined by querying vnet_id; type identifies the type of ARP table, which is generally divided into static and dynamic. Here it comes from EVPN, and the value is evpn, which means that the OpenFlow domain cannot age the entry , It needs to be deleted by the EVPN domain. port_id is the port number that learned the ARP table entry of the host, fill in 0 here.
如果L3VNI非空,则生成OpenFlow域所需的主机路由表项:If L3VNI is not empty, then generate host routing table entries required by the OpenFlow domain:
Figure PCTCN2020114910-appb-000008
Figure PCTCN2020114910-appb-000008
其中:vrf_id是三层网络实例ID,根据vnet_id查询确定;ip和mask分布为路由 的目的前缀和掩码长度,这里ip取主机IP地址,掩码长度为32(IPv4)或128(IPv6);next_hop为路由的原始下一跳,这里为空;router_mac为EVPN设备的MAC地址,用于路由转发报文封装,这里为空。Among them: vrf_id is the three-layer network instance ID, which is determined according to vnet_id query; ip and mask are distributed as the destination prefix and mask length of the route, where ip is the host IP address, and the mask length is 32 (IPv4) or 128 (IPv6); next_hop is the original next hop of the route, which is empty here; router_mac is the MAC address of the EVPN device, used for routing and forwarding packet encapsulation, and it is empty here.
步骤503:控制器将上述主机ARP表项或主机路由表项添加到OpenFlow域,根据其中的VTEP_IP查询到各设备上对应的VXLAN隧道端口ID,生成流表下发到各个OpenFlow域设备。Step 503: The controller adds the above-mentioned host ARP entry or host routing table entry to the OpenFlow domain, queries the corresponding VXLAN tunnel port ID on each device according to the VTEP_IP therein, generates a flow table and sends it to each OpenFlow domain device.
实施例八:Embodiment 8:
本实施例提供的控制器将OpenFlow域主机ARP表同步到EVPN域的方法,包括如下步骤:The method for the controller provided in this embodiment to synchronize the ARP table of the OpenFlow domain host to the EVPN domain includes the following steps:
步骤601:OpenFlow域设备主机上线,首包通过packet-in上送控制器,控制器生成对应的主机ARP动态表项ARP_INFO,其中VTEP_IP为主机上线设备的IP。控制器也可以根据云平台或用户触发创建的OpenFlow域主机生成静态ARP表项;Step 601: The host of the OpenFlow domain device goes online, and the first packet is sent to the controller through the packet-in, and the controller generates the corresponding host ARP dynamic entry ARP_INFO, where VTEP_IP is the IP of the online device of the host. The controller can also generate static ARP entries based on the OpenFlow domain host created by the cloud platform or user trigger;
步骤602:控制器根据VNET_ID查询到对应的RD和EVPN域的VXLAN实例ID,将该主机ARP表项注入到路由协议处理单元的VXLAN实例;Step 602: The controller finds the VXLAN instance ID of the corresponding RD and EVPN domains according to the VNET_ID, and injects the host ARP entry into the VXLAN instance of the routing protocol processing unit;
步骤603:控制器的路由协议处理单元使用该RD和VTEP_IP构造2型路由IP表,通过BGP EVPN协议发布给EVPN域的设备。Step 603: The routing protocol processing unit of the controller uses the RD and VTEP_IP to construct a type 2 routing IP table, and advertises it to devices in the EVPN domain through the BGP EVPN protocol.
实施例九:Example 9:
本实施提供的控制器将EVPN域的5型路由表同步到OpenFlow域的方法,包括如下步骤:The method for the controller provided in this implementation to synchronize the Type 5 routing table of the EVPN domain to the OpenFlow domain includes the following steps:
步骤701:控制器上创建三层网络实例时用VRF_ID标识,实例的RD(Route Distinguisher,路由标识)根据VRF_ID自动生成。该三层网络实例下发EVPN域设备和控制器中的路由协议处理单元,使用该VRF_ID组合成一个字符串作为三层网络路由转发实例的名称;Step 701: When creating a three-layer network instance on the controller, use the VRF_ID identification, and the RD (Route Distinguisher) of the instance is automatically generated according to the VRF_ID. The layer 3 network instance issues the routing protocol processing unit in the EVPN domain device and the controller, and uses the VRF_ID to combine into a character string as the name of the layer 3 network routing and forwarding instance;
步骤702:EVPN域设备配置静态路由或学到动态路由时,生成路由转发表项,向外发布BGP EVPN的5型路由,控制器的路由处理单元接收到该5型路由,如下表4所示:Step 702: When the EVPN domain device configures a static route or learns a dynamic route, it generates a routing forwarding table entry and advertises BGP EVPN type 5 routes, and the routing processing unit of the controller receives the type 5 routes, as shown in Table 4 below :
表4 5型路由的RD路由标识Table 4 RD route identifier of type 5 route
RDRD ESI IDESI ID Eth Tag IDEth Tag ID IP Prefix LenIP Prefix Len IP PrefixIP Prefix GW IP AddressGW IP Address MPLS LabelMPLS Label
1:2001:200 00 00 0~32 or 0~1280~32 or 0~128 IP前缀IP prefix IP地址IP address L3VNIL3VNI
其中:RD唯一标识一个三层网络;IP Prefix和IP Prefix Len分别为路由的IP前缀和前缀长度;GW IP Address为路由转发网关的IP地址;L3VNI为业务流量转发时的三层网络标识。在5型路由G形态,GW IP Address非空,而MPLS Label为空;在5型路由V形态,GW IP Address为空,而MPLS Label填L3VNI,同时BGP EVPN报文携带Router’s MAC扩展团体属性。Among them: RD uniquely identifies a three-layer network; IP Prefix and IP Prefix Len are the IP prefix and prefix length of the route respectively; GW IP Address is the IP address of the routing and forwarding gateway; L3VNI is the three-layer network identifier when business traffic is forwarded. In the type 5 route G form, the GW IP Address is not empty, but the MPLS Label is empty; in the type 5 route V form, the GW IP Address is empty, and the MPLS Label fills in L3VNI, and the BGP EVPN message carries the Router’s MAC extended community attribute.
步骤703:控制器根据RD找到EVPN域的三层网络路由转发实例,通过该实例的名称转换得到OpenFlow域的三层网络实例VRF_ID。生成OpenFlow域所需的路由表项ROUTE_INFO(见上文)。Step 703: The controller finds the layer 3 network routing and forwarding instance of the EVPN domain according to the RD, and obtains the layer 3 network instance VRF_ID of the OpenFlow domain through name conversion of the instance. Generate the routing table entry ROUTE_INFO (see above) required by the OpenFlow domain.
其中:ip和mask分布为5型路由中的IP Prefix和IP Prefix Len;5型路由G形态时时,next_hop取为GW IP Address,vtep_ip和router_mac为空;5型路由V形态时,router_mac为携带的Router’s MAC,vtep_ip为发布该表项的EVPN设备的IP。Among them: ip and mask are distributed as IP Prefix and IP Prefix Len in type 5 routing; for type 5 routing in G form, next_hop is taken as GW IP Address, vtep_ip and router_mac are empty; for type 5 routing in V form, router_mac is carried Router's MAC, vtep_ip is the IP of the EVPN device that publishes the entry.
步骤704:控制器将上述路由表项添加到OpenFlow域。对于5型路由G形态,需进一步路由迭代到主机路由或ARP表,根据主机路由或ARP表的VTEP_IP查询到各设备上对应的VXLAN隧道端口ID,生成流表下发到各个OpenFlow域设备;对于对于5型路由V形态,则直接根据VTEP_IP查询到各设备上对应的VXLAN隧道端口ID后生成流表下发。Step 704: The controller adds the aforementioned routing table entry to the OpenFlow domain. For the type 5 routing G form, further routing iterations to the host routing or ARP table are required, the corresponding VXLAN tunnel port ID on each device is queried according to the VTEP_IP of the host routing or ARP table, and the flow table is generated and sent to each OpenFlow domain device; For the type 5 routing V form, the corresponding VXLAN tunnel port ID on each device is directly queried according to the VTEP_IP, and the flow table is generated and issued.
由于OpenFlow域不会主动生成路由表,因此不需要进行OpenFlow域到EVPN域的路由同步。另外,OpenFlow域和EVPN域的L2VNI、L3VNI都由控制器统一编排下发,与二层网络实例VNET_ID或三层网络实例VRF_ID一一对应,因此在表项转换时不需特殊处理,域间表项同步时可忽略。Since the OpenFlow domain does not actively generate a routing table, there is no need to synchronize routes from the OpenFlow domain to the EVPN domain. In addition, the L2VNI and L3VNI of the OpenFlow domain and the EVPN domain are uniformly orchestrated and issued by the controller, and correspond to the two-layer network instance VNET_ID or the three-layer network instance VRF_ID, so no special processing is required during table entry conversion. Items can be ignored during synchronization.
实施例十:Embodiment ten:
本实施例提供了一种控制器,控制器的结构示意图可参见图3,在图3中SDN对应于本实施的控制器,在本实施例中,控制器包括:路由协议处理单元、EVPN表项同步单元、OpenFlow表项同步单元和OpenFlow设备管理单元;This embodiment provides a controller. For a schematic diagram of the controller, refer to FIG. 3. In FIG. 3, the SDN corresponds to the controller of this embodiment. In this embodiment, the controller includes a routing protocol processing unit and an EVPN table. Item synchronization unit, OpenFlow table item synchronization unit and OpenFlow device management unit;
路由协议处理单元支持标准的BGP EVPN协议处理,用于与EVPN域的设备建立BGP邻居并相互通告EVPN路由;The routing protocol processing unit supports standard BGP EVPN protocol processing, which is used to establish BGP neighbors with devices in the EVPN domain and advertise EVPN routes to each other;
EVPN表项同步单元将路由协议处理单元学到的EVPN域表项同步到OpenFlow域,同时 接收OpenFlow域的表项信息传递给路由协议处理单元;The EVPN entry synchronization unit synchronizes the EVPN domain entries learned by the routing protocol processing unit to the OpenFlow domain, and at the same time receives the entry information of the OpenFlow domain and passes it to the routing protocol processing unit;
OpenFlow表项同步单元接收EVPN域的表项,同时将OpenFlow域的表项同步给EVPN域;The OpenFlow entry synchronization unit receives the entries of the EVPN domain, and at the same time synchronizes the entries of the OpenFlow domain to the EVPN domain;
OpenFlow设备管理单元用于创建OpenFlow域的VXLAN隧道,对OpenFlow域和EVPN域的表项计算生成流表并下发OpenFlow设备。The OpenFlow device management unit is used to create a VXLAN tunnel in the OpenFlow domain, calculate and generate a flow table for the entries in the OpenFlow domain and the EVPN domain, and deliver the OpenFlow device.
本实施例还提供了一种异构网络通信系统,该异构网络通信系统可参见图3,异构网络通信系统包括:控制器、EVPN域设备和OpenFlow域设备;This embodiment also provides a heterogeneous network communication system. The heterogeneous network communication system can be seen in FIG. 3. The heterogeneous network communication system includes: a controller, an EVPN domain device, and an OpenFlow domain device;
控制器通过MP-BGP连接通道接收EVPN域设备上报的第一报文,将第一报文转换为第一表项,并通过OpenFlow连接通道同步到OpenFlow域设备;The controller receives the first message reported by the EVPN domain device through the MP-BGP connection channel, converts the first message into the first entry, and synchronizes to the OpenFlow domain device through the OpenFlow connection channel;
控制器通过OpenFlow连接通道接收OpenFlow域设备上报的第二报文,将第二报文转换为第二表项,并通过MP-BGP连接通道同步到EVPN域设备。The controller receives the second message reported by the OpenFlow domain device through the OpenFlow connection channel, converts the second message into a second entry, and synchronizes to the EVPN domain device through the MP-BGP connection channel.
在图3的异构网络通信系统中,控制器作为该异构网络通信系统的基础,包括四个核心单元:路由协议处理单元、EVPN表项同步单元、OpenFlow表项同步单元和OpenFlow设备管理单元。In the heterogeneous network communication system of Fig. 3, the controller, as the basis of the heterogeneous network communication system, includes four core units: routing protocol processing unit, EVPN entry synchronization unit, OpenFlow entry synchronization unit and OpenFlow device management unit .
其中路由协议处理单元采用标准的BGP EVPN协议与EVPN域的设备建立BGP邻居并相互通告EVPN路由。The routing protocol processing unit uses the standard BGP EVPN protocol to establish BGP neighbors with devices in the EVPN domain and advertise EVPN routes to each other.
EVPN表项同步单元则负责将路由协议处理单元学到的EVPN表项同步到OpenFlow域,同时接收OpenFlow域的表项信息,转换为EVPN路由信息后注入路由协议处理单元,发布给EVPN域设备。The EVPN table entry synchronization unit is responsible for synchronizing the EVPN table entries learned by the routing protocol processing unit to the OpenFlow domain, and at the same time receiving the table entry information of the OpenFlow domain, converting it into EVPN routing information, injecting it into the routing protocol processing unit, and publishing it to the EVPN domain device.
OpenFlow表项同步单元则接收EVPN域的表项,生成控制器集中的控制面表项,供用户运维查询和OpenFlow域的路径计算;同时将控制器已有的OpenFlow域表项传递给EVPN表项同步单元。The OpenFlow entry synchronization unit receives the entries of the EVPN domain and generates the centralized control plane entries of the controller for user operation and maintenance query and path calculation of the OpenFlow domain; at the same time, it passes the existing OpenFlow domain entries of the controller to the EVPN table. Item synchronization unit.
OpenFlow设备管理单元,除了正常的OpenFlow域设备状态管理、主机上送报文的处理和创建VXLAN静态隧道之外,还需要对OpenFlow域和EVPN域主机进行转发路径计算,生成OpenFlow设备所需的转发流表并下发。The OpenFlow device management unit, in addition to the normal OpenFlow domain device state management, the processing of messages sent by the host, and the creation of a VXLAN static tunnel, it also needs to perform forwarding path calculations for the OpenFlow domain and EVPN domain hosts to generate the forwarding required by the OpenFlow device The flow table is issued concurrently.
综上所述,本发明提供的异构网络通信系统中VXLAN隧道创建、表项同步及报文转发的通信方法和系统,不影响原有OpenFlow域和EVPN域的协议标准和组网方法,使得这两种SDN技术无缝融合,形成混合overlay解决方案,部署场景更加灵活多样。In summary, the communication method and system for VXLAN tunnel creation, table item synchronization, and message forwarding in a heterogeneous network communication system provided by the present invention does not affect the original protocol standards and networking methods of the OpenFlow domain and EVPN domain, so that These two SDN technologies are seamlessly integrated to form a hybrid overlay solution, and deployment scenarios are more flexible and diverse.
本实施例还提供了一种计算机可读存储介质,该计算机可读存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、计算机程序模块或其他数据)的任何方法或技术中实施的易失性或非易失性、可移除或不可移除的介质。计算机可读存储介质包括但不限于RAM(Random Access Memory,随机存取存储器),ROM(Read-Only Memory,只读存储器),EEPROM(Electrically Erasable Programmable read only memory,带电可擦可编程只读存储器)、闪存或其他存储器技术、CD-ROM(Compact Disc Read-Only Memory,光盘只读存储器),数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。This embodiment also provides a computer-readable storage medium, which is included in any method or technology for storing information (such as computer-readable instructions, data structures, computer program modules, or other data). Volatile or non-volatile, removable or non-removable media. Computer-readable storage media include but are not limited to RAM (Random Access Memory), ROM (Read-Only Memory, read-only memory), EEPROM (Electrically Erasable Programmable read only memory, charged Erasable Programmable Read-Only Memory) ), flash memory or other memory technology, CD-ROM (Compact Disc Read-Only Memory), digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, Or any other medium that can be used to store desired information and that can be accessed by a computer.
本实施例还提供了一种计算机可读存储介质,计算机可读存储介质存储有一个或者多个计算机程序,所述一个或者多个计算机程序可被一个或者多个处理器执行,以实现本发明实施例以至实施一至九提供的异构网络通信方法的步骤。This embodiment also provides a computer-readable storage medium. The computer-readable storage medium stores one or more computer programs, and the one or more computer programs can be executed by one or more processors to implement the present invention. The embodiment and the steps of implementing the heterogeneous network communication method provided in the first to ninth embodiments.
根据本发明实施例提供的一种异构网络通信方法、系统和控制器,包括:控制器通过MP-BGP连接通道接收EVPN域设备上报的第一报文,将第一报文转换为第一表项,并通过OpenFlow连接通道同步到OpenFlow域设备;和/或,控制器通过OpenFlow连接通道接收OpenFlow域设备上报的第二报文,将第二报文转换为第二表项,并通过MP-BGP连接通道同步到EVPN域设备。通过控制器与EVPN域设备建立MP-BGP连接通道,与OpenFlow域设备建立OpenFlow连接通道,实现了接收EVPN域设备的第一报文和OpenFlow域设备的第二报文的目的,同时将第一报文转换为第一表项,将第二报文转换为第二表项,将第一表项同步给OpenFlow域设备,给第二表项同步给EVPN域设备,实现了OpenFlow域设备和EVPN域设备的报文交换,解决了目前的OpenFlow域设备和EVPN域设备无法混用的问题。According to an embodiment of the present invention, a heterogeneous network communication method, system, and controller include: the controller receives a first message reported by an EVPN domain device through an MP-BGP connection channel, and converts the first message into a first message. Table entry and synchronize to the OpenFlow domain device through the OpenFlow connection channel; and/or, the controller receives the second packet reported by the OpenFlow domain device through the OpenFlow connection channel, converts the second packet into a second table entry, and passes the MP -The BGP connection channel is synchronized to the EVPN domain device. The controller establishes an MP-BGP connection channel with an EVPN domain device, and an OpenFlow connection channel with an OpenFlow domain device. This achieves the purpose of receiving the first message from the EVPN domain device and the second message from the OpenFlow domain device, and at the same time, the first The message is converted to the first table entry, the second message is converted to the second table entry, the first table entry is synchronized to the OpenFlow domain device, and the second table entry is synchronized to the EVPN domain device, which realizes the OpenFlow domain device and EVPN The message exchange of domain devices solves the problem that the current OpenFlow domain devices and EVPN domain devices cannot be mixed.
可见,本领域的技术人员应该明白,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件(可以用计算装置可执行的计算机程序代码来实现)、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。It can be seen that those skilled in the art should understand that all or some of the steps, functional modules/units in the system, and devices in the methods disclosed above can be implemented as software (which can be implemented by computer program code executable by a computing device). ), firmware, hardware and their appropriate combination. In the hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may consist of several physical components. The components are executed cooperatively. Some physical components or all physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit .
此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、计算机程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。所以,本发明实施例不限制于任何特定的硬件和软件结合。In addition, as is well known to those of ordinary skill in the art, communication media usually contain computer-readable instructions, data structures, computer program modules, or other data in a modulated data signal such as carrier waves or other transmission mechanisms, and may include any information delivery medium. Therefore, the embodiments of the present invention are not limited to any specific combination of hardware and software.
以上内容是结合具体的实施方式对本发明实施例所作的进一步详细说明,不能认定本发明实施例的具体实施只局限于这些说明。对于本发明所属技术领域的普通技术人员来说,在不脱离本发明实施例构思的前提下,还可以做出若干简单推演或替换,都应当视为属于本发明的保护范围。The above content is a further detailed description of the embodiments of the present invention in combination with specific implementations, and it cannot be considered that the specific implementation of the embodiments of the present invention is limited to these descriptions. For those of ordinary skill in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the embodiments of the present invention, which should be regarded as falling within the protection scope of the present invention.

Claims (10)

  1. 一种异构网络通信方法,包括:A heterogeneous network communication method, including:
    控制器通过MP-BGP连接通道接收EVPN域设备上报的第一报文,将所述第一报文转换为第一表项,并通过OpenFlow连接通道同步到OpenFlow域设备;The controller receives the first message reported by the EVPN domain device through the MP-BGP connection channel, converts the first message into a first entry, and synchronizes to the OpenFlow domain device through the OpenFlow connection channel;
    和/或,and / or,
    控制器通过OpenFlow连接通道接收OpenFlow域设备上报的第二报文,将所述第二报文转换为第二表项,并通过MP-BGP连接通道同步到EVPN域设备。The controller receives the second message reported by the OpenFlow domain device through the OpenFlow connection channel, converts the second message into a second entry, and synchronizes to the EVPN domain device through the MP-BGP connection channel.
  2. 如权利要求1所述的异构网络通信方法,其中,所述第一报文和所述第二表项包括:3型路由、2型路由和5型路由任意一种;The heterogeneous network communication method according to claim 1, wherein the first message and the second table entry comprise: any one of type 3 routing, type 2 routing, and type 5 routing;
    所述第二报文和所述第一表项包括:二层网络广播表、MAC表、ARP表和路由表任意一种;The second message and the first entry include: any one of a layer 2 network broadcast table, a MAC table, an ARP table, and a routing table;
    所述3型路由与所述二层网络广播表对应,所述2型路由与所述MAC表和ARP表对应,所述5型路由与所述路由表对应。The type 3 route corresponds to the layer 2 network broadcast table, the type 2 route corresponds to the MAC table and the ARP table, and the type 5 route corresponds to the routing table.
  3. 如权利要求1所述的异构网络通信方法,其中,所述EVPN域设备为硬件交换机时,所述EVPN域设备下挂载的主机包括裸金属服务器和服务器中通过vlan隔离的虚拟机任意一种;The heterogeneous network communication method according to claim 1, wherein when the EVPN domain device is a hardware switch, the host mounted under the EVPN domain device includes any one of a bare metal server and a virtual machine isolated by vlan in the server. Species
    所述OpenFlow域设备为vSwitch软件虚拟交换机时,所述OpenFlow域设备下挂载的主机为虚拟机。When the OpenFlow domain device is a vSwitch software virtual switch, the host mounted under the OpenFlow domain device is a virtual machine.
  4. 如权利要求1-3任一项所述的异构网络通信方法,其中,所述MP-BGP连接通道建立后为动态VXLAN隧道,所述动态VXLAN隧道由所述EVPN域设备通过学习BGP EVPN动态建立。The heterogeneous network communication method according to any one of claims 1 to 3, wherein the MP-BGP connection channel is established as a dynamic VXLAN tunnel, and the dynamic VXLAN tunnel is used by the EVPN domain device to learn BGP EVPN dynamics set up.
  5. 如权利要求4所述的异构网络通信方法,其中,所述EVPN域设备和所述OpenFlow域设备通过学习所述第一表项和/或第二表项,生成二层和三层转发表项。The heterogeneous network communication method according to claim 4, wherein the EVPN domain device and the OpenFlow domain device learn the first table entry and/or the second table entry to generate layer 2 and layer 3 forwarding tables item.
  6. 如权利要求1-3任一项所述的异构网络通信方法,其中,所述OpenFlow连接通道建立后为静态VXLAN隧道,所述静态VXLAN隧道由控制器静态导入配置到所述OpenFlow域设备上,所述静态VXLAN隧道采用两端设备的VTEP IP作为唯一标识。The heterogeneous network communication method according to any one of claims 1-3, wherein the OpenFlow connection channel is a static VXLAN tunnel after being established, and the static VXLAN tunnel is statically imported and configured by the controller to the OpenFlow domain device The static VXLAN tunnel uses the VTEP IP of the devices at both ends as a unique identifier.
  7. 如权利要求6所述的异构网络通信方法,其中,所述VTEP IP标识在不同设备之间的出接口为静态VXLAN隧道,所述静态VXLAN隧道为同域,或跨域,用于实现同域或跨域的报文转发。The heterogeneous network communication method according to claim 6, wherein the outbound interface of the VTEP IP identification between different devices is a static VXLAN tunnel, and the static VXLAN tunnel is in the same domain or cross-domain, and is used to realize the same Domain or cross-domain packet forwarding.
  8. 一种控制器,包括:A controller including:
    路由协议处理单元,支持标准的BGP EVPN协议处理,用于与EVPN域的设备建立BGP 邻居并相互通告EVPN路由;The routing protocol processing unit supports standard BGP EVPN protocol processing, which is used to establish BGP neighbors with devices in the EVPN domain and advertise EVPN routes to each other;
    EVPN表项同步单元,用于将路由协议处理单元学到的EVPN域表项同步到OpenFlow域,同时接收OpenFlow域的表项信息传递给路由协议处理单元;The EVPN entry synchronization unit is used to synchronize the EVPN domain entries learned by the routing protocol processing unit to the OpenFlow domain, and at the same time receive the entry information of the OpenFlow domain and pass it to the routing protocol processing unit;
    OpenFlow表项同步单元,用于接收EVPN域的表项,同时将OpenFlow域的表项同步给EVPN域;The OpenFlow entry synchronization unit is used to receive the entries of the EVPN domain, and at the same time synchronize the entries of the OpenFlow domain to the EVPN domain;
    OpenFlow设备管理单元,用于创建OpenFlow域的VXLAN隧道,对OpenFlow域和EVPN域的表项计算生成流表并下发OpenFlow设备。The OpenFlow device management unit is used to create a VXLAN tunnel in the OpenFlow domain, calculate and generate a flow table for the entries in the OpenFlow domain and the EVPN domain, and deliver the OpenFlow device.
  9. 一种异构网络通信系统,包括:控制器、EVPN域设备和OpenFlow域设备;A heterogeneous network communication system, including: a controller, an EVPN domain device, and an OpenFlow domain device;
    所述控制器通过MP-BGP连接通道接收所述EVPN域设备上报的第一报文,将所述第一报文转换为第一表项,并通过OpenFlow连接通道同步到OpenFlow域设备;The controller receives the first message reported by the EVPN domain device through the MP-BGP connection channel, converts the first message into a first entry, and synchronizes to the OpenFlow domain device through the OpenFlow connection channel;
    所述控制器通过所述OpenFlow连接通道接收OpenFlow域设备上报的第二报文,将所述第二报文转换为第二表项,并通过所述MP-BGP连接通道同步到EVPN域设备。The controller receives the second message reported by the OpenFlow domain device through the OpenFlow connection channel, converts the second message into a second entry, and synchronizes to the EVPN domain device through the MP-BGP connection channel.
  10. 一种计算机可读存储介质,存储有一个或者多个计算机程序,所述一个或者多个计算机程序可被一个或者多个处理器执行,以实现如权利要求1至7中任一项所述的异构网络通信方法的步骤。A computer-readable storage medium that stores one or more computer programs, and the one or more computer programs can be executed by one or more processors to implement the method according to any one of claims 1 to 7 The steps of a heterogeneous network communication method.
PCT/CN2020/114910 2019-11-25 2020-09-11 Heterogeneous network communication method and system, and controller WO2021103744A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911168055.2 2019-11-25
CN201911168055.2A CN112838985B (en) 2019-11-25 2019-11-25 Heterogeneous network communication method, system and controller

Publications (1)

Publication Number Publication Date
WO2021103744A1 true WO2021103744A1 (en) 2021-06-03

Family

ID=75922402

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/114910 WO2021103744A1 (en) 2019-11-25 2020-09-11 Heterogeneous network communication method and system, and controller

Country Status (2)

Country Link
CN (1) CN112838985B (en)
WO (1) WO2021103744A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114500171A (en) * 2021-12-29 2022-05-13 曙光云计算集团有限公司 Network system and message transmission method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9467536B1 (en) * 2014-03-21 2016-10-11 Cisco Technology, Inc. Shim layer abstraction in multi-protocol SDN controller
CN107204907A (en) * 2016-03-16 2017-09-26 中兴通讯股份有限公司 Cloud data center interconnected method and device
CN108989232A (en) * 2017-05-31 2018-12-11 中兴通讯股份有限公司 Message interaction method and device in SDN
CN109327374A (en) * 2017-07-31 2019-02-12 杭州达乎科技有限公司 Realize the system and method for three-layer VPN network insertion
CN109479027A (en) * 2016-08-04 2019-03-15 思科技术公司 For interconnecting the technology of the virtual network based on controller and the virtual network based on agreement
CN110391997A (en) * 2019-07-26 2019-10-29 新华三技术有限公司合肥分公司 A kind of message forwarding method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106549873A (en) * 2016-12-09 2017-03-29 北京邮电大学 Communication means and system between a kind of isomery controller
CN108574613B (en) * 2017-03-07 2022-05-10 中兴通讯股份有限公司 Two-layer intercommunication method and device for SDN data center
CN109729019B (en) * 2018-12-28 2022-05-31 新华三技术有限公司 Speed limiting method and device for special line service in EVPN (Ethernet virtual private network) networking

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9467536B1 (en) * 2014-03-21 2016-10-11 Cisco Technology, Inc. Shim layer abstraction in multi-protocol SDN controller
CN107204907A (en) * 2016-03-16 2017-09-26 中兴通讯股份有限公司 Cloud data center interconnected method and device
CN109479027A (en) * 2016-08-04 2019-03-15 思科技术公司 For interconnecting the technology of the virtual network based on controller and the virtual network based on agreement
CN108989232A (en) * 2017-05-31 2018-12-11 中兴通讯股份有限公司 Message interaction method and device in SDN
CN109327374A (en) * 2017-07-31 2019-02-12 杭州达乎科技有限公司 Realize the system and method for three-layer VPN network insertion
CN110391997A (en) * 2019-07-26 2019-10-29 新华三技术有限公司合肥分公司 A kind of message forwarding method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114500171A (en) * 2021-12-29 2022-05-13 曙光云计算集团有限公司 Network system and message transmission method
CN114500171B (en) * 2021-12-29 2023-05-26 曙光云计算集团有限公司 Network system and message transmission method

Also Published As

Publication number Publication date
CN112838985B (en) 2024-04-02
CN112838985A (en) 2021-05-25

Similar Documents

Publication Publication Date Title
EP3836490B1 (en) Vpn cross-domain implementation method, device, and border node
US10757008B2 (en) Flow specification protocol-based communications method, device, and system
WO2021063232A1 (en) Method, apparatus and system for establishing bier forwarding table entry
CN111510379B (en) EVPN message processing method, device and system
CN111865796B (en) Path Computation Element Central Controller (PCECC) for network traffic
US9998368B2 (en) Zone routing system
EP3896923A1 (en) Bier packet sending method and apparatus
US8531941B2 (en) Intra-domain and inter-domain bridging over MPLS using MAC distribution via border gateway protocol
US20230155932A1 (en) Multicast traffic transmission method and apparatus, communication node, and storage medium
EP2466807A1 (en) IP Forwarding across a Link State Protocol Controlled Ethernet Network
CN108574630A (en) EVPN message processing methods, equipment and system
JP2011508575A (en) VPN implementation over a link state protocol controlled Ethernet network
US11362954B2 (en) Tunneling inter-domain stateless internet protocol multicast packets
US20200274739A1 (en) Methods, Nodes and Computer Readable Media for Tunnel Establishment Per Slice
WO2020098611A1 (en) Method and apparatus for acquiring routing information
WO2013139270A1 (en) Method, device, and system for implementing layer3 virtual private network
WO2023045871A1 (en) Packet processing method, network device and system
US20220200820A1 (en) Packet Sending Method and Apparatus
WO2021103744A1 (en) Heterogeneous network communication method and system, and controller
WO2023274083A1 (en) Route publishing method and apparatus, packet forwarding method and apparatus, device, and storage medium
Joseph et al. Network convergence: Ethernet applications and next generation packet transport architectures
WO2024016869A1 (en) Multicast configuration method and apparatus
US11516123B2 (en) Configuring logical network devices for label-switched networks
WO2024007762A1 (en) Route publishing method, and communication method and apparatus
US9525615B2 (en) Systems and methods for implementing multiple ISIS routing instances on a network element

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20892367

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20892367

Country of ref document: EP

Kind code of ref document: A1