CN114553802A - Data processing method and device and network equipment - Google Patents

Data processing method and device and network equipment Download PDF

Info

Publication number
CN114553802A
CN114553802A CN202011352576.6A CN202011352576A CN114553802A CN 114553802 A CN114553802 A CN 114553802A CN 202011352576 A CN202011352576 A CN 202011352576A CN 114553802 A CN114553802 A CN 114553802A
Authority
CN
China
Prior art keywords
network
vlan
interface
vni
local area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011352576.6A
Other languages
Chinese (zh)
Inventor
王瑞雪
翁思俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
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 China Mobile Communications Group Co Ltd, China Mobile Communications Ltd Research Institute filed Critical China Mobile Communications Group Co Ltd
Priority to CN202011352576.6A priority Critical patent/CN114553802A/en
Publication of CN114553802A publication Critical patent/CN114553802A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/35Switches specially adapted for specific applications
    • H04L49/354Switches specially adapted for specific applications for supporting virtual local area networks [VLAN]
    • 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
    • H04L49/00Packet switching elements
    • H04L49/30Peripheral units, e.g. input or output ports

Landscapes

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

Abstract

The invention provides a data processing method, a data processing device and network equipment, wherein the data processing method comprises the following steps: determining the VNI of the VXLAN network corresponding to the message according to the mapping relation information between QinQ and the VNI and the inner VLAN ID and the outer VLAN ID under the condition that the received message carries the inner VLAN ID and the outer VLAN ID; mapping the message to a VXLAN network according to the VNI; the outer VLAN ID corresponds to a first father interface, and the inner VLAN ID corresponds to a first child interface of the first father interface; the mapping relationship information between QinQ to VNIs includes first mapping relationship information between the first parent interface, the first child interface, and the VNIs. According to the scheme, the network distinguishing and isolating requirements corresponding to different sub-PORTs can be met, actual service messages VNIs can be clearly distinguished, and the VNIs corresponding to correct mapping are forwarded, so that the problem that the network distinguishing and isolating requirements corresponding to different sub-PORTs cannot be met in the data processing scheme in the prior art is well solved.

Description

