CN104363170B - Data forwarding method and apparatus for software-defined network - Google Patents

Data forwarding method and apparatus for software-defined network Download PDF

Info

Publication number
CN104363170B
CN104363170B CN201410687065.8A CN201410687065A CN104363170B CN 104363170 B CN104363170 B CN 104363170B CN 201410687065 A CN201410687065 A CN 201410687065A CN 104363170 B CN104363170 B CN 104363170B
Authority
CN
China
Prior art keywords
vxlan
mpls te
source
device
identifier
Prior art date
Application number
CN201410687065.8A
Other languages
Chinese (zh)
Other versions
CN104363170A (en
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 新华三技术有限公司
Priority to CN201410687065.8A priority Critical patent/CN104363170B/en
Publication of CN104363170A publication Critical patent/CN104363170A/en
Application granted granted Critical
Publication of CN104363170B publication Critical patent/CN104363170B/en

Links

Abstract

本发明提供了一种软件定义网络中数据流转发方法,该方法包括:SDN控制器对有带宽要求的数据流,确定该数据流在underlay网络中转发的源设备和目的设备,并使所述源设备和目的设备之间建立满足带宽要求的MPLS TE隧道;并分配强制转发标识使所述数据流在underlay网络中转发时通过所述MPLS TE隧道发送。 The present invention provides a software-defined network of a data stream, the method comprising: SDN controller data flow requirement of the bandwidth of the data stream to determine the source and destination devices in the underlay network, forwarding, and the establishing bandwidth requirements between the source and destination devices MPLS TE tunnels; forwarding identifier and allocates the force transmitted by the data stream forwarding the MPLS TE tunnels underlay network. 基于同样的发明构思,本申请还提出一种软件定义网络中数据流转发装置,对有带宽要求的租户,流量在underlay网络中传输时能够得到带宽保证。 Based on the same inventive concept, the present application also proposed a piece of software defined network data stream forwarding means for tenant have bandwidth requirements, traffic underlay network transmission bandwidth guarantee can be obtained.

Description

一种软件定义网络中数据流转发方法和装置 Data forwarding method and apparatus for software-defined network

技术领域 FIELD

[0001] 本发明涉及通信技术领域,特别涉及一种软件定义网络中数据流转发方法和装置。 [0001] The present invention relates to communication technologies, particularly to a software-defined network data forwarding method and apparatus.

背景技术 Background technique

[0002] 网络拥塞是影响骨干网络性能的主要问题。 [0002] backbone network congestion is a major problem affecting network performance. 拥塞的原因可能是网络资源不足,也可能是网络资源负载不均衡导致的局部拥塞。 The reason may be the lack of congestion of network resources, it could be a local resource network congestion caused by unbalanced load.

[0003] 流量工程(Traff ic Engineering,TE)可以用来解决负载不均衡导致的拥塞问题。 [0003] Traffic Engineering (Traff ic Engineering, TE) can be used to solve the congestion problems caused by unbalanced load. 流量工程通过实时监控网络的流量和网络单元的负载,动态调整流量管理参数、路由参数和资源约束参数等,使网络运行状态迀移到理想状态,优化网络资源的使用,避免负载不均衡导致的拥塞。 Traffic engineering through real-time monitoring network traffic load and network elements, dynamically adjust traffic management parameters, routing parameters and resource constraints and other parameters, the network operating status Gan move Ideally, to optimize the use of network resources, avoid caused by unbalanced load congestion. 多协议标签交换(Multiprotocol Label Switching,MPLS) TE结合了MPLS技术与流量工程,通过建立沿着指定路径的标签交换路径(Label Switched Path,LSP)隧道进行资源预留,使网络流量绕开拥塞节点,达到平衡网络流量的目的。 MPLS (Multiprotocol Label Switching, MPLS) TE combines the MPLS technology and traffic engineering, reserve resources along the specified path label switched path (Label Switched Path, LSP) tunnel through the establishment of the network traffic to bypass congested nodes , to balance network traffic purposes.

[0004] 在软件定义网络(Software Defined Network,SDN)虚拟化数据中心网络中,属于一个租户的虚拟机分布可能在不同服务器上,当同一租户,即对应同一虚拟局域网(Virtual extensible Local Area Network,VXLAN ID),且分布在不同服务器上的虚拟机需要通信,或者虚拟机与外部非虚拟化网络通信时,需要经过VXLAN封装后,穿越底层(underlay)网络,然后再到达目的设备。 [0004] In the software-defined network (Software Defined Network, SDN) virtualized data center network belonging to the virtual machine a tenant distribution may be on a different server, when the same tenant, i.e. corresponding to the same virtual local area network (Virtual extensible Local Area Network, VXLAN ID), distributed on different servers and virtual machines need to communicate with an external or non-virtual machine virtualized network communication, the need to go through VXLAN package, through the bottom (Underlay) network, and then reach the destination device.

[0005] 流量在穿越underlay网络时,由于对于不同租户的流量,无法有效识别,当underlay网络中出现流量拥塞时,某些重要的租户的流量将无法得到带宽保证。 [0005] traffic when crossing the underlay network, due to the traffic of different tenants can not effectively identify, when traffic congestion occurs underlay network, certain important traffic tenants will not be guaranteed bandwidth.

发明内容 SUMMARY

[0006] 有鉴于此,本申请提供一种软件定义网络中数据流转发方法和装置,以解决流量在underlay网络中传输时无法得到带宽保证的问题。 [0006] Accordingly, the present application provides a software-defined network data forwarding method and apparatus to address the bandwidth can not be guaranteed when the underlay network traffic is transmitted.

[0007] 为解决上述技术问题,本申请的技术方案是这样实现的: [0007] To solve the above technical problem, the technical solution of the present application is achieved:

[0008] 一种软件定义网络SDN中数据流转发方法,该方法包括: [0008] A software-defined network data forwarding method SDN, the method comprising:

[0009] SDN控制器接收到虚拟可扩展局域网隧道端点VTEP设备发送的针对数据流下发流转发表的请求时,若确定所述SDN控制器存储的虚拟局域网VXLAN标识与带宽要求的对应表中存在该数据流需要封装的VXLAN标识对应的带宽要求,则确定在底层underlay网络中转发该数据流的源设备和目的设备; When [0009] SDN controller receives data for the virtual local area network can be extended tunnel endpoint sends a request sent VTEP flow circulation device issued, if it is determined virtual local area network identifier and bandwidth requirements VXLAN SDN controller stores the correspondence table in the present VXLAN data stream corresponding to the identifier of the package needs to bandwidth requirements, it is determined that the transfer source and destination devices in the data stream underlying underlay network;

[0010] 所述SDN控制器确定所述源设备和目的设备之间是否己建立多协议标签交换MPLS 流量工程TE隧道; [0010] The controller determines whether SDN been established Multiprotocol Label Switching Traffic Engineering MPLS TE tunnel between the source and destination devices;

[0011] 若确定所述源设备和目的设备之间未建立MPLS TE隧道,则所述SDN控制器向所述源设备和目的设备下发建立MPLS TE隧道的配置,以使所述源设备和目的设备之间建立满足所述带宽要求的MPLS TE隧道; [0011] If the determination has not been established MPLS TE tunnels between the source and destination devices, the configuration is made SDN controller to establish MPLS TE tunnels at the source and destination devices, so that the source device and established between the destination device to satisfy the bandwidth requirements MPLS TE tunnels;

[0012] 所述SDN控制器为所述建立的MPLS TE隧道分配强制转发标识; [0012] The controller SDN MPLS TE tunnel forcibly dispensing the build forwarding identifier;

[0013]所述SDN控制器向所述VTEP设备下发流转发表,所述流转发表包括所述强制转发标识,使所述VTEP设备根据所述流转发表向所述源设备转发数据流时携带所述强制转发标识; [0013] The SDN flow sent to the controller of the apparatus VTEP post, said post comprising the forced circulation forwarding identifier, the apparatus according to the VTEP stream forwarding to forward the data stream to the source device carries forced forwarding said identifier;

[0014]所述SDN控制器向所述源设备与所述VTEP设备相连的接口上下发转发策略,所述转发策略用于指示在通过所述接口接收到携带所述强制转发标识的数据流时,通过所述MPLS TE隧道发送所述数据流。 When the [0014] upper and lower SDN said interface controller coupled to the source device and the device made VTEP forwarding policy, the forwarding policy is used to indicate the forced flow carrying the identification of the forwarding data received through the interface transmitting the data flow through the MPLS TE tunnels.

[0015] 一种软件定义网络SDN中数据流转发装置,该装置包括:接收单元、确定单元和处理单元; [0015] A software-defined network data SDN stream forwarding apparatus comprising: a receiving unit, determination unit, and a processing unit;

[0016]所述接收单元,用于接收虚拟可扩展局域网隧道端点VTEp设备发送的针对数据流下发流转发表的请求; [0016] the receiving unit, for receiving a scalable virtual device for transmitting data endpoint VTEp LAN hair tunnel flow transfer request issued;

[0017]所述确定单元,用于当所述接收单元接收到VTEP设备发送的针对数据流下发流转发表的请求时,若确定存储的虚拟局域网VXLAN标识与带宽要求的对应表中存在该数据流需要封装的VXLAN标识对应的带宽要求,则确定在底层(underlay)网络中转发该数据流的源设备和目的设备;进一步确定所述源设备和目的设备之间是否已建立多协议标签交换流量工程MPLS TE隧道; [0017] The determination unit configured to, when the receiving unit receives the transmission device for the data stream VTEP stream forwarding request is sent, there is determined if the data stream stored in the virtual local area network identifier and bandwidth requirements VXLAN correspondence table VXLAN package needs to identify the corresponding bandwidth requirements, it is determined that the transfer source and destination devices in the data stream bottom (Underlay) network; further determines whether to establish multiprotocol label switching traffic engineering between the source and destination devices MPLS TE tunnel;

[0018]所述处理单元,用于若所述确定单元确定所述源设备和目的设备之间未建立MPLS TE隧道,则向所述源设备和目的设备下发建立MPLS TE隧道的配置,以使所述源设备和目的设备之间建立满足所述带宽要求的MPLS TE隧道;并为所述建立的MPLS TE隧道分配强制转发标识;向所述VTEP设备下发流转发表,所述流转发表包括所述强制转发标识,使所述VTEP 设备根据所述流转发表向所述源设备转发数据流时携带所述强制转发标识;向所述源设备与所述VTEP设备相连的接口上下发转发策略,所述转发策略用于指示在通过所述接口接收到携带所述强制转发标识的数据流时,通过所述MPLS TE隧道发送所述数据流。 [0018] The processing unit is configured to, if the determining unit determines an MPLS TE tunnel is not established, the establishment of an MPLS TE tunnel made to lower the source and destination devices between the source and destination devices to so that the source and destination devices is established between the bandwidth to meet the requirements of the MPLS TE tunnel; and forwarding identifier assigned to force the established MPLS TE tunnels; issued to leave the circulation VTEP the apparatus, the flow post comprises the forced forwarding identifier, the apparatus according to the flow VTEP to leave when the source device carries forward data stream forwarding the forced identification; vertical interfaces connected to the source device and the device made VTEP forwarding policy, for indicating the forwarding policy received through the interface to carry the identification data when forced forward stream, the data stream transmitted by the MPLS TE tunnels.

[0019]由上面的技术方案可知,本申请中SDN控制器对有带宽要求的数据流,确定该数据流在underlay网络中转发的源设备和目的设备,并使所述源设备和目的设备之间建立满足带宽要求的MPLS TE隧道;并分配强制转发标识使所述数据流在underlay网络中转发时通过所述MPLS TE隧道发送。 [0019] apparent from the above technical solutions, the present application have SDN controller bandwidth requirement of a data stream, the data stream to determine the source and destination devices forwarded underlay network, and the source and destination devices of bandwidth requirements established between MPLS TE tunnel; and forwarding identifier assigned to force the data stream is transmitted over the MPLS TE tunnel forwarding the underlay network. 对有带宽要求的租户,流量在underlay网络中传输时能够得到带宽保证。 Tenants have bandwidth requirements, traffic underlay network transmission bandwidth guarantee can be obtained.

附图说明 BRIEF DESCRIPTION

[0020]图1为本申请实施例中SDN中数据流转发方法流程示意图; [0020] Figure 1 is a schematic diagram of the application of the data forwarding SDN method flow embodiments;

[0021]图2为overlay组网示意图; [0021] FIG. 2 is a schematic overlay network;

[0022]图3为本申请实施例中SDN中数据流转发装置结构示意图。 [0022] FIG. 3 is a schematic embodiment of the data forwarding means SDN structure embodiment of the present application.

具体实施方式 Detailed ways

[0023]为了使本发明的目的、技术方案及优点更加清楚明白,下面结合附图并据实施例, 对本发明的技术方案进行详细说明。 [0023] To make the objectives, technical solutions and advantages of the present invention clearer, the accompanying drawings and the following embodiments according to technical solutions of the present invention will be described in detail. 100241 参见图1,图1为本申请实施例中SDN中数据流转发方法流程示意图。 100241 Referring to FIG. 1, FIG. 1 is the data forwarding SDN embodiment flowchart of a method embodiment of the application. 具体步骤为: [0025] 步骤101,SDN控制器接收到虚拟可扩展局域网隧道端点(VXLAN Tunnel End Point,VTEP)设备发送的针对数据流下发流转发表的请求时,若确定所述SDN控制器存储的VXLAN标识与带宽要求的对应表中存在该数据流需要封装的VXLAN标识对应的带宽要求,则确定在underlay网络中转发该数据流的源设备和目的设备。 Specific steps: when the [0025] Step 101, the controller receives the SDN scalable virtual local area network tunnel endpoint (VXLAN Tunnel End Point, VTEP) for the data stream sent by the device requesting transfer of issued, determining if the storage controller SDN the presence of the encapsulated data stream requires VXLAN bandwidth requirement corresponding to the identifier identifies the bandwidth requirements VXLAN correspondence table, it is determined that the transfer source and destination devices in the data stream underlay network. ,

[0026] 在具体实现时,如果某个租户需要在underlay网络中传输数据流得到带宽保证时,会配置并存储该租户,即该租户对应的VXLAN标识对应的带宽要求。 [0026] In specific implementation, if a tenant need to transmit data stream obtained guaranteed bandwidth in the underlay network, configures and stores the tenant, the tenant i.e. VXLAN corresponding to the identifier corresponding bandwidth requirements.

[0027] SDN控制器接收到下发流转发表的请求时,为对应数据流确定VXLAN隧道相关封装信息时,还需确定对应VXLAN标识是否对应带宽要求,如果是,则按本申请提供的技术方案, 确定在underlay网络中转发该数据流的源设备和目的设备;否则,按现有实现。 When [0027] SDN controller receives a request issued by the stream forwarding, VXLAN tunnel encapsulation information related to the corresponding data stream is determined, the need to determine a corresponding identifier corresponds VXLAN bandwidth requirements, if it is, press the technical solution provided herein determining the transfer source and destination devices in the data stream underlay network; otherwise, according to the existing implementation.

[0028] 本步骤中SDN控制器确定在underlay网络中转发该数据流的源设备和目的设备, 具体包括: [0028] In this step, the controller determines SDN transfer source and destination devices in the data stream underlay network, comprises:

[0029] SDN控制器根据所述数据流的源地址和目的地址确定转发所述数据流的VXLAN隧道的源地址和目的地址;确定将所述源地址对应的VTEP设备接入underlay网络的设备作为所述源设备;确定将所述目的地址对应的VTEP设备接入underlay网络的设备作为所述目的设备。 [0029] SDN controller transfer source and destination addresses of the tunnel flow VXLAN data source address and destination address of the data stream according to the determined; determining the source address corresponding to the device VTEP underlay network device as an access the source device; determining a device corresponding to the destination address of the access VTEP underlay network device as the destination device.

[0030] SDN控制器根据所述数据流的源IP地址和目的IP地址在overlay网络中确定需要封装的VXLAN隧道的源地址和目的地址时,如果该数据流的目的IP地址为本overlay网络中的VM的IP地址,且该数据流的源IP地址和目的IP地址属于同一VXLAN时,则确定的VXLAN隧道的目的IP地址为与目的VM相连的VTEP设备的地址;否则,确定的VXLAN隧道的目的IP地址为网关设备中的VTEP设备的地址。 [0030] SDN controller when the source IP address and destination IP address of the data stream to determine the source address and destination address of the tunnel encapsulation VXLAN overlay network in accordance with the data stream if the destination IP address-based overlay network when the IP address of the VM, and the data stream source IP address and destination IP address belong to the same VXLAN, it is determined that the destination IP address VXLAN tunnel address VTEP device and the destination VM connected; otherwise, determining the VXLAN tunnel destination IP address is the address of the gateway device VTEP devices.

[0031] 步骤102,该SDN控制器确定所述源设备和目的设备之间是否已建立MPLS TE隧道。 [0031] Step 102, the controller determines whether SDN MPLS TE tunnel has been established between the source and destination devices.

[0032] 步骤103,若确定所述源设备和目的设备之间未建立MPLS TE隧道,则所述SDN控制器向所述源设备和目的设备下发建立MPLS TE隧道的配置,以使所述源设备和目的设备之间建立满足所述带宽要求的MPLS TE隧道。 [0032] Step 103, determining if the MPLS TE tunnel is not established between the source and destination devices, then the controller issues SDN established MPLS TE tunnel to lower the source and destination devices, so that the the establishment of an MPLS TE tunnel to meet bandwidth requirements between the source and destination devices.

[0033] 本步骤中建立的MPLS TE隧道可以为双向MPLS TE隧道,所述SDN控制器向所述源设备和目的设备下发建立MPLS TE隧道的配置,以使所述源设备和目的设备之间建立满足所述带宽要求的MPLS TE隧道,包括: [0033] The present step can be established MPLS TE tunnel, the controller issues SDN established MPLS TE tunnel to the source and destination devices the bidirectional MPLS TE tunnel, so that the source and destination devices of establishing inter satisfies the bandwidth requirement MPLS TE tunnels, comprising:

[0034] 所述SDN控制器向所述源设备下发将所述源设备的MPLS LSR ID作为双向MPLS TE 隧道的源地址的配置,并向所述目的设备下发将所述目的设备的MPLS LSR ID作为所述双向MPLS TE隧道的目的地址的配置; [0034] The SDN controller issues the MPLS LSR ID of the source device as a bidirectional MPLS TE tunnels at the source address to the source device arranged, and sends to the destination MPLS device at the destination apparatus LSR ID is configuring the bidirectional MPLS TE tunnel destination address;

[0035] 所述SDN控制器在接收到所述源设备和目的设备中作为主动设备发送的路径计算请求时,为所述双向MPLS TE隧道计算满足所述带宽要求的路径,并将计算结果返回给所述主动设备,完成所述双向MPLS TE隧道的建立。 [0035] When the controller calculates SDN receiving the request in the source and destination devices as the transmission path to the active device for the bidirectional MPLS TE tunnel path satisfies the computing bandwidth requirements, and return the results to the active device, complete the establishment of the bi-directional MPLS TE tunnel.

[0036] 步骤104,所述SDN控制器为所述建立的MPLS TE隧道分配强制转发标识。 [0036] Step 104, the controller SDN MPLS TE tunnels forcibly dispensing the established forwarding identifier.

[0037] 本步骤中为建立的MPLS TE隧道分配强制转发标识,即为与建立的MPLS TE隧道的源设备相连的VTEP设备和与目的设备相连的VTEP设备绑定分配强制转发标识。 [0037] The present step is assigned to MPLS TE tunnel establishment forced forwarding identifier, the device is the source device VTEP MPLS TE tunnels established with the connected device and the destination device connected VTEP binding force distribution forwarding identification.

[0038] 所述强制转发标识可以全局唯一分配,也可以是针对一个接口全局唯一分配,这里的接口为与接入设备相连的VTEP设备的接口。 [0038] The Forced Forwarding globally unique identification may assigned, or may be globally unique assignment for an interface, the interface devices connected to herein VTEP interface with the access device. One

[0039] 步骤104中,SDN控制器为所述建立的MPLS TE隧道分配强制转发标识之后,SDN控制器进一步记录带宽保证表项,所述带宽保证表项包括:VXLAN标识、所述源设备连接的VTEP设备的地址、所述目的设备连接的VTEP设备的地址和所述强制转发标识。 After [0039] In step 104, the controller assigned to the SDN of the established MPLS TE tunnels forced forwarding identifier, SDN controller further records bandwidth guarantee entry, the entry comprising bandwidth guaranteed: VXLAN identifier, the source device is connected VTEP device address, the destination address of VTEP device and a device connected to the forced forwarding identification.

[0040] 其中,所述VXLAN标识为根据该数据流确定的该数据流需要封装的VXLAN标识;所述源设备连接的VTEP设备的地址为根据所述数据流的源地址和目的地址确定转发所述数据流的VXLAN隧道的源地址;所述目的设备连接的VTEP设备的地址为根据所述数据流的源地址和目的地址确定转发所述数据流的VXLAN隧道的目的地址。 [0040] wherein, the identifier need VXLAN VXLAN identified as encapsulated according to the data stream of the data stream is determined; VTEP address of the source device connected to the device to determine the source address and forwards the destination address of the data stream VXLAN stream source address of said data tunnel; the destination address VTEP device attached forwarding destination address of the data stream VXLAN tunnel source address and destination address of the data stream according to the determined.

[0041] 该带宽保证表项用于确定源设备和目的设备之间是否已建立MPLS TE隧道,确定已建立的MPLS TE隧道对应的VXLAN标识中是否包括所述需要封装的VXLAN标识,具体实现如下: [0041] The bandwidth guarantee for the entry has been determined to establish MPLS TE tunnels between source and destination devices, determines the established MPLS TE tunnels corresponding VXLAN VXLAN identifier comprises identifying whether the package is required, to achieve the following specific :

[0042] SDN控制器确定所述源设备和目的设备之间是否已建立MPLS TE隧道,包括: [0042] SDN controller determines whether the established MPLS TE tunnels between the source and destination devices, comprising:

[0043] SDN控制器确定所述源设备和目的设备连接的VTEP设备的地址是否能匹配到对应的带宽保证表项,如果是,确定所述源设备和目的设备之间已建立MPLS TE隧道;否则,确定所述源设备和目的设备之间未建立MPLS TE隧道。 If [0043] SDN VTEP device controller determines the source and destination devices connected to the address matches corresponding bandwidth guarantee entry, has been established between the MPLS TE tunnels if so, to determine the source and destination devices; otherwise, determining that the source is not established MPLS TE tunnels between devices and destination devices.

[0044] 其中,所述源设备和目的设备连接的VTEP设备的地址,为根据所述数据流的源地址和目的地址确定的转发所述数据流的VXLAN隧道的源地址和目的地址。 [0044] wherein, the source address and destination devices VTEP device connected to the source and destination addresses of the tunnel VXLAN stream according to the forwarding source address and destination address of the data stream data is determined.

[0045] 步骤105,所述SDN控制器向所述VTEP设备下发流转发表,所述流转发表包括所述强制转发标识,使所述VTEP设备根据所述流转发表向所述源设备转发数据流时携带所述强制转发标识。 [0045] Step 105, the controller SDN issued to leave the circulation VTEP the apparatus, the stream forwarding comprises forwarding the forced identification, the apparatus according to the VTEP stream forwarding device forwards the data stream to the source when carrying the forced forwarding identification.

[0046] 本步骤中向VTEP设备下发的流转发表仅增加一个强制转发标识,其他内容均同现有实现。 [0046] The present step is to leave the device issued the VTEP a forced circulation increasing only forwarding identifier, other elements are the same existing implementation.

[0047] 数据流携带所述强制转发标识的具体形式,根据具体实现确定,如使用优先级实现强制转发标识,则在数据流VXLAN封装时在优先级字段携带该强制转发标识,在接入设备接收到该VXLAN封装的数据时,根据报文协议为该数据流恢复优先级即可; [0047] The data stream carries the forced forwarding specific form of identification, is determined according to the specific implementation, as implemented using the priority identification forced forwarding, at the time of carrying the encapsulated data stream VXLAN forced forwarding identifier in a priority field, the access device upon receiving the data encapsulated VXLAN, stream protocol packets according to priority for data recovery;

[0048] 如果使用报文中不存在的字段内容实现强制转发标识,则在VXLAN封装的数据流中的预留字段中或额外增加字段携带该强制转发标识;在接入设备接收到VXLAN封装的数据时,直接将该强制转发标识删除即可。 [0048] If the content of the text field does not exist to achieve mandatory packets forwarding identifier, a reserved field in the data stream is encapsulated in VXLAN or additional mandatory field carries the forwarding identifier; package received at the access device VXLAN when data is forwarded directly to the compulsory identification can be deleted.

[0049] 步骤106,所述SDN控制器向所述源设备与所述VTEP设备相连的接口上下发转发策略,所述转发策略用于指示在通过所述接口接收到携带所述强制转发标识的数据流时,通过所述MPLS TE隧道发送所述数据流。 [0049] Step 106, the controller SDN forwarding policy sent down to the interface of the source device and the connected device VTEP, for indicating the forwarding policy received through the interface to carry the identified forwarding forced when a data stream, the data stream transmitted by the MPLS TE tunnels.

[0050] 所述SDN控制器还向所述目的设备上的与所述VXLAN隧道的目的地址对应的VTEP 设备相连的接口上下发所述转发策略。 An interface connected to the upper and lower [0050] The controller further SDN corresponding to the destination address of the tunnel VXLAN on the destination device sent the forwarding policy VTEP apparatus.

[0051] 步骤105和步骤106的执行顺序不做限制,优选先执行步骤106再执行步骤105。 The order of execution [0051] Step 105 and step 106 is not limited, but preferably the first step 106 and then step 105 is executed.

[0052] 执行步骤102时,若SDN控制器确定所述源设备和目的设备之间已建立MPLS TE隧道,进一步确定已建立的MPLS TE隧道对应的VXLAN标识中是否包括所述需要封装的VXLAN 标识。 [0052] step 102, the controller determines if the SDN MPLS TE tunnel has been established between the source and destination devices, a further determination established MPLS TE tunnels corresponding VXLAN identification is included in the package requires identification VXLAN .

[0053] SDN控制器确定已建立的MPLS TE隧道对应的VXLAN标识中是否包括所述需要封装的VXLAN标识,包括: [0053] SDN controller determines established MPLS TE tunnel identifier corresponding VXLAN VXLAN comprises identifying whether the required package, comprising:

[00M] 所述SDN控制器确定所述匹配到的带宽保证表项中的VXLAN标识中是否包括所述需要封装的VXLAN标识;若所述匹配到的带宽保证表项中的VXLAN标识中包括所述需要封装的VXLAN标识,则确定已建立的MPLS TE隧道对应的VXLAN标识中包括所述需要封装的VXLAN 标识;若所述匹配到的带宽保证表项中的VXLAN标识中不包括所述需要封装的VXLAN标识, 则确定已建立的MPLS TE隧道对应的VXLAN标识中不包括所述需要封装的VXLAN标识。 [00M] The SDN controller determines that the matched bandwidth guarantee VXLAN identification table entry is included in the package need VXLAN identifier; if the guaranteed bandwidth matched table entry includes the identifier VXLAN VXLAN said package identification required, it is determined that the established MPLS TE tunnels corresponding VXLAN identifier comprises identifying the need VXLAN package; if the guaranteed bandwidth matched table entry identifier VXLAN need not include the package VXLAN the identification, it is determined that the established MPLS TE tunnels corresponding VXLAN identifier does not include the need to identity VXLAN package.

[0055] 当确定所述已建立的MPLS TE隧道对应的VXLAN标识中不包含所述需要封装的VXLAN标识时,所述SDN控制器重新计算该MPLS TE隧道的路径,所述重新计算的该MPLS TE 隧道的路径的带宽不小于所述已建立的MPLS TE隧道转发的数据流的带宽要求与所述需要封装的VXLAN标识对应的带宽要求的和;并将计算结果发送给所述己建立的MPLS TE隧道对应的源设备和目的设备,使所述已建立的MPLS TE隧道对应的源设备和目的设备重新完成该MPLS TE隧道的建立; When [0055] When it is determined the established MPLS TE tunnels corresponding VXLAN identifier does not include the need VXLAN package identifier, the controller recalculates the path to the SDN MPLS TE tunnel, the recalculation of the MPLS bandwidth path bandwidth requirements TE tunnel is not less than the established MPLS TE tunnel to forward the data stream needs VXLAN package corresponding to the identifier and bandwidth requirements; and transmits the calculation result to the already established MPLS TE tunnel corresponding to the source and destination devices, so that the established MPLS TE tunnel corresponding to the source and destination devices to complete the re-establishment of the MPLS TE tunnel;

[0056] 所述SDN控制器向所述VTEP设备下发包括为所述已建立的MPLS TE隧道分配的强制转发标识的流转发表。 [0056] The SDN controller to send the device comprises the flow forced VTEP forwarding identifier allocated for the established MPLS TE tunnels published.

[0057] SDN控制器在向所述VTEP下发流转发表时,还进行带宽保证表项的记录,可以将所述需要封装的VXLAN标识添加到对应的带宽保证表项中即可,也可以再保存一条带宽保证表项。 [0057] SDN flow controller in the hair to leave the lower VTEP further recorded bandwidth guarantee entry may be added to the package needs to identify the corresponding VXLAN bandwidth guarantee entry to, and then may be save a bandwidth guarantee entry.

[0058] 当确定所述已建立的MPLS TE隧道对应的VXLAN标识中包含所述需要封装的VXLAN 标识时,所述SDN控制器向所述VTEP设备下发包括为所述已建立的MPLS TE隧道分配的强制转发标识的流转发表。 When [0058] When it is determined the established MPLS TE tunnel identifier corresponding VXLAN package containing the required identification VXLAN the SDN controller to send the device comprises the VTEP MPLS TE tunnels to the established forced circulation forwarding identifiers assigned publication.

[0059] 本申请实施例中,当确定所述已建立的MPLS TE隧道对应的VXLAN标识中不包含所述需要封装的VXLAN标识时,不需要重新建立MPLS TE隧道,而是重新计算该MPLS TE隧道的路径,所述重新计算的该MPLS TE隧道的路径的带宽满足所述己建立的MPLS TE隧道转发的数据流的带宽要求与所述需要封装的VXLAN标识对应的带宽要求的和即可。 When identification VXLAN embodiment, upon determining that the established MPLS TE tunnels corresponding VXLAN identifier does not include the need to package [0059] embodiment of the present application, does not need to re-establish MPLS TE tunnels, but recalculated MPLS TE path of the tunnel, the bandwidth of the path to meet the MPLS TE tunnels have recalculated the established MPLS TE tunnel to forward the data stream bandwidth requirements and bandwidth requirements VXLAN corresponding to the identifier and the need to package. 触发该操作可以通过隧道CRLSP托管属性实现。 The trigger operation can be achieved through the tunnel CRLSP managed property. 具体实现如下: Specific achieve the following:

[0060] 所述SDN控制器向所述源设备和目的设备下发建立MPLS TE隧道的配置时,同时下发隧道CRLSP托管属性。 When [0060] the controller establishes SDN MPLS TE tunnel issued to the source and destination devices, applied simultaneously tunnel CRLSP managed property.

[0061] 所述SDN控制器在接收到所述源设备和目的设备中的主动设备发送的托管MPLS TE隧道对应的CRLSP的通知时,确定所述MPLS TE隧道建立完成,并记录该MPLS TE隧道对应的CRLSP已被托管,以在确定已建立的MPLS TE隧道对应的VXLAN标识中不包含所述需要封装的VXLAN标识时,触发重新计算该MPLS隧道的路径。 [0061] The SDN controller upon receiving the notification MPLS TE tunnels hosting the source device and destination device corresponding to the active device sends CRLSP determining the MPLS TE tunnel is established, and recording the MPLS TE tunnels when the corresponding CRLSP has been managed to determine the MPLS TE tunnels established VXLAN corresponding identifier does not include the need VXLAN package identification, trigger path recalculated MPLS tunnel.

[0062] 所述SDN控制器在下发隧道CRLSP托管属性时,还可以为所述MPLS TE隧道开启CRLSP托管属性定时器;在定时器超时时,如果还未接收到主动设备发送的托管MPLS TE隧道对应的CRLSP的通知时,认为源设备和目的设备之间的隧道未能够建立完成,SDN控制器按现有实现为所述VTEP设备下发转发流表。 When [0062] The hair tunnels CRLSP lower SDN controller managed properties can also open the MPLS TE tunnels managed property CRLSP timer; when the timer expires, if the device has not been received sends hosting MPLS TE tunnels CRLSP when the corresponding notification, that the tunnel between the source and destination device is not able to establish complete, SDN controller is implemented according to the existing hair in said forwarding table VTEP flow apparatus.

[0063] 参见图2,图2为overlay组网示意图。 [0063] Referring to FIG. 2, FIG. 2 is a schematic overlay network. 图2中VM1和VM4属于同一个组户,对应VXLAN 标识为1,VM2和VM3属于同一个租户,对应VXLAN标识为2,VM1的IP地址为IP1-1,VM4的IP地址为IP2-4,VTEP设备1的IP地址为IP1,VTEP设备2的IP地址为IP2,设备A的接口A的IP地址为IPA,设备B的接口B的IP地址为IPB。 VM1 and VM4 FIG. 2 belong to the same user group, the corresponding VXLAN identified as 1, VM2, and VM3 belong to the same tenant, is identified as corresponding to VXLAN 2, the IP address is the IP address VM1 IP1-1, VM4 is IP2-4, VTEP IP address of the device 1 is an IP address IP1, VTEP apparatus 2 for IP2, port a of the apparatus a IP address IPA, IP address of the interface of the device B is B IPB. 现在VM1和VM4,以及VM2和VM3跨域underlay网络进行通信。 Now VM1 and VM4, and VM2, and VM3 underlay network cross-domain communication. VXLAN标识1对应带宽要求为10M,VXLAN标识2对应带宽要求为20M。 VXLAN identifier corresponding to a bandwidth of 10M, VXLAN identifier 2 corresponding to the bandwidth requirements of 20M.

[0064] 下面以VM1先向VM4发送数据流,VM2再向VM3发送数据流为例,具体流程如下: [0064] Next, the transmission data stream to VM4 Xianxiang VM1, VM2 VM3 again transmit data streams, the detailed process is as follows:

[0065] 第一步,VM1向VTEP1发送目的IP地址为IP2-4的数据流,即需要发送至VM4的数据流。 [0065] The first step, VM1 transmission destination IP address to the data stream IP2-4 VTEP1, i.e. the need to send the data stream VM4.

[0066] 第二步,VTEP1接收到VM1发送的数据流时,根据该数据流的元组信息在本地查对应的流转发表,如果查找到,根据查找到的流转发表转发,结束本流程;如果未查找到,则向SDN控制器发送针对该数据流下发流转发表的请求。 [0066] The second step, when the transmission VM1 VTEP1 received data stream, according to the information tuple of the data stream corresponding to the local stream forwarding check, if found, according to stream forwarding forwarding lookup, the process ends; if is not found, then send the data flow for request to send a stream forwarding SDN controller.

[0067] VTEP1在向SDN控制器发送下发流转发表的请求时,可以将该数据流打包上送,也可以只上送该数据流的元组信息。 [0067] VTEP1 when sending the transfer request to send the controller SDN issued, the data stream can be sent to packaging, may be sent to only the tuple information of the data stream.

[0068] 第三步,SDN控制器接收到VTEP设备1发送的针对该数据流下发流转发表的请求时,若根据该请求确定VXLAN标识与带宽要求的对应表中存在需要为该数据流封装的VXLAN 标识1对应的带宽要求,则确定在底层underlay网络中转发该数据流的源设备(设备A)和目的设备(设备B)。 [0068] The third step, when the SDN controller receives a request for the data stream sent to a stream forwarding VTEP apparatus 1 transmits, if a request is determined based on the bandwidth requirements VXLAN identifying correspondence table there is a need for that data stream encapsulated VXLAN bandwidth requirements 1 corresponding to the identifier, it is determined that the data stream transfer source device (device a) and the destination device (device B) in the underlying underlay network.

[0069] SDN控制器根据数据流的源IP地址IP1-1和目的IP地址IP2-4确定为该数据流封装的VXLAN标识1,再在VXLAN标识与带宽要求的对应表中确定VXLAN标识1对应带宽要求10M。 [0069] SDN controller data stream source IP address and destination IP address IP2-4 IP1-1 VXLAN identification for that data stream is determined according to package 1, then a determination VXLAN identifier identifying the corresponding bandwidth requirements in VXLAN correspondence table bandwidth requirements 10M. [0070] SDN控制器确定VXLAN标识1对应的VXLAN隧道,并确定该VXLAN隧道的源地址为VTEP1的地址IP1和目的地址为VTEP2的地址IP2,然后根据网络拓扑确定VTEP1默认路由的下一跳(设备A的接口A的IP地址(IPA))和VTEP2默认路由的下一跳(设备B的接口B的IP地址(IPB))〇 [0070] SDN controller determines VXLAN VXLAN tunnel identifier corresponding to 1, and determining the source address of the tunnel is VXLAN address and a destination address IP1 to VTEP2 VTEP1 address IP2, and then determine the next hop VTEP1 network topology according to the default route ( IP address of the interface a of the device a (of IPA)) and VTEP2 default next-hop route (IP address of the device B of the port B (the IPB)) square

[0071] SDN控制器将接口A所属的设备A确定为源设备,接口B所属的设备B确定为目的设备。 [0071] SDN A interface controller apparatus A belongs as the source device, the interface device B B belongs as the destination device.

[0072] 第四步,SDN控制器确定设备A的MPLS LSR ID作为在设备A和设备B之间建立双向MPLS TE隧道的源IP地址,设备B的MPLS LSR ID作为在设备A和设备B之间建立双向MPLS TE 隧道的目的IP地址。 [0072] The fourth step, the controller determines SDN MPLS LSR ID of the device A to establish a bidirectional MPLS LSR ID MPLS TE tunnels IP source address, the device B between the devices A and B as in the devices A and B establish two-way between the destination IP address of the MPLS TE tunnel.

[0073] 第五步,SDN控制器将建立双向MPLS TE隧道的源IP地址和目的IP地址,以及带宽要求和CRLSP托管属性下发给所述源设备和目的设备,并启动针对所述双向MPLS TE隧道的CRLSP托管属性定时器。 [0073] The fifth step, the controller will establish SDN the source and destination devices delivers the source IP address and destination IP address of a bidirectional MPLS TE tunnels, as well as bandwidth requirements and CRLSP managed properties, and for starting said bidirectional MPLS CRLSP managed property timer TE tunnel.

[0074] 第六步,设备A和设备B中的主动设备(主动设备由SDN控制器确定,假设为设备A) 向SDN设备发送计算满足带宽要求10M的路径计算请求。 [0074] The sixth step, devices A and B in the active device (SDN active device is determined by the controller, the device is assumed to be A) SDN computing device transmits 10M bandwidth requirements path computation request. 具体实现时,可以通过PCEP协议发送请求。 In specific implementation, the request may be transmitted through the PCEP.

[0075] 第七步,SDN控制器接收到该请求时,通过本地的拓扑数据库计算满足带宽要求的路径,若计算成功,则向设备A返回路径结算结果,执行第八步;若计算不成功,则向设备A返回不能计算出满足所述带宽要求的路径的响应,按现有实现为VTEP1下发流转发表,结束本流程。 [0075] The seventh step, the controller SDN Upon receiving the request, the path calculated by the bandwidth requirements of the local topology database, if the calculation is successful, the apparatus A return path to the settlement result, performing an eighth step; calculated if unsuccessful , then returned to the device a can not be calculated to satisfy the bandwidth requirement in response to a path, according to the existing flow is implemented as issued published under VTEP1, the process ends.

[0076] 为了节省内容,未建立完成双向MPLS TE隧道的相关配置信息可以删除。 [0076] In order to save the content, not established complete bi-directional MPLS TE tunnel configuration information can be deleted.

[0077] 第八步,设备A接收到SDN控制器返回的路径计算结果,完成双向MPLSTE隧道的建立,并通知SDN控制器托管该双向MPLS TE隧道对应的CRLSP。 [0077] The eighth step, the device A receives the path calculation result SDN controller returns to complete the establishment of a bidirectional tunnel MPLSTE, and notifies the controller SDN hosting the bidirectional MPLS TE tunnels corresponding CRLSP.

[0078] 第九步,SDN控制器在定时器超时前接收到设备A发送的托管该双向MPLS TE隧道对应的CRLSP的通知时,获知双向MPLS TE隧道已建立成功,并记录该MPLS TE隧道对应的CRLSP己被托管,执行第十步;若在启动的CRLSP托管属性定时器超时时,未接收到设备A发送的托管该双向MPLS TE隧道对应的CRLSP的通知,则按现有实现向VTEP设备1下发流转发表,结束本流程。 [0078] The ninth step, SDN received before the timer expires the controller to the managed device A sends the bidirectional MPLS TE tunnels corresponding notification CRLSP of known bidirectional MPLS TE tunnel has been established successfully, and the corresponding record of the MPLS TE tunnels the CRLSP had been hosted, the tenth step executed; if the timeout timer is started CRLSP managed property, managed device a does not receive a notification sent by the bidirectional CRLSP MPLS TE tunnels corresponding to achieve conventional press apparatus VTEP 1 issued a stream forwarding, the end of the process.

[0079] 第十步,SDN控制器为建立的双向MPLS TE隧道分配强制转发标识,并建立带宽保证表项。 [0079] The tenth step, SDN controller is a bidirectional MPLS TE tunnel establishment of mandatory allocation forwarding identifier, and the establishment of bandwidth guarantee entry. 该带宽保证表项包括:VXLAN标识1、VTEP设备1的IP地址IP1、VTEP2的IP地址IP2和所述强制转发标识。 The bandwidth guarantee entry includes: VXLAN identifier 1, VTEP device IP address IP1 1, IP address IP2 and the forced VTEP2 forwarding of identification.

[0080] 第十一步,SDN控制器向设备A的接口A和设备B的接口B下发转发策略,并向VTEP设备1下发包括为所述己建立的MPLS TE隧道分配的强制转发标识的流转发表。 [0080] The eleventh step, SDN controller to send a forwarding policy at the interface B interfaces A and B in the apparatus A, and delivers an MPLS TE tunnel comprises establishing assigned to the own apparatus forced forwarding identifier VTEP stream forwarding.

[0081]第十二步,VTEP设备1根据接收到的流转发表将所述数据流转发给设备A,所述数据流携带所述强制转发标识。 [0081] The twelfth step, VTEP leave the device 1 the data stream to the device A, carries the data stream forwarding the forced flow based on the received identifier.

[0082]第十三步,设备A通过接口A接收到所述数据流时,根据配置的转发策略将携带所述转发标识的数据流通过对应的双向MPLS TE隧道进行发送,通过所述双向MPLS TE隧道发送给设备B后,再转发给VM4的过程同现有实现,不再详细描述。 When [0082] the thirteenth step, the device A receives the data stream via the interface A, according to the configuration of the forwarding policy data streams carrying the identified forwarding bidirectional transmission corresponding MPLS TE tunnel, through the bidirectional MPLS after sending the TE tunnel to the device B, forwarded to the conventional process with VM4 implemented, not described in detail.

[0083] 第十四步,VM2向VTEP1发送目的IP地址为IP2-3的数据流,即需要发送至VM3的数据流。 [0083] Step XIV, VM2 IP2-3 transmission destination IP address of the data streams to VTEP1, i.e. the need to send the data stream VM3.

[0084] 第十五步,VTEP设备1接收到VM2发送的数据流,且未查找到对应的流转发表时,向SDN控制器发送针对该数据流下发流转发表的请求。 [0084] Step XV, the VTEP apparatus 1 receives the transmitted data stream VM2, and not found when the corresponding stream forwarding, sending a stream transfer request is sent to the data published for the SDN controller.

[0085] 第十六步,SDN控制器接收到VTEP设备1发送的请求时,确定需要封装的VXLAN标识2对应带宽要求20M时,使用与源设备(设备A)相连的VTEP设备1的IP地址1和与目的设备(设备B)相连的VTEP设备2的IP地址2在带宽保证表项中匹配到对应的表项,由第十步记录的带宽保证表项可见;确定匹配到的带宽保证表项中对应的VXLAN标识中不包括VXLAN标识2,且记录该双向MPLS TE隧道对应的CRLSP己被托管,则针对所述双向MPLS TE隧道重新进行路径计算(重新计算的路径的带宽不小于30M),并将路径计算结果返回给设备A和设备B重新建立所述双向MPLS TE隧道。 When [0085] Step 16, the controller SDN VTEP apparatus 1 receives a request transmitted, determines that the package identifier 2 corresponding to VXLAN 20M bandwidth requirements, equipment VTEP source device (device A) is connected to the IP address 1 VTEP IP address and a destination apparatus 1 (apparatus B) connected to the 2 2 guaranteed bandwidth matching entry corresponding to the entry, the bandwidth guarantee can be seen from the tenth step record entries; guaranteed bandwidth to determine a match table identifying the corresponding entry does not include VXLAN VXLAN identifier 2, and the recording of the bidirectional MPLS TE tunnels had been hosting the corresponding CRLSP, path computation is performed again for the bidirectional MPLS TE tunnels (bandwidth re-calculated path is not less than 30M) and return the results to the path calculation device A and device B to re-establish the bi-directional MPLS TE tunnels.

[0086] 第十七步,SDN控制器将VXLAN标识2添加到匹配到的带宽保证表项中,并向VTEP设备下发包括为所述已建立的MPLS TE隧道分配的强制转发标识的流转发表。 [0086] Step 17, the controller VXLAN identification SDN 2 was added to the matched bandwidth guarantee entry, and sends the MPLS TE tunnel comprises allocating to the established forwarding identifier forced circulation published under VTEP device .

[0087] 后续转发流程同步第十二和十三步类似,不再详细描述。 [0087] and the subsequent forwarding process is similar to the twelfth synchronizing thirteen steps, not described in detail.

[0088] 基于同样的发明构思,本申请还提出一种软件定义网络中数据流转发装置。 [0088] Based on the same inventive concept, the present application also provides data forwarding device A software-defined network. 参见图3,图3为本申请实施例中SDN中数据流转发装置结构示意图。 Referring to FIG. 3, FIG. 3 is a schematic embodiment of a data stream in SDN device structure according to the present application. 该装置包括:接收单元301、 确定单元302和处理单元303。 The apparatus comprising: a receiving unit 301, determining unit 302 and processing unit 303.

[0089] 接收单元301,用于接收VTEP设备发送的针对数据流下发流转发表的请求; [0089] The receiving unit 301 for transmitting data to the receiving apparatus VTEP flow of a stream forwarding request is sent;

[0090] 确定单元3〇2,用于当接收单元301接收到VTEP设备发送的针对数据流下发流转发表的请求时,若确定存储的虚拟局域网VXLAN标识与带宽要求的对应表中存在该数据流需要封装的VXLAN标识对应的带宽要求,则确定在底层(underlay)网络中转发该数据流的源设备和目的设备;进一步确定所述源设备和目的设备之间是否已建立多协议标签交换流量工程MPLS TE隧道; When [0090] 3〇2 determination unit, configured to, when the receiving unit 301 receives the VTEP data stream transmission apparatus for a stream forwarding request is sent, if the determined virtual local area network identifier and bandwidth requirements VXLAN correspondence table memory present in the data stream VXLAN package needs to identify the corresponding bandwidth requirements, it is determined that the transfer source and destination devices in the data stream bottom (Underlay) network; further determines whether to establish multiprotocol label switching traffic engineering between the source and destination devices MPLS TE tunnel;

[0091] 处理单元303,用于若确定单元302确定所述源设备和目的设备之间未建立MPLS TE隧道,则向所述源设备和目的设备下发建立MPLS TE隧道的配置,以使所述源设备和目的设备之间建立满足所述带宽要求的MPLS TE隧道;并为所述建立的MPLS TE隧道分配强制转发标识;向所述VTEP设备下发流转发表,所述流转发表包括所述强制转发标识,使所述VTEP 设备根据所述流转发表向所述源设备转发数据流时携带所述强制转发标识;向所述源设备与所述VTEP设备相连的接口上下发转发策略,所述转发策略用于指示在通过所述接口接收到携带所述强制转发标识的数据流时,通过所述MPLS TE隧道发送所述数据流。 [0091] The processing unit 303 is configured to determine if MPLS TE tunnels unit 302 determines not established between the source and destination devices, the establishment of an MPLS TE tunnel issued to the source and destination devices, so that the is established between said source and destination devices satisfying the requirements of bandwidth of MPLS TE tunnels; and assigned to the established MPLS TE tunnels forced forwarding identifier; issued to leave the circulation VTEP the apparatus, the flow table includes the forced forwarding identifier, the apparatus according to the flow VTEP to leave when the source device carries forward data stream forwarding the forced identification; vertical interfaces connected to the source device and the device made VTEP forwarding policy, the forwarding policy used to indicate when receiving data carrying the identification of the forwarding forced flow through the interface transmits the data flow through the MPLS TE tunnels.

[0092] 较佳地, [0092] Preferably,

[0093] 确定单元302,具体用于确定在underlay网络中转发该数据流的源设备和目的设备时,根据所述数据流的源地址和目的地址确定转发所述数据流的VXLAN隧道的源地址和目的地址;确定将所述源地址对应的VTEP设备接入underlay网络的设备作为所述源设备; 确定将所述目的地址对应的VTEP设备接入underlay网络的设备作为所述目的设备; [0093] The determination unit 302 for determining the specific source and destination devices to forward the data stream in the underlay network, the transfer source address of the tunnel stream data VXLAN source address and destination address of the data stream is determined according to and a destination address; determining the source address of the corresponding access device VTEP underlay network device as the source device; determining the destination address corresponding to the access device VTEP underlay network device as the destination device;

[0094] 接收单元301,进一步用于接收路径计算请求; [0094] The receiving unit 301 is further configured to receive a path computation request;

[0095] 处理单元303,具体用于向所述源设备和目的设备下发建立MPLS TE隧道的配置, 以使所述源设备和目的设备之间建立满足所述带宽要求的MPLS TE隧道时,向所述源设备下发将所述源设备的MPLS LSR ID作为所述双向MPLS TE隧道的源地址的配置,并向所述目的设备下发将所述目的设备的MPLS LSR ID作为所述双向MPLS TE隧道的目的地址的配置; 当接收单元301接收到所述源设备和目的设备中作为主动设备发送的路径计算请求时,为所述双向MPLS TE隧道计算满足所述带宽要求的路径,并将计算结果返回给所述主动设备, 以使所述源设备和目的设备完成所述双向MPLS TE隧道的建立。 [0095] processing unit 303, specifically made for the establishment of an MPLS TE tunnel to the source device and the destination device, so that the establishment meet the bandwidth requirements of MPLS TE tunnels between the source and destination device, the bidirectional MPLS LSR ID to the device as the destination will send the MPLS LSR ID of the source device arranged as a bidirectional MPLS TE tunnels at the source address of the source device, the destination device to send the configure a destination address of the MPLS TE tunnel; when the receiving unit 301 receives a path to the source device and the destination device as an active device transmitting the calculation request, a path to meet the bandwidth requirements for the calculation of the bidirectional MPLS TE tunnel, and the calculation result is returned to the active device, so that the source and destination devices to complete the establishment of the bi-directional MPLS TE tunnels.

[0096] 较佳地, [0096] Preferably,

[0097] 处理单元303,进一步用于向所述目的设备上的与所述VXLAN隧道的目的地址对应的VTEP设备相连的接口上下发所述转发策略。 [0097] The processing unit 303 is further connected to an interface corresponding to the vertical to the destination address and the tunnel VXLAN on the destination device sent the forwarding policy VTEP apparatus.

[0098] 较佳地, [0098] Preferably,

[0099] 确定单元302,进一步用于若确定所述源设备和目的设备之间已建立MPLS TE隧道,确定己建立的MPLS TE隧道对应的VXLAN标识中是否包括所述需要封装的VXLAN标识; [0100] 处理单元303,进一步用于当确定单元302确定所述己建立的MPLS TE隧道对应的VXLAN标识中不包含所述需要封装的VXLAN标识时,所述SDN控制器重新计算该MPLS TE隧道的路径,所述重新计算的该MPLS TE隧道的路径的带宽不小于所述已建立的MPLS TE隧道转发的数据流的带宽要求与所述需要封装的VXLAN标识对应的带宽要求的和;并将计算结果发送给所述已建立的MPLS TE隧道对应的源设备和目的设备,使所述已建立的MPLS TE隧道对应的源设备和目的设备重新完成该MPLS TE隧道的建立;向所述VTEP设备下发包括为所述已建立的MPLS TE隧道分配的强制转发标识的流转发表。 [0099] determination unit 302 is further configured to determine if MPLS TE tunnels established between the source and destination devices, we have determined the established MPLS TE tunnel identifier corresponding VXLAN is included in the package identification required VXLAN; [ 0100] the processing unit 303 is further configured to, when the determining unit 302 determines that the already established MPLS TE tunnels corresponding VXLAN identifier does not include the need VXLAN package identifier, the controller recalculates the SDN MPLS TE tunnel path, the bandwidth path MPLS TE tunnels the recalculation is not less than the established MPLS TE tunnel forwarding bandwidth requirements and bandwidth requirements VXLAN corresponding to the identifier of the package and requires data stream; and calculating result is sent to the MPLS TE tunnel corresponding to the source and destination devices established the MPLS TE tunnel corresponding to the source and destination devices to re-established the complete establishment of the MPLS TE tunnel; to the device under VTEP forced circulation forwarding identifiers include hair allocated for the established MPLS TE tunnel published.

[0101] 较佳地, [0101] Preferably,

[0102] 处理单元303,进一步用于当确定单元302确定所述已建立的MPLS TE隧道对应的VXLAN标识中包含所述需要封装的VXLAN标识时,向所述VTEP设备下发包括为所述已建立的MPLS TE隧道分配的强制转发标识的流转发表。 [0102] The processing unit 303 is further configured to, when the determining unit 302 determines the established MPLS TE tunnel identifier corresponding VXLAN package containing the required VXLAN identity, to send the said apparatus including said VTEP has forced circulation forwarding identifiers established MPLS TE tunnel allocated published.

[0103] 较佳地, [0103] Preferably,

[0104] 处理单元303,进一步用于为所述建立的MPLS TE隧道分配强制转发标识时,记录带宽保证表项,所述带宽保证表项包括:VXLAN标识、所述源设备连接的VTEP设备的地址、所述目的设备连接的VTEP设备的地址和强制转发标识; [0104] The processing unit 303 is further forced forwarding identifier for dispensing, recording bandwidth guarantee entry to the MPLS TE tunnels established, the bandwidth guaranteed entry comprises: VXLAN identification, the VTEP device the source device connected VTEP address of the device address of the destination device connected to the force and forwarding identifier;

[0105] 确定单元302,具体用于确定所述源设备和目的设备之间是否己建立MPLS TE隧道时,确定所述源设备和目的设备连接的VTEP设备的地址是否能匹配到对应的带宽保证表项,如果是,确定所述源设备和目的设备之间已建立MPLS TE隧道;否则,确定所述源设备和目的设备之间未建立MPLS TE隧道;确定己建立的MPLS TE隧道对应的VXLAN标识中是否包括所述需要封装的VXLAN标识时,确定所述匹配到的带宽保证表项中的VXLAN标识中是否包括所述需要封装的VXLAN标识;若所述匹配到的带宽保证表项中的VXLAN标识中包括所述需要封装的VXLAN标识,则确定已建立的MPLS TE隧道对应的VXLAN标识中包括所述需要封装的VXLAN标识;若所述匹配到的带宽保证表项中的VXLAN标识中不包括所述需要封装的VXLAN标识,则确定已建立的MPLS TE隧道对应的VXLAN标识中不包括所述需要封装的VXLAN 标识。 [0105] determination unit 302 has established specifically for determining whether MPLS TE tunnel, determines whether the address of the source device VTEP devices and destination devices can be connected to the corresponding bandwidth guarantee matching between the source and destination devices entry, if so, to determine the source MPLS TE tunnel has been established between the device and the destination device; otherwise, determining the MPLS TE tunnel is not established between the source and destination devices; determining been established MPLS TE tunnel corresponding VXLAN includes identifying whether the package needs VXLAN identification, to determine the matching entry in the bandwidth guarantee VXLAN VXLAN identifier comprises identifying whether the package required; if the guaranteed bandwidth matched table entry VXLAN VXLAN identifier comprises identifying the needs of the package, it is determined that the established MPLS TE tunnels corresponding VXLAN identifier comprises identifying the need VXLAN package; if the guaranteed bandwidth matched table entry is not identified VXLAN including the required identification VXLAN package, it is determined that the established MPLS TE tunnels corresponding VXLAN identifier does not include the need to identity VXLAN package.

[0106]上述实施例的单元可以集成于一体,也可以分离部署;可以合并为一个单元,也可以进一步拆分成多个子单元。 Units [0106] above-described embodiments may be integrated in one embodiment, may be deployed separately; may be combined into one unit may be split into a plurality of sub-units.

[0107]综上所述,本申请中SDN控制器对有带宽要求的数据流,确定该数据流在underlay 网络中转发的源设备和目的设备,并使所述源设备和目的设备之间建立满足带宽要求的MPLS TE隧道;并分配强制转发标识使所述数据流在underlay网络中转发时通过所述MPLS TE隧道发送。 [0107] In summary, this application has SDN controller bandwidth requirement of a data stream, the data stream to determine the source and destination devices in forwarding underlay network, and establishing between the source and destination devices MPLS TE tunnels meet bandwidth requirements; forwarding identifier and allocates the force transmitted by the data stream forwarding the MPLS TE tunnels underlay network. 对有带宽要求的租户,流量在under lay网络中传输时能够得到带宽保证。 Tenants have bandwidth requirements, network traffic can be obtained under lay transmission bandwidth guarantee.

[0108]以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明保护的范围之内。 [0108] The foregoing is only preferred embodiments of the present invention but are not intended to limit the present invention, all within the spirit and principle of the present invention, any changes made, equivalent substitutions and improvements should be included within the scope of protection of the present invention.

Claims (12)

1. 一种软件定义网络SDN中数据流转发方法,其特征在于,该方法包括: SDN控制器接收到虚拟可扩展局域网隧道端点VTEP设备发送的针对数据流下发流转发表的请求时,若确定所述SDN控制器存储的虚拟可扩展局域网VXLAN标识与带宽要求的对应表中存在该数据流需要封装的VXLAN标识对应的带宽要求,则确定在底层underlay网络中转发该数据流的源设备和目的设备; 所述SDN控制器确定所述源设备和目的设备之间是否已建立多协议标签交换mpls流量工程TE隧道; 若确定所述源设备和目的设备之间未建立MPLS TE隧道,则所述SDN控制器向所述源设备和目的设备下发建立MPLS TE隧道的配置,以使所述源设备和目的设备之间建立满足所述带宽要求的MPLS TE隧道; 所述SDN控制器为所述建立的MPLS TE隧道分配强制转发标识; 所述SDN控制器向所述VTEP设备下发流转发表,所述流转发 A software-defined network of the data forwarding method SDN, characterized in that, the method comprising: receiving a virtual controller SDN scalable data endpoint for the LAN device sends a tunnel VTEP hair flow transfer request is issued, if it is determined that the data stream corresponding to the identifier requires encapsulated VXLAN bandwidth controller SDN requires the presence of said stored virtual local area network can be extended to identify bandwidth requirements VXLAN correspondence table, it is determined that the transfer source and destination devices in the data stream underlying underlay network ; SDN controller determines whether the established mPLS TE mpls traffic engineering tunnel between the source and destination devices; if the source determines an mPLS TE tunnel is not established between the device and the destination device, then the SDN controller issues the establishment of an MPLS TE tunnel to the source device and the destination device, so that the establishment of an MPLS TE tunnel meets the bandwidth requirement between said source device and destination device; and the controller establishes said SDN MPLS TE tunnel forwarding identifier assigned mandatory; issued to leave the SDN controller in said flow VTEP apparatus, the stream forwarding 包括所述强制转发标识, 使所述VTEP设备根据所述流转发表向所述源设备转发该数据流时携带所述强制转发标识; 所述SDN控制器向所述源设备与所述VTEP设备相连的接口上下发转发策略,所述转发策略用于指示在通过所述接口接收到携带所述强制转发标识的数据流时,通过所述MPLS TE隧道发送所述数据流。 Including the forced forwarding identifier, the apparatus according to the flow VTEP released when carrying forward the data stream to the source device the forced forwarding identifier; SDN said controller coupled to said source apparatus and said apparatus VTEP Interface downward the forwarding policy, the policy for indicating forwarding received through the interface to carry the identification data when forced forward stream, the data stream transmitted by the MPLS TE tunnels.
2. 根据权利要求1所述的方法,其特征在于,所述确定在underlay网络中转发该数据流的源设备和目的设备,包括: 所述SDN控制器根据所述数据流的源地址和目的地址确定转发所述数据流的VXLAN隧道的源地址和目的地址;确定将所述源地址对应的VTEP设备接入underlay网络的设备作为所述源设备;确定将所述目的地址对应的VTEP设备接入underlay网络的设备作为所述目的设备; 所述SDN控制器向所述源设备和目的设备下发建立MPLS TE隧道的配置,以使所述源设备和目的设备之间建立满足所述带宽要求的MPLS TE隧道,包括: 所述SDN控制器向所述源设备下发将所述源设备的MPLS标签交换路径LSR标识ID作为双向MPLS TE隧道的源地址的配置,并向所述目的设备下发将所述目的设备的MPLS LSR ID 作为所述双向MPLS TE隧道的目的地址的配置; 所述SDN控制器在接收到所述源设备和目的设备 2. The method according to claim 1, wherein said determining the forwarding source and destination devices in the data stream underlay network, comprising: a controller according to the source address of the SDN data streams and to the purpose of determining the transfer source address and destination address of the tunnel VXLAN data stream; determining the source address corresponding to the device VTEP underlay network device as the access source device; determining an address corresponding to the destination device connected VTEP the underlay network device as the destination device; and the controller issues SDN established MPLS TE tunnel to lower the source and destination devices, so that meet established between the source and destination devices of the bandwidth requirement MPLS TE tunnel, comprising: a controller to send SDN MPLS label switched path identifier LSR ID of the source device arranged as a bidirectional MPLS TE tunnels at the source address of the source device to the destination device under the hair MPLS LSR ID of the destination device as a configuration of the bidirectional MPLS TE tunnel destination address; SDN said controller receiving the source and destination devices 作为主动设备发送的路径计算请求时,为所述双向MPLS TE隧道计算满足所述带宽要求的路径,并将计算结果返回给所述主动设备,以使所述源设备和目的设备完成所述双向MPLS TE隧道的建立。 Calculating a route request sent by the active equipment, to meet the requirements for the bandwidth of the bidirectional MPLS TE tunnel path calculation, and the calculation result is returned to the active device, so that the source and destination devices completing the bidirectional MPLS TE tunnel establishment.
3. 根据权利要求2所述的方法,其特征在于,所述方法进一步包括: 所述SDN控制器向所述目的设备上的与所述VXLAN隧道的目的地址对应的VTEP设备相连的接口上下发所述转发策略。 3. The method according to claim 2, wherein said method further comprises: an interface controller sends downward the SDN is connected to the device and VTEP VXLAN tunnel destination address of the corresponding object on the device the forwarding policy.
4. 根据权利要求1-3任意一项所述的方法,其特征在于,所述方法进一步包括: 若所述SDN控制器确定所述源设备和目的设备之间已建立MPLS TE隧道,确定已建立的MPLS TE隧道对应的VXLAN标识中是否包括所述需要封装的VXLAN标识; 当确定所述己建立的MPLS TE隧道对应的VXLAN标识中不包含所述需要封装的VXLAN标识时,所述SDN控制器重新计算该MPLS TE隧道的路径,所述重新计算的该MPLS TE隧道的路径的带宽不小于所述已建立的MPLS TE隧道转发的数据流的带宽要求与所述需要封装的VXLAN标识对应的带宽要求的和;并将计算结果发送给所述己建立的MPLS TE隧道对应的源设备和目的设备,使所述已建立的MPLS TE隧道对应的源设备和目的设备重新完成该MPLS TE隧道的建立; 所述SDN控制器向所述VTEP设备下发包括为所述己建立的MPLS TE隧道分配的强制转发标识的流转发表。 4. A method according to any one of claims 1-3, wherein said method further comprises: if the controller determines SDN MPLS TE tunnel has been established between the source and destination devices, has been determined MPLS TE tunnels established whether the corresponding VXLAN identifier comprises identifying the required package VXLAN; when it is determined the already established MPLS TE tunnels corresponding VXLAN identifier does not include the need VXLAN package identifier, the control SDN recalculates the path MPLS TE tunnel, the bandwidth path MPLS TE tunnels the recalculated data stream is not less than the bandwidth of the established MPLS TE tunnels correspond to the requirements of forwarding the package requires identification VXLAN and bandwidth requirements; and transmits the calculation result to the source and destination devices already established MPLS TE tunnels corresponding to the MPLS TE tunnels corresponding to the established source and destination devices to complete the re MPLS TE tunnel establishing; SDN said controller to send the said apparatus comprises a flow VTEP forced forwarding said identification is already established MPLS TE tunnel assigned published.
5.根据权利要求4所述的方法,其特征在于,所述方法进一步包括: 当确定所述已建立的MPLS TE隧道对应的VXLAN标识中包含所述需要封装的VXLAN标识时,所述SDN控制器为所述VTEP设备下发包括为所述己建立的MPLS TE隧道分配的强制转发标识流转发表。 The method according to claim 4, characterized in that, said method further comprising: determining when the established MPLS TE tunnel identifier corresponding VXLAN package containing the required VXLAN identifier, the control SDN It is sent to the said apparatus comprising VTEP to the already established MPLS TE tunnel forwarding identifier assigned forced stream forwarding.
6.根据权利要求5所述的方法,其特征在于,所述SDN控制器为所述建立的MPLS TE隧道分配强制转发标识之后,所述方法进一步包括:记录带宽保证表项,所述带宽保证表项包括:VXLAN标识、所述源设备连接的VTEP设备的地址、所述目的设备连接的VTEP设备的地址和强制转发标识; 所述SDN控制器确定所述源设备和目的设备之间是否己建立MPLS TE隧道,包括: 确定所述源设备和目的设备连接的VTEP设备的地址是否能匹配到对应的带宽保证表项,如果是,确定所述源设备和目的设备之间已建立MPLS TE隧道;否则,确定所述源设备和目的设备之间未建立MPLS TE隧道; 所述确定已建立的MPLS TE隧道对应的VXLAN标识中是否包括所述需要封装的VXLAN标识,包括: 所述SDN控制器确定所述匹配到的带宽保证表项中的VXLAN标识中是否包括所述需要封装的VXLAN标识;若所述匹配到的带宽保证 6. The method according to claim 5, wherein said controller is a SDN after the establishment of MPLS TE tunnels dispensing forced forwarding identifier, the method further comprising: a recording bandwidth guarantee entry, the bandwidth guaranteed entry includes: address VXLAN identifier, the address of the source device VTEP device connected to the destination device connected to the device and forced VTEP forwarding identifier; SDN said controller determines whether hexyl between the source and destination devices MPLS TE tunnel establishment, comprising: determining whether the source address of VTEP device and destination devices can be connected to the corresponding bandwidth guarantee matching entries, MPLS TE tunnel has been established between if so, to determine the source and destination devices ; otherwise, determining that the source is not established MPLS TE tunnels between devices and destination devices; VXLAN determining the identity established MPLS TE tunnels VXLAN corresponding identification is included in said desired package, comprising: a controller SDN to determine the matching entry in the bandwidth guarantee VXLAN VXLAN identifier comprises identifying whether the package required; if the matched bandwidth guarantees 项中的VXLAN标识中包括所述需要封装的VXLAN标识,则确定已建立的MPLS TE隧道对应的VXLAN标识中包括所述需要封装的VXLAN标识;若所述匹配到的带宽保证表项中的VXLAN标识中不包括所述需要封装的VXLAN标识,则确定已建立的MPLS TE隧道对应的VXLAN标识中不包括所述需要封装的VXLAN标识。 VXLAN items comprising the identifier need VXLAN package identification, it is determined that the established MPLS TE tunnels corresponding VXLAN identifier comprises identifying the need VXLAN package; if the guaranteed bandwidth matched table entry VXLAN identifier need not include the identification VXLAN package, it is determined that the established MPLS TE tunnel identifier corresponding VXLAN VXLAN not include identifying the required package.
7. —种软件定义网络SDN中数据流转发装置,其特征在于,该装置包括:接收单元、确定单元和处理单元; 所述接收单元,用于接收虚拟可扩展局域网隧道端点VTEP设备发送的针对数据流下发流转发表的请求; 所述确定单元,用于当所述接收单元接收到VTEP设备发送的针对数据流下发流转发表的请求时,若确定存储的虚拟局域网VXLAN标识与带宽要求的对应表中存在该数据流需要封装的VXLAN标识对应的带宽要求,则确定在底层underlay网络中转发该数据流的源设备和目的设备;进一步确定所述源设备和目的设备之间是否己建立多协议标签交换流量工程MPLS TE隧道; 所述处理单元,用于若所述确定单元确定所述源设备和目的设备之间未建立MPLS TE 隧道,则向所述源设备和目的设备下发建立MPLS TE隧道的配置,以使所述源设备和目的设备之间建立满足所述带宽要求的MP 7. - SDN species in software-defined network data forwarding means, characterized in that, the apparatus comprising: a receiving unit, determination unit, and a processing unit; the receiving unit, for receiving a scalable virtual local area network device sends a tunnel endpoint for VTEP send stream data transfer request issued; the determining means, when said receiving unit receives the transmission device for VTEP send data stream transfer request is issued, if it is determined VXLAN storing virtual local area network identifier table corresponding to the bandwidth requirements VXLAN exists corresponding to the identifier of the data stream bandwidth requirements needed package, it is determined underlay network transfer source and destination devices in the bottom of the data stream; hexyl further determines whether to establish multi-protocol label between the source and destination devices traffic Engineering MPLS TE tunnels exchange; the processing unit is configured to, if the determining unit determines not established MPLS TE tunnels between the source device and destination device, the source device to the destination device and send tunnel establishment of MPLS TE configuration, so that meet established between the source and destination devices of the bandwidth requirements MP LS TE隧道;并为所述建立的MPLS TE隧道分配强制转发标识;向所述VTEP设备下发流转发表,所述流转发表包括所述强制转发标识,使所述VTEP设备根据所述流转发表向所述源设备转发数据流时携带所述强制转发标识;向所述源设备与所述VTEP设备相连的接口上下发转发策略,所述转发策略用于指示在通过所述接口接收到携带所述强制转发标识的数据流时,通过所述MPLS TE隧道发送所述数据流。 LS TE tunnel; and assigned to the established MPLS TE tunnels forced forwarding identifier; issued to leave the circulation VTEP the apparatus, the stream forwarding comprises forwarding the forced identification, the apparatus according to the flow VTEP to leave the source device forwards data streams carrying the forced forwarding identifier; vertical interfaces connected to the source device and the device made VTEP forwarding policy, the policy for indicating forwarding received through the interface to carry the forced forwarding identification data stream, the data stream transmitted by the MPLS TE tunnels.
8. 根据权利要求7所述的装置,其特征在于, 所述确定单元,具体用于确定在underlay网络中转发该数据流的源设备和目的设备时,根据所述数据流的源地址和目的地址确定转发所述数据流的VXLAN隧道的源地址和目的地址;确定将所述源地址对应的VTEP设备接入underlay网络的设备作为所述源设备;确定将所述目的地址对应的VTEP设备接入underlay网络的设备作为所述目的设备; 所述接收单元,进一步用于接收路径计算请求; 所述处理单元,具体用于向所述源设备和目的设备下发建立MPLS TE隧道的配置,以使所述源设备和目的设备之间建立满足所述带宽要求的MPLS TE隧道时,向所述源设备下发将所述源设备的MPLS标签交换路径LSR标识ID作为双向MPLS TE隧道的源地址的配置,并向所述目的设备下发将所述目的设备的MPLS LSR ID作为所述双向MPLS TE隧道的目的地址的配置;当 8. The apparatus according to claim 7, wherein the determining unit is configured to determine when the transfer source and destination devices in the data stream underlay network, the source address of the data streams and to the purpose of determining the transfer source address and destination address of the tunnel VXLAN data stream; determining the source address corresponding to the device VTEP underlay network device as the access source device; determining an address corresponding to the destination device connected VTEP the underlay network device as the destination device; the receiving unit is further configured to receive a path computation request; the processing unit is configured to send the MPLS TE tunnel establishment to the next source and destination devices to when satisfied that the establishing between the source and destination devices MPLS TE tunnels to the bandwidth required to send the MPLS label switched path LSR ID of the source device identifies a bidirectional MPLS TE tunnel as a source address in said source device configuration, sent to the destination device at the destination MPLS LSR ID as the destination address of a bidirectional MPLS TE tunnel configuration; when 述接收单元接收到所述源设备和目的设备中作为主动设备发送的路径计算请求时,为所述双向MPLS TE隧道计算满足所述带宽要求的路径,并将计算结果返回给所述主动设备,以使所述源设备和目的设备完成所述双向MPLS TE隧道的建立。 When said receiving unit receives a path to the source device and the destination device as an active device transmitting the calculation request, to meet the bandwidth requirements of the bidirectional path MPLS TE tunnels calculated and the calculation result is returned to the active device, so that the source and destination devices to complete the establishment of the bi-directional MPLS TE tunnels.
9. 根据权利要求8所述的装置,其特征在于, 所述处理单元,进一步用于向所述目的设备上的与所述VXLAN隧道的目的地址对应的VTEP设备相连的接口上下发所述转发策略。 9. The apparatus according to claim 8, wherein the processing unit is further connected to an interface corresponding to the vertical made the destination address of the tunnel VXLAN apparatus on the destination of the forwarding device VTEP strategy.
10.根据权利要求7-9任意一项所述的装置,其特征在于, 所述确定单元,进一步用于若确定所述源设备和目的设备之间己建立MPLS TE隧道,确定己建立的MPLS TE隧道对应的VXLAN标识中是否包括所述需要封装的VXLAN标识; 所述处理单元,进一步用于当所述确定单元确定所述己建立的MPLS TE隧道对应的VXLAN标识中不包含所述需要封装的VXLAN标识时,所述SDN控制器重新计算该MPLS TE隧道的路径,所述重新计算的该MPLS TE隧道的路径的带宽不小于所述已建立的MPLS TE隧道转发的数据流的带宽要求与所述需要封装的VXLAN标识对应的带宽要求的和;并将计算结果发送给所述已建立的MPLS TE隧道对应的源设备和目的设备,使所述已建立的MPLS TE隧道对应的源设备和目的设备重新完成该MPLS TE隧道的建立;向所述VTEP设备下发包括为所述己建立的MPLS TE隧道分配的强制转发标识的流转发 10. The apparatus of any one of claims 7-9, wherein said determining means is further for determining when MPLS has been established between the source and destination devices establish MPLS TE tunnel, determines VXLAN corresponding TE tunnel identifier is included in the package identification required VXLAN; the processing unit is further configured to, when the determining unit determines that the already established MPLS TE tunnels corresponding VXLAN identifier does not include the need to encapsulate when VXLAN identifier, the controller recalculates the path to the SDN MPLS TE tunnel, the bandwidth path MPLS TE tunnels the recalculation is not smaller than the bandwidth requirements of the established MPLS TE tunnel to forward the data stream and the bandwidth requirements needed package corresponding to the identifier and VXLAN; and send the calculation result to the established MPLS TE tunnel corresponding to the source and destination devices, so that the MPLS TE tunnel corresponding to the source device and the established re-establishing the complete destination MPLS TE tunnel; VTEP the apparatus to send the stream forwarding comprises forwarding identifier for said forcibly established MPLS TE tunnel already allocated .
11.根据权利要求10所述的装置,其特征在于, 所述处理单元,进一步用于当所述确定单元确定所述已建立的MPLS TE隧道对应的VXLAN标识中包含所述需要封装的VXLAN标识时,向所述VTEP设备下发包括为所述已建立的MPLS TE隧道分配的强制转发标识的流转发表。 11. The apparatus according to claim 10, wherein the processing unit is further configured to, when the determining unit determines the identification VXLAN the established MPLS TE tunnel identifier corresponding VXLAN package containing the required when, under the VTEP device to send a stream forwarding include mandatory forwarding identifiers allocated for the MPLS TE tunnel has been established.
12.根据权利要求11所述的装置,其特征在于, 所述处理单元,进一步用于为所述建立的MPLS TE隧道分配强制转发标识之后,记录带宽保证表项,所述带宽保证表项包括:VXLAN标识、所述源设备连接的VTEP设备的地址、所述目的设备连接的VTEP设备的地址和强制转发标识; 所述确定单元,具体用于确定所述源设备和目的设备之间是否已建立MPLS TE隧道时, 确定所述源设备和目的设备连接的VTEP设备的地址是否能匹配到对应的带宽保证表项,如果是,确定所述源设备和目的设备之间已建立MPLS TE隧道;否则,确定所述源设备和目的设备之间未建立MPLS TE隧道;确定已建立的MPLS TE隧道对应的VXLAN标识中是否包括所述需要封装的VXLAN标识时,确定所述匹配到的带宽保证表项中的VXLAN标识中是否包括所述需要封装的VXLAN标识;若所述匹配到的带宽保证表项中的VXLAN标识中包括 12. After the apparatus according to claim 11, wherein the processing unit is further configured to force the dispensing forwarding tunnel identifier of the established MPLS TE, bandwidth guarantee record entry, the entry comprising bandwidth guaranteed : VXLAN identification address, the address of the source device VTEP device connected to the destination device connected to the device and forced VTEP forwarding identifier; the determining unit is configured to determine whether between the source and destination devices establishing MPLS TE tunnel, determines whether the address of the source device VTEP devices and destination devices can be connected to the corresponding bandwidth guarantee matching entries, MPLS TE tunnel has been established between if so, to determine the source and destination devices; otherwise, it is determined MPLS TE tunnel is not established between the source and destination devices; it is determined that the established MPLS TE tunnel identifier corresponding VXLAN VXLAN comprises identifying whether the package is required, to determine the guaranteed bandwidth matching table VXLAN identification items is included in the package identification required VXLAN; if the guaranteed bandwidth matched table entry identifier comprises VXLAN 述需要封装的VXLAN标识,则确定己建立的MPLS TE隧道对应的VXLAN标识中包括所述需要封装的VXLAN标识;若所述匹配到的带宽保证表项中的VXLAN标识中不包括所述需要封装的VXLAN 标识,则确定已建立的MPLS TE隧道对应的VXLAN标识中不包括所述需要封装的VXLAN标识。 VXLAN said package identification required, it is determined that the already established MPLS TE tunnel identifier corresponding VXLAN comprising the package identification required VXLAN; if the guaranteed bandwidth matched table entry identifier VXLAN need not include the package VXLAN the identification, it is determined that the established MPLS TE tunnels corresponding VXLAN identifier does not include the need to identity VXLAN package.
CN201410687065.8A 2014-11-25 2014-11-25 Data forwarding method and apparatus for software-defined network CN104363170B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410687065.8A CN104363170B (en) 2014-11-25 2014-11-25 Data forwarding method and apparatus for software-defined network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410687065.8A CN104363170B (en) 2014-11-25 2014-11-25 Data forwarding method and apparatus for software-defined network

Publications (2)

Publication Number Publication Date
CN104363170A CN104363170A (en) 2015-02-18
CN104363170B true CN104363170B (en) 2017-08-11

Family

ID=52530397

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410687065.8A CN104363170B (en) 2014-11-25 2014-11-25 Data forwarding method and apparatus for software-defined network

Country Status (1)

Country Link
CN (1) CN104363170B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106161283A (en) * 2015-03-31 2016-11-23 杭州华三通信技术有限公司 Message transmission method and device
US9961014B2 (en) * 2015-11-13 2018-05-01 Nanning Fugui Precision Industrial Co., Ltd. Network communication method based on software-defined networking and server using the method
CN105357080B (en) * 2015-12-01 2019-01-04 电子科技大学 A kind of traffic engineering method applied to software defined network
CN105591925B (en) * 2015-12-10 2019-03-12 新华三技术有限公司 Applied to the message forwarding method and equipment in SDN
CN106789527A (en) * 2016-12-09 2017-05-31 中国联合网络通信集团有限公司 Private wire network access method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102857416A (en) * 2012-09-18 2013-01-02 中兴通讯股份有限公司 Method for implementing virtual network and virtual network
US8532116B2 (en) * 2009-07-21 2013-09-10 Cisco Technology, Inc. Extended subnets
CN104038421A (en) * 2014-06-25 2014-09-10 杭州华三通信技术有限公司 Method and device for forwarding messages in VPN (virtual private network)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7764688B2 (en) * 2004-01-20 2010-07-27 Nortel Networks Limited Ethernet differentiated services

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8532116B2 (en) * 2009-07-21 2013-09-10 Cisco Technology, Inc. Extended subnets
CN102857416A (en) * 2012-09-18 2013-01-02 中兴通讯股份有限公司 Method for implementing virtual network and virtual network
CN104038421A (en) * 2014-06-25 2014-09-10 杭州华三通信技术有限公司 Method and device for forwarding messages in VPN (virtual private network)

Also Published As

Publication number Publication date
CN104363170A (en) 2015-02-18

Similar Documents

Publication Publication Date Title
Mudigonda et al. NetLord: a scalable multi-tenant network architecture for virtualized datacenters
US9847915B2 (en) Network function virtualization for a network device
CN103369027B (en) Hybrid cloud environments with location-aware virtual service
US9397946B1 (en) Forwarding to clusters of service nodes
JP6068685B2 (en) How to realize the communication between the virtual machines and equipment
JP6151394B2 (en) The provision of virtual security system architecture to the virtual cloud infrastructure
CN100426733C (en) System for realizing resource distribution in network communication and its method
CN101815035B (en) Load balancing network traffic on a label switched path using resource reservation protocol RSVP with traffic engineering TE
CN100490420C (en) Packet transfer apparatus
CN104170331B (en) The l3 gateway for vxlan
US20100287262A1 (en) Method and system for guaranteed end-to-end data flows in a local networking domain
CN103795805B (en) Distributed server load balancing method of sdn
CN103748558B (en) System and method for overlay virtual networks on a physical network
US7215640B2 (en) Method and apparatus for path configuration in networks
CN105191214B (en) Multi-tenant network bandwidth allocation cloud computing network
EP2439637A1 (en) Method and system of providing access to a virtual machine distributed in a hybrid cloud network
CN103109505B (en) An application - Method interleaving level transmission network optimization system and
US8971339B2 (en) Contents base switching system and contents base switching method
EP3002907B1 (en) Service node configuration method, service node pool registrar and system
KR101714279B1 (en) System and method providing policy based data center network automation
EP2135101B1 (en) Pseudowire load balancing
WO2016015559A1 (en) Bearer resource allocation method, apparatus and system for cloudified data center network
US9461923B2 (en) Performance-based routing in software-defined network (SDN)
US9692696B2 (en) Managing data flows in overlay networks
JP2002141932A (en) Method for assigning network shared band and network system

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
CB02
GR01