P4 resource collection

10/30/2016 P4 resource collection:

After reading Yang Shuai's slides, I found that ONOS 1.6 already has experimental P4 support, and demo is available:
https://wiki.onosproject.org/display/ONOS/P4+Experimental+Support+ via+BMv2 ONOS
is a Java Controller, which is called through the Thrift remote interface of BMv2. The Controller itself also needs to be compiled and mapped to recognize the P4 table. Through mininet, you can create some good-looking demos. Note that this demo is not openflow, but thrift. ONOS also extends the thrift interface to deliver P4 through the controller.


http://p4.elte.hu/ This is a P4 to C compiler that now supports DPDK. https://github.com/P4ELTE/p4c


INT: Inband network telemetry, which is an OAM-like protocol used to collect some information on the passed switches. Each passed switch adds its own information to the hop-by-hop detection packet, and the destination sink sends back the destination result. The detected data type is represented by bitmap, which can collect information such as siwtch id, entry and exit ports, time consumption of each switch, and queue status along the way, so that you can know how the packets go and where there are performance bottlenecks. Note that INT is recommended to be processed on the data plane, not the control plane to reflect the real situation, so devices that support P4 are easy to expand, and there is a p4 reference code in the PDf connection:
http://p4.org/p4/inband-network -telemetry/
http://p4.org/wp-content/uploads/fixed/INT/INT-current-spec.pdf

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326947053&siteId=291194637