Data processing method and device and network equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a data processing method, an apparatus, and a network device.
Background
At present, under a traditional hardware SDN (software defined network) scheme, a hardware TOR (access switch) searches VXLAN IDs which need to be mapped based on a physical PORT number of a message incoming direction and a carried outer VLAN (virtual local area network) ID (VLAN ID corresponding to a main PORT (interface), which may also be called as a parent PORT), and the scheme cannot satisfy the problem that a plurality of VLAN subinterfaces of a virtual machine are isolated from a network plane at present, specifically as follows:
as shown in fig. 1, the controller allocates a VLAN to a network segment corresponding to the main PORT under each physical interface, so as to implement mapping of VLAN-VXLAN (virtual extensible local area network); in this scenario, for a scenario where a packet generated by a network element is sent from Guest OS (client operating system) and does not carry a VLAN, there is no VLAN sub-interface (for example, PORT1 side in fig. 1), the packet is directly mapped onto a corresponding VXLAN network on sdtor based on the VLAN ID corresponding to the main PORT, for example, for VM (virtual machine) 1, when a vSwitch (virtual switch) exits, the virtual layer carries a VLAN of 10, and after the packet enters the TOR, the VXLAN network ID (vni) corresponding to the VLAN is known to be 100 according to an internal mapping mechanism of the switch. However, for the right VM (PORT2 side) in fig. 1, two VLAN sub-interfaces are divided on the main PORT to represent different network planes, VLAN IDs carried by the two network planes are 30 and 40, respectively, after the packet is forwarded to vSwitch, the virtual layer will print a VLAN ID (VLAN ═ 30) corresponding to the main PORT on the outer layer, after the packet reaches the TOR, according to the conventional mapping mechanism, all sub-PORTs will be mapped into virtual networks corresponding to the main PORT, service flows corresponding to different sub-PORTs cannot be distinguished, and network distinguishing and isolating requirements corresponding to different sub-PORTs cannot be met; that is, the traffic of all the sub-PORTs will be mapped to the same VXLAN subnet, which is inconsistent with the actual deployment.
As can be seen from the above, the data processing scheme in the prior art has a problem that the requirements for network differentiation and isolation corresponding to different sub-PORTs cannot be met.
Disclosure of Invention
The invention aims to provide a data processing method, a data processing device and network equipment, and aims to solve the problem that a data processing scheme in the prior art cannot meet the requirements of network differentiation and isolation corresponding to different sub-PORTs.
In order to solve the above technical problem, an embodiment of the present invention provides a data processing method applied to a first network device, where the method includes:
under the condition that a received message carries an inner layer virtual local area network identification (VLAN ID) and an outer layer VLAN ID, determining a network Virtual Networking (VNI) of a VXLAN (virtual extensible local area network) corresponding to the message according to mapping relation information between a double virtual local area network (QinQ) and the network identification VNI of the VXLAN network, the inner layer VLAN ID and the outer layer VLAN ID;
mapping the message to the VXLAN network according to the VNI;
the outer VLAN ID corresponds to a first father interface, and the inner VLAN ID corresponds to a first child interface of the first father interface;
the mapping relationship information between the QinQ to VNIs includes first mapping relationship information between the first parent interface, the first child interface, and the VNIs.
Optionally, before determining the VNI of the VXLAN network corresponding to the packet according to the mapping relationship information between the dual virtual local area network QinQ and the network identifier VNI of the virtual extensible local area network VXLAN network, and the inner VLAN ID and the outer VLAN ID, the method further includes:
receiving mapping relation information between the QinQ and the VNI sent by a second network device.
The embodiment of the invention also provides a data processing method which is applied to second network equipment, and the method comprises the following steps:
receiving network configuration information sent by third network equipment;
under the condition that the network configuration information contains first configuration information, generating mapping relation information between a double virtual local area network QinQ and a network identifier VNI of a virtual extensible local area network VXLAN network according to the first configuration information, and sending the mapping relation information to first network equipment;
the first configuration information comprises an inner layer virtual local area network identification VLAN ID, a VNI corresponding to VXLAN and network equipment information corresponding to a first father interface;
the inner VLAN ID corresponds to a first child interface of the first parent interface.
Optionally, the generating, according to the first configuration information, mapping relationship information between network identifiers VNIs of a dual virtual local area network QinQ to a virtual extensible local area network VXLAN network includes:
generating an outer layer VLAN ID corresponding to the first father interface according to the network equipment information;
obtaining first mapping relation information according to the outer layer VLAN ID, the inner layer VLAN ID and the VNI;
and obtaining the mapping relation information between the QinQ and the VNI according to the first mapping relation information.
The embodiment of the invention also provides a data processing method which is applied to third network equipment, and the method comprises the following steps:
determining first configuration information under the condition that a first parent interface has a corresponding first child interface;
obtaining network configuration information according to the first configuration information, and sending the network configuration information to second network equipment;
the first configuration information includes network device information corresponding to the first parent interface, an inner layer virtual local area network identifier VLAN ID corresponding to the first child interface, and a network identifier VNI corresponding to a virtual extensible local area network VXLAN.
Optionally, the inner VLAN ID is located in an interface identification field of the first configuration information.
An embodiment of the present invention further provides a data processing apparatus, which is applied to a first network device, and the apparatus includes:
the first determining module is used for determining the VNI of the VXLAN network corresponding to the message according to the mapping relation information between the double virtual local area networks QinQ and the network identification VNI of the virtual expanded local area network VXLAN network, the inner layer VLAN ID and the outer layer VLAN ID under the condition that the received message carries the inner layer virtual local area network identification VLAN ID and the outer layer VLAN ID;
the first processing module is used for mapping the message to the VXLAN network according to the VNI;
the outer VLAN ID corresponds to a first father interface, and the inner VLAN ID corresponds to a first child interface of the first father interface;
the mapping relationship information between the QinQ to VNIs includes first mapping relationship information between the first parent interface, the first child interface, and the VNIs.
Optionally, the method further includes:
the first receiving module is configured to receive, before determining the VNI of the VXLAN network corresponding to the packet according to the mapping relationship information between the dual virtual local area network QinQ and the network identifier VNI of the virtual extensible local area network VXLAN network and the inner VLAN ID and the outer VLAN ID, the mapping relationship information between the QinQ and the VNI sent by the second network device.
An embodiment of the present invention further provides a data processing apparatus, which is applied to a second network device, and the apparatus includes:
the second receiving module is used for receiving the network configuration information sent by the third network equipment;
the second processing module is used for generating mapping relation information between a double virtual local area network QinQ and a network identifier VNI of a virtual extensible local area network VXLAN network according to the first configuration information under the condition that the network configuration information contains the first configuration information, and sending the mapping relation information to the first network equipment;
the first configuration information comprises an inner layer virtual local area network identification VLAN ID, a VNI corresponding to VXLAN and network equipment information corresponding to a first father interface;
the inner VLAN ID corresponds to a first child interface of the first parent interface.
Optionally, the second processing module includes:
the first generation submodule is used for generating an outer layer VLAN ID corresponding to the first father interface according to the network equipment information;
the first processing submodule is used for obtaining first mapping relation information according to the outer layer VLAN ID, the inner layer VLAN ID and the VNI;
and the second processing submodule is used for obtaining the mapping relation information between the QinQ and the VNI according to the first mapping relation information.
An embodiment of the present invention further provides a data processing apparatus, which is applied to a third network device, and the apparatus includes:
the second determining module is used for determining the first configuration information under the condition that the first parent interface has the corresponding first child interface;
the third processing module is used for obtaining network configuration information according to the first configuration information and sending the network configuration information to second network equipment;
the first configuration information includes network device information corresponding to the first parent interface, an inner-layer virtual local area network identifier VLAN ID corresponding to the first child interface, and a network identifier VNI corresponding to a virtual extensible local area network VXLAN.
Optionally, the inner VLAN ID is located in an interface identification field of the first configuration information.
An embodiment of the present invention further provides a network device, where the network device is a first network device, and the network device includes: a processor and a transceiver;
the processor is configured to determine, when a message received by the transceiver carries an inner-layer virtual local area network identifier VLAN ID and an outer-layer VLAN ID, a network identifier VNI of a virtual extensible local area network VXLAN network corresponding to the message according to mapping relationship information between a dual virtual local area network QinQ and the network identifier VNI, and the inner-layer VLAN ID and the outer-layer VLAN ID;
mapping the message to the VXLAN network through the transceiver according to the VNI;
the outer VLAN ID corresponds to a first father interface, and the inner VLAN ID corresponds to a first child interface of the first father interface;
the mapping relationship information between the QinQ to VNIs includes first mapping relationship information between the first parent interface, the first child interface, and the VNIs.
Optionally, the processor is further configured to:
before the VNI of the VXLAN network corresponding to the message is determined according to the mapping relationship information between the double virtual local area networks QinQ and the network identification VNI of the virtual extensible local area network VXLAN network and the inner layer VLAN ID and the outer layer VLAN ID, the mapping relationship information between the QinQ and the VNI, which is sent by the second network equipment, is received through the transceiver.
An embodiment of the present invention further provides a network device, where the network device is a second network device, and the network device includes: a processor and a transceiver;
the processor is configured to receive, through the transceiver, network configuration information sent by a third network device;
under the condition that the network configuration information contains first configuration information, generating mapping relation information between a double virtual local area network QinQ and a network identifier VNI of a virtual extensible local area network VXLAN network according to the first configuration information, and sending the mapping relation information to first network equipment through the transceiver;
the first configuration information comprises an inner layer virtual local area network identification VLAN ID, a VNI corresponding to VXLAN and network equipment information corresponding to a first father interface;
the inner VLAN ID corresponds to a first child interface of the first parent interface.
Optionally, the processor is specifically configured to:
generating an outer layer VLAN ID corresponding to the first father interface according to the network equipment information;
obtaining first mapping relation information according to the outer layer VLAN ID, the inner layer VLAN ID and the VNI;
and obtaining the mapping relation information between the QinQ and the VNI according to the first mapping relation information.
An embodiment of the present invention further provides a network device, where the network device is a third network device, and the network device includes: a processor and a transceiver;
the processor is used for determining first configuration information under the condition that a first parent interface has a corresponding first child interface;
obtaining network configuration information according to the first configuration information, and sending the network configuration information to second network equipment through the transceiver;
the first configuration information includes network device information corresponding to the first parent interface, an inner-layer virtual local area network identifier VLAN ID corresponding to the first child interface, and a network identifier VNI corresponding to a virtual extensible local area network VXLAN.
Optionally, the inner VLAN ID is located in an interface identification field of the first configuration information.
The embodiment of the invention also provides network equipment, which comprises a memory, a processor and a program which is stored on the memory and can be operated on the processor; the processor implements the data processing method of the first network device side when executing the program; alternatively, the first and second electrodes may be,
the processor implements the data processing method of the second network device side when executing the program; alternatively, the first and second electrodes may be,
the processor implements the data processing method of the third network device side described above when executing the program.
The embodiment of the present invention further provides a readable storage medium, on which a program is stored, where the program, when executed by a processor, implements the steps in the data processing method on the first network device side; alternatively, the first and second electrodes may be,
the program is executed by a processor to implement the steps in the data processing method on the second network device side; alternatively, the first and second electrodes may be,
the program realizes the steps in the data processing method on the third network device side described above when executed by a processor.
The technical scheme of the invention has the following beneficial effects:
in the above scheme, the data processing method determines the VNI of the VXLAN network corresponding to the message according to the mapping relationship information between the dual virtual local area network QinQ and the network identifier VNI of the virtual extensible local area network VXLAN network, and the inner VLAN ID and the outer VLAN ID, when the received message carries the inner virtual local area network identifier VLAN ID and the outer VLAN ID; mapping the message to the VXLAN network according to the VNI; the outer VLAN ID corresponds to a first father interface, and the inner VLAN ID corresponds to a first child interface of the first father interface; the mapping relation information between the QinQ and the VNI comprises first mapping relation information among the first parent interface, the first child interface and the VNI; the method and the device can meet the requirements of network distinguishing and isolation corresponding to different sub-PORTs, clearly distinguish actual service messages VNIs, correctly map corresponding VNIs for forwarding, and well solve the problem that the requirements of network distinguishing and isolation corresponding to different sub-PORTs cannot be met in a data processing scheme in the prior art.
Drawings
FIG. 1 is a schematic diagram of a prior art data processing scheme;
FIG. 2 is a first flowchart illustrating a data processing method according to an embodiment of the present invention;
FIG. 3 is a second flowchart illustrating a data processing method according to an embodiment of the present invention;
FIG. 4 is a third schematic flow chart illustrating a data processing method according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a data processing method implementation framework according to an embodiment of the present invention;
FIG. 6 is a flowchart illustrating a specific implementation of a data processing method according to an embodiment of the present invention;
FIG. 7 is a first block diagram of a data processing apparatus according to an embodiment of the present invention;
FIG. 8 is a second schematic structural diagram of a data processing apparatus according to an embodiment of the present invention;
FIG. 9 is a third block diagram illustrating a data processing apparatus according to an embodiment of the present invention;
FIG. 10 is a first diagram illustrating a network device structure according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of a network device according to an embodiment of the present invention;
fig. 12 is a third schematic structural diagram of a network device according to an embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantages of the present invention more apparent, the following detailed description is given with reference to the accompanying drawings and specific embodiments.
The present invention provides a data processing method, applied to a first network device, for solving the problem that the data processing scheme in the prior art cannot meet the requirements of network differentiation and isolation corresponding to different sub-PORTs, as shown in fig. 2, the method includes:
step 21: under the condition that a received message carries an inner layer virtual local area network identification (VLAN ID) and an outer layer VLAN ID, determining a network Virtual Networking (VNI) of a VXLAN (virtual extensible local area network) corresponding to the message according to mapping relation information between a double virtual local area network (QinQ) and the network identification VNI of the VXLAN network, the inner layer VLAN ID and the outer layer VLAN ID;
step 22: mapping the message to the VXLAN network according to the VNI; the outer VLAN ID corresponds to a first father interface, and the inner VLAN ID corresponds to a first child interface of the first father interface; the mapping relationship information between the QinQ to VNIs includes first mapping relationship information between the first parent interface, the first child interface, and the VNIs.
In the data processing method provided by the embodiment of the invention, when a received message carries an inner layer virtual local area network identifier (VLAN ID) and an outer layer VLAN ID, the VNI of a VXLAN network corresponding to the message is determined according to mapping relation information between a double virtual local area network QinQ and a network identifier (VNI) of a virtual extensible local area network (VXLAN) network, the inner layer VLAN ID and the outer layer VLAN ID; mapping the message to the VXLAN network according to the VNI; the outer VLAN ID corresponds to a first father interface, and the inner VLAN ID corresponds to a first child interface of the first father interface; the mapping relation information between the QinQ and the VNI comprises first mapping relation information among the first parent interface, the first child interface and the VNI; the method and the device can meet the requirements of network distinguishing and isolation corresponding to different sub-PORTs, clearly distinguish actual service messages VNIs, correctly map corresponding VNIs for forwarding, and well solve the problem that the requirements of network distinguishing and isolation corresponding to different sub-PORTs cannot be met in a data processing scheme in the prior art.
Further, before determining the VNI of the VXLAN network corresponding to the packet according to the mapping relationship information between the dual virtual local area network QinQ and the network identifier VNI of the virtual extensible local area network VXLAN network, and the inner VLAN ID and the outer VLAN ID, the method further includes: receiving mapping relation information between the QinQ and the VNI sent by a second network device.
An embodiment of the present invention further provides a data processing method, which is applied to a second network device, and as shown in fig. 3, the method includes:
step 31: receiving network configuration information sent by third network equipment;
step 32: under the condition that the network configuration information contains first configuration information, generating mapping relation information between a double virtual local area network QinQ and a network identifier VNI of a virtual extensible local area network VXLAN network according to the first configuration information, and sending the mapping relation information to first network equipment; the first configuration information comprises an inner layer virtual local area network identification VLAN ID, a VNI corresponding to VXLAN and network equipment information corresponding to a first father interface; the inner VLAN ID corresponds to a first child interface of the first parent interface.
The "network device information corresponding to the first parent interface" may be specifically understood as information about a switch on which the first parent interface is hung.
The data processing method provided by the embodiment of the invention receives network configuration information sent by third network equipment; under the condition that the network configuration information contains first configuration information, generating mapping relation information between a double virtual local area network QinQ and a network identifier VNI of a virtual extensible local area network VXLAN network according to the first configuration information, and sending the mapping relation information to first network equipment; the first configuration information comprises an inner layer virtual local area network identification VLAN ID, a VNI corresponding to VXLAN and network equipment information corresponding to a first father interface; the inner VLAN ID corresponds to a first subinterface of the first father interface; the method can support and realize the network distinguishing and isolating requirements corresponding to different sub-PORTs, clearly distinguish actual service messages VNIs and correctly map the corresponding VNIs for forwarding, and well solves the problem that the network distinguishing and isolating requirements corresponding to different sub-PORTs cannot be met in a data processing scheme in the prior art.
Wherein, the generating of the mapping relationship information between the network identifiers VNI of the dual virtual local area network QinQ to the virtual extensible local area network VXLAN network according to the first configuration information includes: generating an outer layer VLAN ID corresponding to the first father interface according to the network equipment information; obtaining first mapping relation information according to the outer layer VLAN ID, the inner layer VLAN ID and the VNI; and obtaining the mapping relation information between the QinQ and the VNI according to the first mapping relation information.
An embodiment of the present invention further provides a data processing method applied to a third network device, and as shown in fig. 4, the method includes:
step 41: determining first configuration information under the condition that a first parent interface has a corresponding first child interface;
step 42: obtaining network configuration information according to the first configuration information, and sending the network configuration information to second network equipment; the first configuration information includes network device information corresponding to the first parent interface, an inner-layer virtual local area network identifier VLAN ID corresponding to the first child interface, and a network identifier VNI corresponding to a virtual extensible local area network VXLAN.
The "first parent interface has a corresponding first child interface" may specifically be understood as having a VLAN child interface requirement.
The data processing method provided by the embodiment of the invention determines the first configuration information under the condition that the first parent interface has the corresponding first child interface; obtaining network configuration information according to the first configuration information, and sending the network configuration information to second network equipment; the first configuration information includes network device information corresponding to the first parent interface, an inner-layer virtual local area network identifier VLAN ID corresponding to the first child interface, and a network identifier VNI corresponding to a virtual extensible local area network VXLAN; the method can support and realize the requirements of network differentiation and isolation corresponding to different sub-PORTs, clearly differentiate actual service messages VNIs, correctly map corresponding VNIs for forwarding, and well solve the problem that the requirements of network differentiation and isolation corresponding to different sub-PORTs cannot be met in the data processing scheme in the prior art.
The inner VLAN ID may be specifically located in an interface identification field (segment ID) of the first configuration information.
The data processing method provided in the embodiment of the present invention is further described below with reference to multiple sides, such as a first network device, a second network device, and a third network device, where the first network device takes an access switch TOR (also referred to as SDN TOR) as an example, the second network device takes an SDN controller as an example, and the third network device takes a cloud computing management tool openstack as an example.
In view of the above technical problems, an embodiment of the present invention provides a data processing method, which specifically relates to a network arrangement process and a device mapping mechanism: different from the traditional single-layer VLAN + PORT information mode mapping into VNI, the scheme enables an SDN controller to sense an inner-layer VLAN ID by redefining an upper-layer arrangement flow, and realizes that service messages VxLAN networks are distinguished based on inner-layer services and outer-layer parent PORT VLAN tags at the same time by configuring a mapping mechanism (namely mapping relation information between QiNQ and VNI) from QINQ (also called Stacked Virtual Local Area Network (VLAN) or Double virtual local area network (Double VLAN)) to VXLAN on an SDN TOR (software defined network TOR), and the service messages VxLAN networks are mapped into corresponding VNI to be forwarded.
The two stages involved in the present solution are explained below.
A first phase, a deployment phase:
when the network is deployed, a main PORT (namely a father PORT) and a corresponding VXLAN network are established (by openstack), and the openstack distributes a VNI identifier for the VXLAN network; after the SDN controller obtains network information (i.e., the network configuration information, including the allocated VNI identifier, which switch (i.e., network device information corresponding to the parent interface) the primary PORT is hung on, etc.), the SDN controller allocates an outer VLAN ID corresponding to the primary PORT to the network, and allocates the outer VLAN ID to a corresponding vSwitch or SR-IOV (single IO virtualization) network card through a virtual layer, where all traffic outer layers carry the VLAN ID in a subsequent PORT. If a plurality of VLAN subinterfaces need to be created under the primary PORT, when a VXLAN network corresponding to the subinterface is created, in addition to assigning a VNI identifier to the VXLAN network, a VLAN ID corresponding to the subinterface (i.e., an inner-layer VLAN ID carried when a service is sent) needs to be written in an interface segment ID (identifier field) when the network is created, in this case, an SDN controller needs to configure a QinQ-to-VLXAN mapping mechanism on a physical interface corresponding to an SDN TOR, and when a plurality of VLAN subinterfaces exist, a multi-pair mapping policy needs to be configured.
As shown in fig. 5:
1, openstack creates a VXLAN type network and informs an SDN controller of relevant information; the related information may include the network ID, VNI, segment ID, etc.;
2, the SDN controller acquires an inner VLAN corresponding to the sub-interface according to the relevant information, executes hierarchical port binding operation, allocates an outer VLAN ID for the virtual machine, and writes the outer VLAN ID into an openstack database;
3. after the virtual machine port is online, the openstack sends information of VLAN (outer VLAN) carried by forwarding of the virtual machine to SR-IOV (single IO virtualization) network equipment or network plug-in units corresponding to the vSwitch network equipment, and the outer VLAN is encapsulated by a network card VF (virtual Function) or vSwitch for all subsequent messages received from the main interface;
and 4, the SDN controller can issue related configuration (namely mapping relation information between the QinQ and the VNI) for binding the VXLAN and the VLAN to a corresponding physical interface of the SDN TOR through a Netconf protocol.
The second stage, forwarding stage:
VSwitch or SRIOV network card: for the packets without tag traffic (i.e. packets without the VLAN ID corresponding to the sub-interface (i.e. inner layer VLAN ID)) sent from Guest OS, directly encapsulating the VLAN ID corresponding to the main PORT (i.e. the outer layer VLAN ID) at the outer layer of the packet; for the traffic with tag sent from Guest OS (namely the message carrying the VLAN ID corresponding to the sub-interface), the VLAN ID of the inner layer is not changed, and the VLAN ID corresponding to the main PORT is packaged on the outer layer of the message;
SDN TOR: for traffic without tag, the traffic is directly mapped to VXLAN corresponding to the main PORT from the TOR and forwarded; for traffic with tag, it is implemented by mapping QinQ to TOR switch and terminating to VXLAN (corresponding to the above-mentioned mapping relationship information between the network identifier VNI from the dual virtual lan QinQ to the virtual extended lan VXLAN network, and the inner VLAN ID and the outer VLAN ID, determining the VNI of the VXLAN network corresponding to the message, and mapping the message to the VXLAN network according to the VNI), and the backhaul traffic is similar (the backhaul is a reverse flow, that is, the hardware access TOR switches map the VXLAN message to the network element back to the QinQ message through table lookup and then forward to VSwitch or SRIOV), which is not described herein again.
Specifically, as shown in fig. 6 (which may be in an SR IOV scenario or an ovs (open vswitch) scenario, where VLAN trunk represents a virtual local area network relay technology, SDN-GW represents an SDN gateway, and Hypervisor represents a virtual machine monitor):
assuming that a message 1 sent by Guest OS does not carry a VLAN corresponding to a child interface, but only corresponds to a parent interface, and a message 2 carries a VLAN ID (for example, VLAN 10) corresponding to the child interface; after the packet arrives at vSwitch, assuming a hierarchical port (VLAN 10), VLAN 50 is allocated hierarchically, specifically:
after the messages 1 to vSwitch, the VLAN ID corresponding to the parent interface (for example, VLAN 50) is encapsulated in the outer layer of the message; after the messages 2 reach vSwitch, the VLAN ID corresponding to the parent interface is encapsulated in the outer layer of the message without changing the VLAN ID corresponding to the child interface (for example, if the VLAN ID is VLAN 50, the message 2 carries VLAN 50 and VLAN 10);
after the encapsulated message is transmitted to the SDN TOR, it can be analyzed that message 1 corresponds to VXLAN different from message 2, for example, message 1 corresponds to VXLAN10, and message 2 corresponds to VXLAN 100.
As can be seen from the above, the solution provided by the embodiment of the present invention involves:
1. when a network is created, for a scenario with a VLAN subinterface requirement, a VLAN value corresponding to a sub-PORT needs to be written in a corresponding field (for example, segment ID) when a VXLAN network is created, so as to inform an SDN controller that a mapping mechanism from QINQ to VXLAN needs to be configured on a corresponding switch physical PORT.
2. The VSwitch needs to support obtaining the VLAN ID allocated by the controller for the main PORT, and encapsulate the outer VLAN ID for the packet.
3. TOR needs to support the mapping mechanism and forwarding of QINQ to VLXAN.
In conclusion, the scheme realizes VNI mapping under a VLAN Trunk scene through a QinQ mode, and solves the problems that network distinguishing and isolating requirements corresponding to different sub-PORTs cannot be met, actual service message VNIs cannot be clearly distinguished, forwarding of corresponding VNIs is correctly mapped and the like in an SDN scheme that the VNIs are mapped to the corresponding VNIs only through parent PORT information under the VLAN Trunk;
that is, the scheme realizes VNI mapping under VLAN Trunk through a hierarchical PORT binding QinQ manner, can meet the requirements of network differentiation and isolation corresponding to different sub-PORTs, clearly differentiate actual service messages VNI, correctly map corresponding VNI forwarding, and correctly differentiate service message VXLAN information under the scene.
An embodiment of the present invention further provides a data processing apparatus, which is applied to a first network device, and as shown in fig. 7, the apparatus includes:
a first determining module 71, configured to determine, when a received packet carries an inner VLAN ID and an outer VLAN ID, a VNI of a VXLAN network corresponding to the packet according to mapping relationship information between a dual virtual local area network QinQ and a network identifier VNI of a virtual extensible local area network VXLAN network, and the inner VLAN ID and the outer VLAN ID;
a first processing module 72, configured to map the packet to the VXLAN network according to the VNI;
the outer VLAN ID corresponds to a first father interface, and the inner VLAN ID corresponds to a first child interface of the first father interface;
the mapping relationship information between the QinQ to VNIs includes first mapping relationship information between the first parent interface, the first child interface, and the VNIs.
The data processing device provided by the embodiment of the invention determines the VNI of the VXLAN network corresponding to the message according to the mapping relation information between the double virtual local area networks QinQ and the network identification VNI of the virtual expanded local area network VXLAN network, the inner layer VLAN ID and the outer layer VLAN ID under the condition that the received message carries the inner layer virtual local area network identification VLAN ID and the outer layer VLAN ID; mapping the message to the VXLAN network according to the VNI; the outer VLAN ID corresponds to a first father interface, and the inner VLAN ID corresponds to a first child interface of the first father interface; the mapping relation information between the QinQ and the VNI comprises first mapping relation information among the first parent interface, the first child interface and the VNI; the method and the device can meet the requirements of network distinguishing and isolation corresponding to different sub-PORTs, clearly distinguish actual service messages VNIs, correctly map corresponding VNIs for forwarding, and well solve the problem that the requirements of network distinguishing and isolation corresponding to different sub-PORTs cannot be met in a data processing scheme in the prior art.
Further, the data processing apparatus further includes: the first receiving module is configured to receive, before determining the VNI of the VXLAN network corresponding to the packet according to the mapping relationship information between the dual virtual local area network QinQ and the network identifier VNI of the virtual extensible local area network VXLAN network and the inner VLAN ID and the outer VLAN ID, the mapping relationship information between the QinQ and the VNI sent by the second network device.
The implementation embodiments of the data processing method on the first network device side are all applicable to the embodiment of the data processing apparatus, and the same technical effects can be achieved.
An embodiment of the present invention further provides a data processing apparatus, which is applied to a second network device, and as shown in fig. 8, the apparatus includes:
a second receiving module 81, configured to receive network configuration information sent by a third network device;
a second processing module 82, configured to, when the network configuration information includes first configuration information, generate, according to the first configuration information, mapping relationship information between a network identifier VNI of a dual virtual local area network QinQ and a virtual extensible local area network VXLAN network, and send the mapping relationship information to a first network device;
the first configuration information comprises an inner layer virtual local area network identification VLAN ID, a VNI corresponding to VXLAN and network equipment information corresponding to a first father interface;
the inner VLAN ID corresponds to a first child interface of the first parent interface.
The data processing device provided by the embodiment of the invention receives network configuration information sent by third network equipment; under the condition that the network configuration information contains first configuration information, generating mapping relation information between a double virtual local area network QinQ and a network identifier VNI of a virtual extensible local area network VXLAN network according to the first configuration information, and sending the mapping relation information to first network equipment; the first configuration information comprises an inner layer virtual local area network identification VLAN ID, a VNI corresponding to VXLAN and network equipment information corresponding to a first father interface; the inner VLAN ID corresponds to a first child interface of the first parent interface; the method can support and realize the requirements of network differentiation and isolation corresponding to different sub-PORTs, clearly differentiate actual service messages VNIs, correctly map corresponding VNIs for forwarding, and well solve the problem that the requirements of network differentiation and isolation corresponding to different sub-PORTs cannot be met in the data processing scheme in the prior art.
Wherein the second processing module comprises: the first generation submodule is used for generating an outer layer VLAN ID corresponding to the first father interface according to the network equipment information; the first processing submodule is used for obtaining first mapping relation information according to the outer layer VLAN ID, the inner layer VLAN ID and the VNI; and the second processing submodule is used for obtaining the mapping relation information between the QinQ and the VNI according to the first mapping relation information.
The implementation embodiments of the data processing method on the second network device side are all applicable to the embodiment of the data processing apparatus, and the same technical effects can be achieved.
An embodiment of the present invention further provides a data processing apparatus, which is applied to a third network device, and as shown in fig. 9, the apparatus includes:
a second determining module 91, configured to determine the first configuration information when the first parent interface has the corresponding first child interface;
a third processing module 92, configured to obtain network configuration information according to the first configuration information, and send the network configuration information to a second network device;
the first configuration information includes network device information corresponding to the first parent interface, an inner-layer virtual local area network identifier VLAN ID corresponding to the first child interface, and a network identifier VNI corresponding to a virtual extensible local area network VXLAN.
The data processing device provided by the embodiment of the invention determines first configuration information by the condition that a corresponding first child interface exists in a first parent interface; obtaining network configuration information according to the first configuration information, and sending the network configuration information to second network equipment; the first configuration information includes network device information corresponding to the first parent interface, an inner-layer virtual local area network identifier VLAN ID corresponding to the first child interface, and a network identifier VNI corresponding to a virtual extensible local area network VXLAN; the method can support and realize the network distinguishing and isolating requirements corresponding to different sub-PORTs, clearly distinguish actual service messages VNIs and correctly map the corresponding VNIs for forwarding, and well solves the problem that the network distinguishing and isolating requirements corresponding to different sub-PORTs cannot be met in a data processing scheme in the prior art.
Wherein the inner VLAN ID is located in an interface identification field of the first configuration information.
The implementation embodiments of the data processing method at the third network device side are all applicable to the embodiment of the data processing apparatus, and the same technical effects can be achieved.
An embodiment of the present invention further provides a network device, where the network device is a first network device, and as shown in fig. 10, the network device includes: a processor 101 and a transceiver 102;
the processor 101 is configured to determine, when a message received by the transceiver 102 carries an inner VLAN ID and an outer VLAN ID, a VNI of a VXLAN network corresponding to the message according to mapping relationship information between a dual virtual local area network QinQ and a network identifier VNI of a virtual extensible local area network VXLAN network, and the inner VLAN ID and the outer VLAN ID;
mapping the message to the VXLAN network via the transceiver 102 according to the VNI;
the outer VLAN ID corresponds to a first father interface, and the inner VLAN ID corresponds to a first child interface of the first father interface;
the mapping relationship information between the QinQ to VNIs includes first mapping relationship information between the first parent interface, the first child interface, and the VNIs.
The network device provided by the embodiment of the invention determines the VNI of the VXLAN network corresponding to the message according to the mapping relation information between the double virtual local area networks QinQ and the network identification VNI of the virtual expanded local area network VXLAN network and the inner layer VLAN ID and the outer layer VLAN ID under the condition that the received message carries the inner layer virtual local area network identification VLAN ID and the outer layer VLAN ID; mapping the message to the VXLAN network according to the VNI; the outer VLAN ID corresponds to a first father interface, and the inner VLAN ID corresponds to a first child interface of the first father interface; the mapping relation information between the QinQ and the VNI comprises first mapping relation information among the first parent interface, the first child interface and the VNI; the method and the device can meet the requirements of network distinguishing and isolation corresponding to different sub-PORTs, clearly distinguish actual service messages VNIs, correctly map corresponding VNIs for forwarding, and well solve the problem that the requirements of network distinguishing and isolation corresponding to different sub-PORTs cannot be met in a data processing scheme in the prior art.
Further, the processor is further configured to: before the VNI of the VXLAN network corresponding to the message is determined according to the mapping relationship information between the double virtual local area networks QinQ and the network identification VNI of the virtual extensible local area network VXLAN network and the inner layer VLAN ID and the outer layer VLAN ID, the mapping relationship information between the QinQ and the VNI, which is sent by the second network equipment, is received through the transceiver.
The implementation embodiments of the data processing method on the first network device side are all applicable to the embodiment of the network device, and the same technical effects can be achieved.
An embodiment of the present invention further provides a network device, where the network device is a second network device, and as shown in fig. 11, the network device includes: a processor 111 and a transceiver 112;
the processor 111, configured to receive, through the transceiver 112, network configuration information sent by a third network device;
under the condition that the network configuration information contains first configuration information, generating mapping relation information between a double virtual local area network QinQ and a network identifier VNI of a virtual extensible local area network VXLAN network according to the first configuration information, and sending the mapping relation information to first network equipment through the transceiver 112;
the first configuration information comprises an inner layer virtual local area network identification VLAN ID, a VNI corresponding to VXLAN and network equipment information corresponding to a first father interface;
the inner VLAN ID corresponds to a first child interface of the first parent interface.
The network device provided by the embodiment of the invention receives the network configuration information sent by the third network device; under the condition that the network configuration information contains first configuration information, generating mapping relation information between a double virtual local area network QinQ and a network identifier VNI of a virtual extensible local area network VXLAN network according to the first configuration information, and sending the mapping relation information to first network equipment; the first configuration information comprises an inner layer virtual local area network identification VLAN ID, a VNI corresponding to VXLAN and network equipment information corresponding to a first father interface; the inner VLAN ID corresponds to a first child interface of the first parent interface; the method can support and realize the requirements of network differentiation and isolation corresponding to different sub-PORTs, clearly differentiate actual service messages VNIs, correctly map corresponding VNIs for forwarding, and well solve the problem that the requirements of network differentiation and isolation corresponding to different sub-PORTs cannot be met in the data processing scheme in the prior art.
Wherein the processor is specifically configured to: generating an outer layer VLAN ID corresponding to the first father interface according to the network equipment information; obtaining first mapping relation information according to the outer layer VLAN ID, the inner layer VLAN ID and the VNI; and obtaining the mapping relation information between the QinQ and the VNI according to the first mapping relation information.
The implementation embodiments of the data processing method at the second network device side are all applicable to the embodiment of the network device, and the same technical effects can be achieved.
An embodiment of the present invention further provides a network device, where the network device is a third network device, and as shown in fig. 12, the network device includes: a processor 121 and a transceiver 122;
the processor 121 is configured to determine first configuration information when a corresponding first child interface exists in a first parent interface;
obtaining network configuration information according to the first configuration information, and sending the network configuration information to a second network device through the transceiver 122;
the first configuration information includes network device information corresponding to the first parent interface, an inner-layer virtual local area network identifier VLAN ID corresponding to the first child interface, and a network identifier VNI corresponding to a virtual extensible local area network VXLAN.
The network device provided by the embodiment of the invention determines the first configuration information by the condition that the first parent interface has the corresponding first child interface; obtaining network configuration information according to the first configuration information, and sending the network configuration information to second network equipment; the first configuration information includes network device information corresponding to the first parent interface, an inner-layer virtual local area network identifier VLAN ID corresponding to the first child interface, and a network identifier VNI corresponding to a virtual extensible local area network VXLAN; the method can support and realize the network distinguishing and isolating requirements corresponding to different sub-PORTs, clearly distinguish actual service messages VNIs and correctly map the corresponding VNIs for forwarding, and well solves the problem that the network distinguishing and isolating requirements corresponding to different sub-PORTs cannot be met in a data processing scheme in the prior art.
Wherein the inner VLAN ID is located in an interface identification field of the first configuration information.
The implementation embodiments of the data processing method of the third network device are all applicable to the embodiment of the network device, and the same technical effects can be achieved.
The embodiment of the invention also provides network equipment, which comprises a memory, a processor and a program which is stored on the memory and can be operated on the processor; the processor implements the data processing method of the first network device side when executing the program; alternatively, the first and second electrodes may be,
the processor implements the data processing method of the second network device side when executing the program; alternatively, the first and second electrodes may be,
the processor implements the data processing method of the third network device side described above when executing the program.
The implementation embodiments of the data processing method of the first network device side, the second network device side, or the third network device side are all applicable to the embodiment of the network device, and the same technical effects can be achieved.
The embodiment of the present invention further provides a readable storage medium, on which a program is stored, where the program, when executed by a processor, implements the steps in the data processing method on the first network device side; alternatively, the first and second electrodes may be,
the program is executed by a processor to implement the steps in the data processing method on the second network device side; alternatively, the first and second electrodes may be,
the program realizes the steps in the data processing method on the third network device side described above when executed by a processor.
The implementation embodiments of the data processing method of the first network device side, the second network device side, or the third network device side are all applicable to the embodiment of the readable storage medium, and the same technical effects can be achieved.
It should be noted that many of the functional components described in this specification are referred to as modules/sub-modules in order to more particularly emphasize their implementation independence.
In embodiments of the invention, the modules/sub-modules may be implemented in software for execution by various types of processors. An identified module of executable code may, for instance, comprise one or more physical or logical blocks of computer instructions which may, for instance, be constructed as an object, procedure, or function. Nevertheless, the executables of an identified module need not be physically located together, but may comprise disparate instructions stored in different bits which, when joined logically together, comprise the module and achieve the stated purpose for the module.
Indeed, a module of executable code may be a single instruction, or many instructions, and may even be distributed over several different code segments, among different programs, and across several memory devices. Likewise, operational data may be identified within the modules and may be embodied in any suitable form and organized within any suitable type of data structure. The operational data may be collected as a single data set, or may be distributed over different locations including over different storage devices, and may exist, at least partially, merely as electronic signals on a system or network.
When a module can be implemented by software, considering the level of existing hardware technology, a module implemented by software may build a corresponding hardware circuit to implement a corresponding function, without considering cost, and the hardware circuit may include a conventional Very Large Scale Integration (VLSI) circuit or a gate array and an existing semiconductor such as a logic chip, a transistor, or other discrete components. A module may also be implemented in programmable hardware devices such as field programmable gate arrays, programmable array logic, programmable logic devices or the like.
While the preferred embodiments of the present invention have been described, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.

