[Paper Review] Modular Control Plane Verification via Temporal Invariants
Timepiece introduces a sound, scalable modular control plane verification system based on a temporal model of network execution, using time-annotated invariants to enable compositional reasoning over network components. It outperforms monolithic verification, verifying a 2,000-node fattree network in 2.37 minutes versus a 2-hour timeout, and enables fast, parallel verification of individual routers using SMT-based symbolic reasoning with temporal logic interfaces.
Monolithic control plane verification cannot scale to hyperscale network architectures with tens of thousands of nodes, heterogeneous network policies and thousands of network changes a day. Instead, modular verification offers improved scalability, reasoning over diverse behaviors, and robustness following policy updates. We introduce Timepiece, a new modular control plane verification system. While one class of verifiers, starting with Minesweeper, were based on analysis of stable paths, we show that such models, when deployed naively for modular verification, are unsound. To rectify the situation, we adopt a routing model based around a logical notion of time and develop a sound, expressive, and scalable verification engine. Our system requires that a user specifies interfaces between module components. We develop methods for defining these interfaces using predicates inspired by temporal logic, and show how to use those interfaces to verify a range of network-wide properties such as reachability or access control. Verifying a prefix-filtering policy using a non-modular verification engine times out on an 80-node fattree network after 2 hours. However, Timepiece verifies a 2,000-node fattree in 2.37 minutes on a 96-core virtual machine. Modular verification of individual routers is embarrassingly parallel and completes in seconds, which allows verification to scale beyond non-modular engines, while still allowing the full power of SMT-based symbolic reasoning.
Motivation & Objective
- To address the scalability limitations of monolithic control plane verification in hyperscale networks with tens of thousands of nodes and frequent policy updates.
- To develop a modular verification framework that supports compositional reasoning while ensuring soundness and expressiveness for diverse network properties.
- To overcome the unsoundness of naïve modular reasoning when applied to stable-path models like Minesweeper, by introducing a temporal foundation for routing behavior.
- To enable efficient, parallel verification of individual routers using SMT solvers through user-defined temporal invariants at component interfaces.
- To support verification of complex network-wide properties such as reachability and access control using expressive, yet decidable, temporal logic-based interfaces.
Proposed method
- The system models network execution as a sequence of states over time, treating time as an explicit variable $ t $ in the invariant language to ensure soundness and avoid circular dependencies in assumptions.
- Users define component interfaces using predicates inspired by temporal logic, specifying how each router behaves over time under various input conditions.
- The verification engine checks that each component’s behavior satisfies its interface and that interfaces collectively imply global network properties such as reachability or access control.
- Timepiece uses SMT solvers to symbolically reason over the state transitions of each router, enabling efficient, parallel verification of individual components.
- The approach abstracts transient routing states using temporal operators, reducing complexity while preserving correctness for network-wide properties.
- It enforces soundness through a proof rule grounded in time-ordered state transitions, avoiding the pitfalls of stable-path-only analysis in modular settings.
Experimental results
Research questions
- RQ1Can modular control plane verification be made sound when using stable-path models, such as those in Minesweeper, for component-wise reasoning?
- RQ2How can temporal reasoning over time be leveraged to enable scalable and sound modular verification of large-scale, dynamic networks?
- RQ3What kind of interface language is expressive enough to capture diverse network behaviors while remaining decidable and amenable to SMT-based verification?
- RQ4To what extent can modular verification scale to hyperscale networks with thousands of nodes and frequent updates, compared to monolithic approaches?
- RQ5Can the explicit use of time in interface invariants prevent circular dependency issues in compositional reasoning?
Key findings
- Timepiece verifies a 2,000-node fattree network in 2.37 minutes on a 96-core virtual machine, while a non-modular verification engine times out after 2 hours on an 80-node network.
- Modular verification of individual routers is embarrassingly parallel and completes in seconds, enabling scalable verification beyond monolithic engines.
- The system achieves soundness by modeling network execution over time, correcting the unsoundness of naïve modular reasoning over stable paths.
- Timepiece supports verification of complex properties such as reachability and access control through user-defined temporal invariants expressed in a restricted but expressive logic.
- The use of time $ t $ as an explicit variable in invariants enables well-founded reasoning and avoids circular dependency issues in assume-guarantee reasoning.
- Evaluations show that SMT-based symbolic reasoning with temporal abstractions is efficient and practical, handling large-scale networks effectively.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.