摘要 |
The present invention provides a routing method, apparatus and device in a software defined network. The method includes: a controller obtains the source domain network and the destination domain network of a first data stream sent by a source switch, and the controller determines the optimum inter-domain routing path for routing the first data stream from the source domain network to the destination domain network; the controller sends, according to the optimum inter-domain routing path, a first flow table entry to the source switch and edge switches on the optimum inter-domain routing path, so that the source switch can rout, according to the first flow table entry and preset static flow table entries, the first data stream to a first edge switch in the source domain network, and the first edge switch can route, according to the flow table entry and the static flow table entries, the first data stream to the destination domain network. With the method provided by embodiments of the present invention, the controller only needs to send the first flow table entry to the source switch and the edge switches on the optimum inter-domain routing path, so that the number of interactions between the controller and the switches is reduced, and the routing performance of the SDN network is improved. |