与协议无关的分组处理器编程
Programming Protocol-Independent Packet Processors
摘要:
P4是一种用于对独立于协议的分组处理器进行编程的高级语言。P4与OpenFlow等SDN控制协议协同工作。在其当前形式中,OpenFlow显式地指定其操作的协议头。在几年的时间里,这个集合从12个字段增加到了41个字段,增加了规范的复杂性,但仍然没有提供添加新报头的灵活性。在本文中,我们提出P4作为OpenFlow未来发展的一个稻草人建议。我们有三个目标:(1)现场可重构性:一旦部署,程序员应该能够改变交换机处理数据包的方式。(2)协议独立性:交换机不应绑定到任何特定的网络协议。(3)目标独立性:程序员应该能够独立于底层硬件的细节来描述数据包处理功能。作为示例,我们将介绍如何使用P4配置交换机以添加新的分层标签。
英文摘要:
P4 is a high-level language for programming protocol-independent packet processors. P4 works in conjunction with SDN control protocols like OpenFlow. In its current form, OpenFlow explicitly specifies protocol headers on which it operates. This set has grown from 12 to 41 fields in a few years, increasing the complexity of the specification while still not providing the flexibility to add new headers. In this paper we propose P4 as a strawman proposal for how OpenFlow should evolve in the future. We have three goals: (1) Reconfigurability in the field: Programmers should be able to change the way switches process packets once they are deployed. (2) Protocol independence: Switches should not be tied to any specific network protocols. (3) Target independence: Programmers should be able to describe packet-processing functionality independently of the specifics of the underlying hardware. As an example, we describe how to use P4 to configure a switch to add a new hierarchical label.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。