Automatic test packet generation

Hongyi Zeng, Peyman Kazemian, George Varghese, Nick McKeown

2012 · 221 citations · 27 references

Concepts

TL;DR

Networks are growing larger and more complex, yet administrators still rely on rudimentary tools such as ping and traceroute, and prior static checking cannot detect liveness or performance faults. The authors propose an automated, systematic approach called Automatic Test Packet Generation (ATPG) for testing and debugging networks. ATPG reads router configurations to build a device‑independent model, then generates a minimal set of test packets to exercise every link or rule, sends them periodically, and triggers a fault‑localization mechanism when failures are detected. ATPG detects functional faults such as incorrect firewall rules and performance issues like congested queues, outperforming earlier static‑checking and fault‑localization approaches.

Abstract

Networks are getting larger and more complex; yet administrators rely on rudimentary tools such as ping and traceroute to debug problems. We propose an automated and systematic approach for testing and debugging networks called "Automatic Test Packet Generation" (ATPG). ATPG reads router configurations and generates a device-independent model. The model is used to generate a minimum set of test packets to (minimally) exercise every link in the network or (maximally) exercise every rule in the network. Test packets are sent periodically, and detected failures trigger a separate mechanism to localize the fault. ATPG can detect both functional (e.g., incorrect firewall rule) and performance problems (e.g., congested queue). ATPG complements but goes beyond earlier work in static checking (which cannot detect liveness or performance faults) or fault localization (which only localize faults given liveness results).

References

27