Skip to main content
QUICK REVIEW

[Paper Review] Network-wide Configuration Synthesis

Ahmed El-Hassany, Petar Tsankov|arXiv (Cornell University)|Nov 8, 2016
Software-Defined Networks and 5GComputer Science16 references4 citations
TL;DR

This paper presents SyNET, the first system for network-wide configuration synthesis that automatically generates correct router configurations from high-level forwarding requirements. By modeling routing protocols in stratified Datalog and using a novel SMT-based synthesis algorithm, SyNET efficiently computes configurations for mixed OSPF, BGP, and static routes in realistic networks of over 50 routers.

ABSTRACT

Computer networks are hard to manage. Given a set of high-level requirements (e.g., reachability, security), operators have to manually figure out the individual configuration of potentially hundreds of devices running complex distributed protocols so that they, collectively, compute a compatible forwarding state. Not surprisingly, operators often make mistakes which lead to downtimes. To address this problem, we present a novel synthesis approach that automatically computes correct network configurations that comply with the operator's requirements. We capture the behavior of existing routers along with the distributed protocols they run in stratified Datalog. Our key insight is to reduce the problem of finding correct input configurations to the task of synthesizing inputs for a stratified Datalog program. To solve this synthesis task, we introduce a new algorithm that synthesizes inputs for stratified Datalog programs. This algorithm is applicable beyond the domain of networks. We leverage our synthesis algorithm to construct the first network-wide configuration synthesis system, called SyNET, that support multiple interacting routing protocols (OSPF and BGP) and static routes. We show that our system is practical and can infer correct input configurations, in a reasonable amount time, for networks of realistic size (> 50 routers) that forward packets for multiple traffic classes.

Motivation & Objective

  • To address the critical challenge of manual network configuration errors that lead to widespread outages.
  • To automate the synthesis of correct, end-to-end network configurations from high-level requirements.
  • To support complex, real-world networks with multiple interacting protocols like OSPF, BGP, and static routes.
  • To provide a general-purpose framework that decouples protocol semantics from configuration synthesis.
  • To scale synthesis to networks with over 50 routers while ensuring correctness and compatibility.

Proposed method

  • Modeling network behavior, including distributed protocols and their interactions, using stratified Datalog to represent the stable forwarding state as a fixed point.
  • Reducing the network-wide configuration synthesis problem to input synthesis for a stratified Datalog program.
  • Decomposing the Datalog program into strata and synthesizing inputs iteratively using off-the-shelf SMT solvers.
  • Leveraging SMT solving to explore the configuration space and find inputs that yield a fixed point satisfying user-defined requirements.
  • Supporting recursive rules and stratified negation to express complex protocol behaviors such as BGP path selection and OSPF shortest-path computation.
  • Integrating the synthesis pipeline into SyNET, a complete system that generates end-to-end configurations for heterogeneous routing environments.

Experimental results

Research questions

  • RQ1Can a general-purpose synthesis approach automatically generate correct network-wide configurations from high-level forwarding requirements?
  • RQ2How can the interaction between multiple routing protocols (e.g., OSPF and BGP) be formally captured and synthesized in a unified framework?
  • RQ3Is it feasible to scale configuration synthesis to realistic network sizes (e.g., >50 routers) with mixed protocol configurations?
  • RQ4Can stratified Datalog be effectively used to model complex, non-monotonic routing behaviors with dependencies?
  • RQ5How does the proposed SMT-based synthesis algorithm outperform existing symbolic execution or counterexample-guided approaches in this context?

Key findings

  • SyNET successfully synthesizes correct configurations for networks with over 50 routers, demonstrating practical scalability.
  • The system supports mixed configurations of OSPF, BGP, and static routes, enabling load balancing and policy-based forwarding.
  • The synthesis algorithm handles recursive Datalog rules and stratified negation, essential for modeling real routing protocols.
  • The approach reduces the configuration burden by eliminating manual tuning and minimizing human error.
  • The system outperforms prior tools like Propane and Genesis by supporting multiple protocols simultaneously and generating correct configurations automatically.
  • The use of SMT solvers enables efficient exploration of the massive configuration space while ensuring correctness.

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.