Data plane programming in P4 for IoT applications
The P4 language has been used for programming the data plane in network equipment, such as switches and routers. Thus, makes it possible for programmers to express how packets should be processed within the network element, be physical or virtual. The language emerged with the objective of overcoming limitations and obstacles in traditional software-defined networks, such as the need for greater flexibility and the possibility of customization. This work presents a study applied to IoT in wireless networks. Initially, we show the implementation possibilities in the use of IoT applications and a comparison between scenarios with and without P4. The scenarios presented were chosen with the objective of deepening knowledge in the use of P4 focused on IoT. For this, the Mininet-Wifi networks simulator was chosen, an extension of the Mininet networks simulator. Mininet-Wifi was implemented with complementary functions to Mininet concerning wireless networks, since these functionalities did not exist in the first one. And also, due to the fact that P4lang has developed an interface of the Bmv2 to work with Mininet, consequently with Mininet-WiFi. Preliminary results show that it is possible to use P4 in IoT scenarios.