Skip to main content
QUICK REVIEW

[Paper Review] Plankton: Scalable network configuration verification through model checking

Santhosh Prabhu, Kuan-Yen Chou|arXiv (Cornell University)|Nov 5, 2019
Organometallic Complex Synthesis and CatalysisChemistry15 citations
TL;DR

Plankton is a scalable network configuration verification tool that combines equivalence partitioning of packet headers with explicit-state model checking to verify complex network policies. By leveraging optimizations like state hashing and partial order reduction, it achieves up to 10,000× speedup over state-of-the-art tools while supporting rich protocol features including BGP, OSPF, and static routing.

ABSTRACT

Network configuration verification enables operators to ensure that the network will behave as intended, prior to deployment of their configurations. Although techniques ranging from graph algorithms to SMT solvers have been proposed, scalable configuration verification with sufficient protocol support continues to be a challenge. In this paper, we show that by combining equivalence partitioning with explicit-state model checking, network configuration verification can be scaled significantly better than the state of the art, while still supporting a rich set of protocol features. We propose Plankton, which uses symbolic partitioning to manage large header spaces and efficient model checking to exhaustively explore protocol behavior. Thanks to a highly effective suite of optimizations including state hashing, partial order reduction, and policy-based pruning, Plankton successfully verifies policies in industrial-scale networks quickly and compactly, at times reaching a 10000$\ imes$ speedup compared to the state of the art.

Motivation & Objective

  • Address the scalability challenge in network configuration verification, especially for large networks with complex protocol interactions.
  • Overcome the limitations of existing tools that sacrifice correctness, expressiveness, or scalability in favor of performance.
  • Enable verification of configurations across multiple converged data plane states, including those arising from failures or non-deterministic control plane behavior.
  • Support a broad range of routing protocols—such as BGP, OSPF, and static routing—while maintaining soundness and precision.
  • Develop a verification framework that is both efficient and practical for industrial-scale networks, with sub-second verification times for networks with 300+ devices.

Proposed method

  • Apply equivalence partitioning to abstract the large header space into equivalence classes, reducing the number of distinct packet behaviors that need to be analyzed.
  • Use explicit-state model checking to exhaustively explore all possible control plane execution sequences, ensuring completeness in verification.
  • Integrate domain-specific optimizations: state hashing to reduce memory usage, partial order reduction to minimize redundant state exploration, and policy-based pruning to focus on relevant execution paths.
  • Leverage Bonsai for symmetry reduction in control plane state exploration, improving scalability through recursive decomposition of protocol execution.
  • Model external influences (e.g., link failures, route advertisements) via stubs to maintain full visibility and control over the verification environment.
  • Ensure soundness by avoiding approximations like bitstate hashing in production runs, even though it is evaluated for memory reduction.

Experimental results

Research questions

  • RQ1Can a configuration verification system achieve both broad protocol support and high scalability without sacrificing correctness?
  • RQ2How effective is combining equivalence partitioning with explicit-state model checking in reducing the state space for network configuration verification?
  • RQ3To what extent can domain-specific optimizations like partial order reduction and state hashing improve performance in large-scale network verification?
  • RQ4How does the approach scale across diverse network topologies, including data center and wide-area networks with complex routing policies?
  • RQ5Can the tool verify policies involving multiple converged data plane states due to failures or non-determinism, while maintaining soundness and precision?

Key findings

  • Plankton verifies industrial-scale networks with over 300 devices in less than one second, demonstrating practical scalability.
  • In worst-case scenarios, such as a 320-node BGP data center with waypointing, Plankton reduces memory usage from 428 MB to 215 MB using bitstate hashing, though full correctness is preserved without it.
  • Plankton achieves up to a 10,000× speedup compared to the state of the art, particularly in complex verification tasks involving BGP and failure scenarios.
  • The tool successfully verifies policies in networks with non-deterministic control plane behavior, including multiple converged states due to topology changes or failures.
  • Despite some limitations, such as false positives in rare cross-PEC dependency cases, Plankton maintains high coverage and practical soundness, with over 99.9% path coverage in SPIN-based evaluations.
  • The integration with Bonsai enables symmetry-aware verification, further enhancing scalability for complex protocol interactions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.