Font Size: a A A

P4-based Design And Implementation Of Packet Forwarding In Smart Collaborative Network

Posted on:2020-08-24Degree:MasterType:Thesis
Country:ChinaCandidate:R H LiuFull Text:PDF
GTID:2428330575495209Subject:Communication and Information System
Abstract/Summary:PDF Full Text Request
With the advancement of technology,the convenience brought by network interconnection has been reflected in every corner.However,with the diversification and complexity of users' demand,there are many problems in the function expansion of traditional network architectures.Therefore it is unable to meet the communication requirements of high throughput,pervasiveness,high efficiency and so on.Relying on the national 973 project "Fundamental Research of Smart Collaborative Network Theory",National Engineering Laboratory for the Next Generation Internet Technologies of Beijing Jiaotong University has proposed a Smart Collaborative Network architecture.It adapts resources dynamically,breaking the "triple binding" characteristics of the Internet,so it has the advantages of high scalability and efficient resource acquisition.At present,CoLoR routing protocol adopted by Smart Collaborative Network defines some protocol fields different from IP.The versions are updated frequently,and the header formats and processing logics are refined constantly.Therefore,it is necessary to explore a flexible implementation,which allows CoLoR to be tested and verified easily.In this paper,Programming Protocol-independent Packet Processors(P4)is used to implement packet forwarding mechanism in Smart Collaborative Network,because it can define the processing logics of forwarding devices quickly through the way of software programming.By building a P4-based prototype system,CoLoR can be easily deployed,tested,adjusted,and upgraded The main work of this paper is presented as follows:Firstly,the research background,current situation,significance,relevant theories and technologies are introduced.Secondly,a design scheme of P4-based packet forwarding mechanism in Smart Collaborative Network is proposed.The paper presents the overall design ideas of division of data and control plane,service choreography of Open Network Operating System(ONOS)controller and parsing mechanism.The design of packet forwarding mechanism and the functional division of corresponding equipment are expounded.Besides,the solution to addition and deletion of Path Identifier(PID)when CoLoR packets are transmitted between multiple autonomous domains are discussed.When ONOS controls Behavioral Model version 2(BMv2)through remote interface call,the first packet problem is analyzed and solved.What's more,the CoLoR protocol upgrade mechanism based on P4 is extended and improved.Thirdly,the implementation of P4-based packet forwarding mechanism in Smart Collaborative Network is described in detail.Combined with the design scheme,the implementation frameworks of the packet forwarding mechanism in data and control planes are described respectively.Some functional modules are explained in principle and realized.More specifically,in data plane,the packet processing for various types of BMv2 equipment is completed by realizing the modules of headers,parsers,control ingress,tables,and actions.The control plane realizes the service choreography and control of data plane through the cooperation of a series of modules.These modules are the CoLoR-forwarding module,device-discovery module,byteBuffer-calculate module,path-calculate module,flowRule-calculate module,protocol-upgrade module and packet-process module.Finally,the P4-based packet forwarding mechanism are tested in both function and performance.The test scheme and environment are introduced.The function of each forwarding mechanism is verified.The performance indexes such as the rate of applying flow entris in ONOS,protocol switching delay and BMv2 throughput are tested to verify the feasibility and scalability of the system.The work of the thesis is of great significance for improving the research efficiency of Smart Collaborative Network and accelerating the industry's acceptance,deployment and promotion of CoLoR.
Keywords/Search Tags:Smart Collaborative Network, CoLoR, Programming Protocol-independent Packet Processors, Open Network Operating System
PDF Full Text Request
Related items