| Software Definition Network (SDN) is a new type of network architecture. Its main idea is to decouple the control plane and forwarding plane, centralize software management, and make the network programmable. Although the main network architecture in SDN is centralized network control, SDN still has the need to use distributed networks for route calculation. Today’s SDN is in full swing in the development, it still needs to define a new distributed routing protocol.However, in the definition of these distributed routing protocols, we will find this protocol from the design to the final real application is actually a very long process. This is because each protocol has a relatively complete system. It obviously can not meet the current needs of the rapid development of SDN.It has been found that these distributed routing protocols share the common place, that is, the transmission of routing protocol messages, and the transmission mechanism is the part of each protocol that needs to be designed and implemented. The transmission of protocol messages can therefore be designed as a generic module. This way the agreement has been divided into the common transmission module and the application protocol module. Application protocol module only need to focus on their own protocol calculations without paying attention to data transmission,and multiple application protocol modules can share the common transfer module. When designing a new protocol, we can directly use this module for data transfer. As the development of new protocols does not need to carry on the design and development of transmission, it will greatly reduce the development cycle.The author first investigates the application of distributed routing in SDN. The transmission mechanism of the current mainstream routing protocols such as OSPF and BGP was analyzed, and the general transport module of the routing protocol was proposed in combination with the specific environment of SDN. This module uses the NETCONF to establish the connection, and the YANG language to carry on the modeling, the universal XML form data was transported. This design not only guarantees the reliability of data transmission, but also ensures the versatility of data transmission. In this paper, the function of this module was tested. The test results show that the general transport module can transmit different messages of OSPF and BGP protocol, which proves the feasibility of this module. In addition, the performance of this module was also tested in this paper. The test results show that the rate of data transmission using this module is similar to that of traditional protocol,which indicates that the performance of this module can meet the practical application.At the end of the paper, the author makes a summary of the whole paper, and explains the shortcomings of the current research and the work in next step. |