NS4: A P4-driven Network Simulator

Chengze Fan,Jun Bi,Yu Zhou,Cheng Zhang,Haisu Yu
DOI: https://doi.org/10.1145/3123878.3132002
2017-01-01
Abstract:We present NS4, a P4-driven network simulator, which is, to the best of our knowledge, the first research effort in applying P4 to network simulation. Key features of NS4 include (1) elimination of laborious and redundant work for developing internal models of the simulator; (2) direct migration from simulation code to real-world P4 devices; (3) simulation of P4-enabled devices and network systems; (4) seamless compatibility with ns-3; (5) better scalability over other P4 behavioral model validation tools. We proposed and prototyped NS4 by integrating a P4 behavioral model in ns-3, and evaluated its effectiveness by a user case study. Source codes and examples of NS4 are publicly available at https://ns-4.github.io/
What problem does this paper attempt to address?