Claims (17)

1. A data processing method is applied to a first network device, and is characterized by comprising the following steps:
under the condition that a received message carries an inner layer virtual local area network identification (VLAN ID) and an outer layer VLAN ID, determining a network Virtual Networking (VNI) of a VXLAN (virtual extensible local area network) corresponding to the message according to mapping relation information between a double virtual local area network (QinQ) and the network identification VNI of the VXLAN network, the inner layer VLAN ID and the outer layer VLAN ID;
mapping the message to the VXLAN network according to the VNI;
the outer VLAN ID corresponds to a first father interface, and the inner VLAN ID corresponds to a first child interface of the first father interface;
the mapping relationship information between the QinQ to VNIs includes first mapping relationship information between the first parent interface, the first child interface, and the VNIs.
2. The data processing method according to claim 1, wherein before determining the VNI of the VXLAN network corresponding to the packet according to the mapping relationship information between the network identification VNI of the dual virtual local area network QinQ and the virtual extensible local area network VXLAN network and the inner VLAN ID and the outer VLAN ID, the method further comprises:
receiving mapping relation information between the QinQ and the VNI sent by a second network device.
3. A data processing method applied to a second network device is characterized by comprising the following steps:
receiving network configuration information sent by third network equipment;
under the condition that the network configuration information contains first configuration information, generating mapping relation information between a double virtual local area network QinQ and a network identifier VNI of a virtual extensible local area network VXLAN network according to the first configuration information, and sending the mapping relation information to first network equipment;
the first configuration information comprises an inner layer virtual local area network identification VLAN ID, a VNI corresponding to VXLAN and network equipment information corresponding to a first father interface;
the inner VLAN ID corresponds to a first child interface of the first parent interface.
4. The data processing method according to claim 3, wherein the generating, according to the first configuration information, mapping relationship information between the network identifications VNIs of the dual virtual local area network QinQ to the virtual extensible local area network VXLAN network comprises:
generating an outer layer VLAN ID corresponding to the first father interface according to the network equipment information;
obtaining first mapping relation information according to the outer layer VLAN ID, the inner layer VLAN ID and the VNI;
and obtaining the mapping relation information between the QinQ and the VNI according to the first mapping relation information.
5. A data processing method applied to a third network device, the method comprising:
determining first configuration information under the condition that a first parent interface has a corresponding first child interface;
obtaining network configuration information according to the first configuration information, and sending the network configuration information to second network equipment;
the first configuration information includes network device information corresponding to the first parent interface, an inner-layer virtual local area network identifier VLAN ID corresponding to the first child interface, and a network identifier VNI corresponding to a virtual extensible local area network VXLAN.
6. The data processing method of claim 5, wherein the inner VLAN ID is located in an interface identification field of the first configuration information.
7. A data processing apparatus applied to a first network device, the apparatus comprising:
the first determining module is used for determining the VNI of the VXLAN network corresponding to the message according to the mapping relation information between the double virtual local area networks QinQ and the network identification VNI of the virtual expanded local area network VXLAN network, the inner layer VLAN ID and the outer layer VLAN ID under the condition that the received message carries the inner layer virtual local area network identification VLAN ID and the outer layer VLAN ID;
the first processing module is used for mapping the message to the VXLAN network according to the VNI;
the outer VLAN ID corresponds to a first father interface, and the inner VLAN ID corresponds to a first child interface of the first father interface;
the mapping relationship information between the QinQ to VNIs includes first mapping relationship information between the first parent interface, the first child interface, and the VNIs.
8. The data processing apparatus of claim 7, further comprising:
the first receiving module is configured to receive, before determining the VNI of the VXLAN network corresponding to the packet according to the mapping relationship information between the dual virtual local area network QinQ and the network identifier VNI of the virtual extensible local area network VXLAN network and the inner VLAN ID and the outer VLAN ID, the mapping relationship information between the QinQ and the VNI sent by the second network device.
9. A data processing apparatus, applied to a second network device, the apparatus comprising:
the second receiving module is used for receiving the network configuration information sent by the third network equipment;
the second processing module is used for generating mapping relation information between a double virtual local area network QinQ and a network identifier VNI of a virtual extensible local area network VXLAN network according to the first configuration information under the condition that the network configuration information contains the first configuration information, and sending the mapping relation information to the first network equipment;
the first configuration information comprises an inner layer virtual local area network identification VLAN ID, a VNI corresponding to VXLAN and network equipment information corresponding to a first father interface;
the inner VLAN ID corresponds to a first child interface of the first parent interface.
10. The data processing apparatus of claim 9, wherein the second processing module comprises:
the first generation submodule is used for generating an outer layer VLAN ID corresponding to the first father interface according to the network equipment information;
the first processing submodule is used for obtaining first mapping relation information according to the outer layer VLAN ID, the inner layer VLAN ID and the VNI;
and the second processing submodule is used for obtaining the mapping relation information between the QinQ and the VNI according to the first mapping relation information.
11. A data processing apparatus applied to a third network device, the apparatus comprising:
the second determining module is used for determining the first configuration information under the condition that the first parent interface has the corresponding first child interface;
the third processing module is used for obtaining network configuration information according to the first configuration information and sending the network configuration information to second network equipment;
the first configuration information includes network device information corresponding to the first parent interface, an inner-layer virtual local area network identifier VLAN ID corresponding to the first child interface, and a network identifier VNI corresponding to a virtual extensible local area network VXLAN.
12. The data processing apparatus of claim 11, wherein the inner VLAN ID is located in an interface identification field of the first configuration information.
13. A network device, the network device being a first network device, the network device comprising: a processor and a transceiver;
the processor is configured to determine, when a message received by the transceiver carries an inner-layer virtual local area network identifier VLAN ID and an outer-layer VLAN ID, a network identifier VNI of a virtual extensible local area network VXLAN network corresponding to the message according to mapping relationship information between a dual virtual local area network QinQ and the network identifier VNI, and the inner-layer VLAN ID and the outer-layer VLAN ID;
mapping the message to the VXLAN network through the transceiver according to the VNI;
the outer VLAN ID corresponds to a first father interface, and the inner VLAN ID corresponds to a first child interface of the first father interface;
the mapping relationship information between the QinQ to VNIs includes first mapping relationship information between the first parent interface, the first child interface, and the VNIs.
14. A network device, the network device being a second network device, the network device comprising: a processor and a transceiver;
the processor is configured to receive, through the transceiver, network configuration information sent by a third network device;
under the condition that the network configuration information contains first configuration information, generating mapping relation information between a double virtual local area network QinQ and a network identifier VNI of a virtual extensible local area network VXLAN network according to the first configuration information, and sending the mapping relation information to first network equipment through the transceiver;
the first configuration information comprises an inner layer virtual local area network identification VLAN ID, a VNI corresponding to VXLAN and network equipment information corresponding to a first father interface;
the inner VLAN ID corresponds to a first child interface of the first parent interface.
15. A network device, the network device being a third network device, the network device comprising: a processor and a transceiver;
the processor is used for determining first configuration information under the condition that a first parent interface has a corresponding first child interface;
obtaining network configuration information according to the first configuration information, and sending the network configuration information to second network equipment through the transceiver;
the first configuration information includes network device information corresponding to the first parent interface, an inner-layer virtual local area network identifier VLAN ID corresponding to the first child interface, and a network identifier VNI corresponding to a virtual extensible local area network VXLAN.
16. A network device comprising a memory, a processor, and a program stored on the memory and executable on the processor; wherein the processor implements the data processing method according to any one of claims 1 to 2 when executing the program; alternatively, the first and second electrodes may be,
the processor, when executing the program, implementing the data processing method of any one of claims 3 to 4; alternatively, the first and second electrodes may be,
the processor, when executing the program, implements the data processing method of any one of claims 5 to 6.
17. A readable storage medium on which a program is stored, the program realizing the steps in the data processing method according to any one of claims 1 to 2 when executed by a processor; alternatively, the first and second electrodes may be,
the program when executed by a processor implementing the steps in the data processing method of any one of claims 3 to 4; alternatively, the first and second electrodes may be,
the program, when executed by a processor, implements the steps in a data processing method as claimed in any one of claims 5 to 6.
CN202011352576.6A 2020-11-26 2020-11-26 Data processing method and device and network equipment Pending CN114553802A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011352576.6A CN114553802A (en) 2020-11-26 2020-11-26 Data processing method and device and network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011352576.6A CN114553802A (en) 2020-11-26 2020-11-26 Data processing method and device and network equipment

