Test coverage metrics for the network
Xieyang Xu, Ryan Beckett, Karthick Jayaraman, Ratul Mahajan, David Walker
Abstract
Testing and verification have emerged as key tools in the battle to improve the reliability of networks and the services they provide. However, the success of even the best technology of this sort is limited by how effectively it is applied, and in today's enormously complex industrial networks, it is surprisingly easy to overlook particular interfaces, routes, or flows when creating a test suite. Moreover, network engineers, unlike their software counterparts, have no help to battle this problemÐthere are no metrics or systems to compute the quality of their test suites or the extent to which their networks have been verified.
To address this gap, we develop a general framework to define and compute network coverage for stateless network data planes. It computes coverage for a range of network components (e.g., interfaces, devices, paths) and supports many types of tests (e.g., concrete versus symbolic; local versus end-to-end; tests that check network state versus those that analyze behavior). Our framework is based on the observation that any network dataplane component can be decomposed into forwarding rules and all types of tests ultimately exercise these rules using one or more packets.
We build a system called Yardstick based on this framework and deploy it in Microsoft Azure. Within the first month of its deployment inside one of the production networks, it uncovered several testing gaps and helped improve testing by covering 89% more forwarding rules and 17% more network interfaces.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
2 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Meissa: scalable network testing for programmable data planes cites Accuracy, Scalability, Coverage: A Practical Configuration Verifier on a Global WAN
- Test Coverage for Network Configurations cites Accuracy, Scalability, Coverage: A Practical Configuration Verifier on a Global WAN
Cited by top-tier papers2
Builds on1
Related papers
- RD-Probe: Scalable Monitoring With Sufficient Coverage In Complex Datacenter NetworksRui Ding, Xunpeng Liu, Shibo Yang, Qun Huang et al.SIGCOMM 2024 · 20 citations
- Computing Precise Control Interface SpecificationsEric Hayden Campbell, Hossein Hojjat, Nate FosterOOPSLA 2024 · 1 citation
- Netcastle: Network Infrastructure Testing At ScaleRob Sherwood, Jinghao Shi, Ying Zhang, Neil Spring et al.NSDI 2024 · 2 citations
- Failing with Purpose: Dangling Coverage-Guided Negative Test Generation from a Mechanized P4 Type SystemJaehyun Lee, Seokhun Jeong, Sukyoung RyuFSE 2026
- P4Inv: Inferring Packet Invariants for Verification of Stateful P4 ProgramsDelong Zhang, Chong Ye, Fei HeINFOCOM 2024 · 3 citations
