Software Defined Network (SDN) enables users to dynamically configure the network according to their needs by programming the network,greately increasing the flexibility of the network by separating the control plane from the data plane.As one of SDN's representstive agreement,OpenFlow has evolved a number of versions,but the user's operation on data plane of network device is limited because of OpenFlow's specification constraints.P4,which is a high-level programming language and POF,an SDN technology both proposed to effectively solve the above problems.This paper expounds the differences between P4 and POF from three aspects:forwarding model,process control and instruction operation,also summarizes the advantages and disadvantages of the two.%软件定义网络(SDN)使用户可以根据需求对网络进行编程来动态配置网络,通过分离控制平面与数据平面,极大增加网络的灵活性.OpenFlow作为其中的一个代表性协议,已经进化了多个版本,但由于其协议规范的约束,用户对网络设备数据平面的操作受到限制.P4高级编程语言和POF技术的提出有效解决了上述问题.本文分别从转发模型、流程控制及指令操作三个方面阐述P4和POF的不同之处,并总结二者的优点与不足.
展开▼