Publications (1)

Publication Number Publication Date
CN114553802A true CN114553802A (en) 2022-05-27

Family

ID=81668240

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011352576.6A Pending CN114553802A (en) 2020-11-26 2020-11-26 Data processing method and device and network equipment

Country Status (1)

Country Link
CN (1) CN114553802A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107743095A (en) * 2017-11-30 2018-02-27 新华三技术有限公司 Message forwarding method and device
US20190068402A1 (en) * 2017-08-28 2019-02-28 Michael Emory Mazarick System and Method for Providing Private Instances of Shared Resources using VxLAN
CN111585863A (en) * 2020-06-11 2020-08-25 国家计算机网络与信息安全管理中心 Virtual extensible local area network message processing equipment and data processing method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190068402A1 (en) * 2017-08-28 2019-02-28 Michael Emory Mazarick System and Method for Providing Private Instances of Shared Resources using VxLAN
CN107743095A (en) * 2017-11-30 2018-02-27 新华三技术有限公司 Message forwarding method and device
CN111585863A (en) * 2020-06-11 2020-08-25 国家计算机网络与信息安全管理中心 Virtual extensible local area network message processing equipment and data processing method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
J. DONG 等: "A YANG Data Model for Layer 2 Network Topologies", 17 November 2020 *

Similar Documents

