arXiv:2610.13161cs.NIOct 2026

Manuscript Offprint

arXiv:2610.13161

Configuration Migration Planning through Decoupled Modeling and Searching

Dan Wang, Peng Zhang, Ratul Mahajan

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Executing large network configuration changes, called migrations, is slow and error-prone today; operators must manually devise a safe order for updating devices that does not disrupt traffic and meets operational intents (e.g., low total time). We develop SMOOTHIE, a versatile migration planning framework that, unlike existing tools, can support diverse operational intents. Inspired by automated planning, it achieves versatility by decoupling the encoding of network safety and intents from the search for a viable plan. SMOOTHIE uses symbolic simulation for general and scalable safety encoding, after which it can use a range of planners, including existing off-the-shelf planners and a new one we developed for optimized parallel plans. We demonstrate SMOOTHIE's versatility and benchmark its performance using diverse migration scenarios on many topologies. It finds both sequential plans and parallel plans, and the parallel ones compress up to thousands of configuration updates into no more than 3 steps. Its versatility does not come at the expense of performance: finishing most planning tasks in less than 1 hour.

1 Introduction

Modern networks are constantly evolving with large-scale configuration change [30,46,56,58], e.g., moving from iBGP full mesh to route reflection, merging two networks, and changing the routing protocol from OSPF to BGP. Planning such large-scale changes, termed migrations, is highly demanding [30].

First, safety is the top concern: since a migrations can be highly risky, e.g., affecting hundreds and even thousands of devices, the order of updates must ensure that the network is always in a safe state. For example, before turning down a link, operators need to ensure the traffic has been shifted to another path, in order to not disrupt the live traffic. For another example, changing BGP configurations requires extreme carefulness to not introduce transient or persistent property violations, e.g., forwarding loops, blackholes (see §2).

Figure

Figure 1: A decoupled framework for automated configuration migration planning.

Beyond safety, operators may have diverse intent when planning a migration. For most of cases, they may just want to find a safe sequence as soon as possible, and therefore a sequential plan is enough. Besides this, operators may require or prefer one update should take place before or after another. In such cases, a sequential plan should not only be safe, but also satisfy some hard constraints and as many soft constraints as possible; we term such a plan as an optimal plan. Finally, operators of large-scale networks may desire a faster migration process, and therefore a parallel plan, where a set of updates can be executed in parallel [36], is more preferred.

Despite the dual requirements on safety and diversity, today's configuration migration planning (CMP) is still mostly a manual effort. This is not only time-consuming but also error-prone. For one example, a content service provider ( §2§2) reported that manual planning typically took a month or even longer. Even after careful planning, a plan may still contain errors, which after deployment, take down a production network. For another, 56% of the disruptive customer-impacting incidents in Alibaba during 2016-2017 are due to configuration migration [31].

Recently, several tools have been proposed to automate the planning of configuration migration [9, 10, 43]. At a high level, these tools use specific search strategies and customized network simulators to find a feasible sequence of updates. For example, Snowcap [43] chooses one update each round, in-crementally simulates the update, and validate the safety of the resultant state, until all updates have been applied. Different from Snowcap which validates the safety on the fly, SafeMigration [10] and Cursor [9] use symbolic simulation to pre-identify all safe or unsafe intermediate states, and then either invoke SMT solvers or analyze the partial orders of updates to search for a plan. These planners target at finding sequential plans, but fall short for finding optimal plans and parallel plans. Also, they are faced with efficiency issues [10], do not scale to large number of states [43], or are incomplete [9].

In this paper, we seek a principled treatment of migration planning. Specifically, we draw inspiration from the mature research direction of automated planning (AI planning), a subfield of artificial intelligence on automated synthesis of action sequences (i.e., plans). In automated planning, a planning task [32, 45, 51]) is executed in two phases: (1) a domain-specific problem modeling phase which models the problem in a standardized language, e.g., Planning Domain Description Language (PDDL) [20], and (2) a domain-independent plan searching, which finds a plan satisfying the model. Such a decoupled workflow offers great flexibility, e.g., they can mix-n-match options that work best for their situation, add new preferences without needing to change the search strategy, or pick a different search strategy without needing to change the problem model.

Inspired by automated planning, we propose a framework for automated migration planning. As shown in Figure 1, the framework features the decoupling of problem modeling and plan searching. In the problem modeling phase, we identify the condition for an update to be safe, and encode the problem in the PDDL language [2]. This allows us to call different backend planners for different planning tasks.

Realizing this framework is challenging. Particularly, supporting diverse planning tasks means that we need to identify all safe intermediate states, to ensure the searching phase can find update plans that visit only safe states; find the one with the minimum cost (for optimal plan); or identify a set of updates whose order does not matter (for parallel plan). Clearly, using a concrete simulator such as Batfish [14], is not realistic: given n updates, we will have to simulate up to 2n2^{n} states 1^{1}. Making the simulation incremental, as in Snowcap [43], offer limited help, as will be shown in §7.5.

To overcome the scalability issue, we adapt the symbolic simulation approach [29,54,57,59], which leverages the equivalence among packet headers, link/node failures, or external routes to scale to a large search space. Specifically, we assign each update a Boolean variable indicating whether it is applied, and symbolically simulate the routing and forwarding behaviors of the network. The key difference is that updates

Figure

(a) Initial Config

(b) Final Config

(c) Intermediate Traffic

Figure 2: A simplified version of a real migration from iBGP to eBGP, in a content service provider’s WAN.

can affect the existence or value of configuration components, such as BGP sessions and IGP link costs. We generalize SRE’s way of how to initialize and transfer symbolic routes to handle symbolic configurations.

We implement a prototype of SMOOTHIE, and demonstrate its versatility with two planners, FastDownward [21] and ENHSP [41], to find sequential plans. Because a suitable parallel planner does not exist, we also develop a new SMT-based planner to find parallel plans. The prototype will be available to the community upon publication.

We evaluate SMOOTHIE in both real and synthetic migration scenarios. Results show that SMOOTHIE generates useful plans appreciated by operators ( §2.4§2.4), finds parallel plans that compress up to thousands of configurations updates into no more than 3 steps, while being efficient to finish most planning task in less than 1 hour ( §7§7).

References (50)