Publication Publication Date Title
US11929945B2 (en) Managing network traffic in virtual switches based on logical port identifiers
US10476699B2 (en) VLAN to VXLAN translation using VLAN-aware virtual machines
US10659358B2 (en) Method and apparatus for advanced statistics collection
US10063470B2 (en) Data center network system based on software-defined network and packet forwarding method, address resolution method, routing controller thereof
EP3533189B1 (en) Rule-based network identifier mapping
US11831551B2 (en) Cloud computing data center system, gateway, server, and packet processing method
JP5792894B2 (en) Port expansion topology information acquisition method, system, control bridge, and uplink port processing method and system
US8462666B2 (en) Method and apparatus for provisioning a network switch port
EP3197107B1 (en) Message transmission method and apparatus
US20200007472A1 (en) Service insertion in basic virtual network environment
CN106685787B (en) PowerVM (virtual machine) virtualized network management method and device based on OpenStack
CN107306215B (en) Data processing method, system and node
CN114024799B (en) Method and device for interconnecting bare metal server and virtualization network
CN111800326A (en) Message transmission method and device, processing node and storage medium
CN110311860A (en) Multi-link load balance method and device under VXLAN
CN108259297B (en) Message processing method and device
US20230105744A1 (en) Evpn host routed bridging (hrb) and evpn cloud native data center
CN109995636B (en) Hybrid networking method, device, system, equipment and medium
JP7152665B2 (en) Information processing device, information processing system, and setting program
CN114629844B (en) Message forwarding method and device and electronic equipment
George et al. A Brief Overview of VXLAN EVPN
CN114553802A (en) Data processing method and device and network equipment
KR101878758B1 (en) Method, apparatus and computer program for setting virtual network on network function virtualization
US20240179107A1 (en) Managing network traffic in virtual switches based on logical port identifiers
KR102409460B1 (en) Apparatus and method for automatically generating network slice

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination