NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Joint Switch Upgrade and Controller Deployment in Hybrid Software-Defined Networks

Zehua Guo, Weikun Chen, Ya-Feng Liu, Yang Xu, Zhi-Li Zhang

Abstract

As Internet Service Providers (ISPs) transition toward Software-Defined Networking (SDN), they face the challenge of managing "Hybrid SDNs" where legacy and programmable hardware coexist. This paper addresses the Joint Switch Upgrade and Controller Deployment (JSUCD) problem, which seeks to maximize programmable traffic while minimizing control plane latency under strict budget constraints. We propose a one-stage Integer Linear Program (ILP) reformulation and a high-performance heuristic, MapFirst, to solve this optimization problem across large-scale network topologies.

Introduction

The shift to SDN offers centralized management and network flexibility, but full-scale hardware replacement is often cost-prohibitive for ISPs. Consequently, networks are upgraded incrementally. While previous research has focused primarily on the data plane—deciding which switches to upgrade to capture the most traffic—this approach often neglects the control plane. Without strategic controller placement, upgraded switches may suffer from high propagation latency or overloaded controllers, negating the performance benefits of SDN.

To bridge this gap, we define the JSUCD problem. This framework treats the upgrade of switches and the deployment of controllers as a single, unified optimization task. By doing so, we ensure that every upgraded switch is supported by a responsive and geographically appropriate "brain."

Network Architecture and Definitions

In a hybrid environment, the network consists of conventional legacy devices and newly upgraded SDN switches. Each SDN switch must be mapped to a controller that manages its flow tables. The efficiency of this mapping is determined by the physical distance (propagation delay) and the controller's processing capacity.

Legend of network components and connections

As shown in the legend above, the physical topology is distinct from the logical mapping between switches and controllers. A successful deployment must account for both the physical connections that carry data traffic and the control links that facilitate network management.

The JSUCD Problem Formulation

The JSUCD problem is inherently complex. We prove it to be strongly NP-hard by reducing it to the 3-partition problem. To solve it effectively, we model the network's objectives in two stages: first, maximizing the volume of programmable traffic, and second, minimizing the average propagation delay between switches and their assigned controllers.

Example of a hybrid SDN topology with switches and controllers

Figure 1 illustrates a typical hybrid SDN scenario where a subset of switches (s4, s5, s6) has been upgraded and mapped to specific controllers (c4, c5, c6). The challenge lies in selecting the optimal subset of switches and controller locations within a fixed budget, where the cost of a single SDN switch might be equivalent to several controllers.

Mathematical Optimization

We simplify the two-stage priority system into a one-stage ILP using a weighting parameter ($\lambda$). By choosing a sufficiently small $\lambda$, we can prioritize traffic volume while still using latency as a tie-breaker or secondary optimization goal. To improve the performance of standard solvers like GUROBI, we introduce "strengthened constraints" and valid inequalities, such as knapsack cuts, which prune the search space by exploiting the mathematical structure of the budget constraint.

The MapFirst Heuristic

For massive ISP backbone networks where exact solvers become computationally expensive, we developed the MapFirst heuristic. The core insight of MapFirst is that the mapping between a switch and a controller is the most critical decision variable.

The algorithm operates in three main steps:

  1. Relaxation: It solves a relaxed version of the ILP that allows for fractional mapping values.
  2. Ranking: It ranks potential switch-to-controller mappings based on their "probability" of appearing in an optimal solution.
  3. Greedy Selection: It builds the network incrementally, selecting the highest-ranked mappings until the budget is exhausted.

Experimental Results

We evaluated our methods using real-world topologies from the Topology Zoo, including Att (25 nodes), Cernet (41 nodes), and Cogentco (197 nodes). Our findings highlight several key advantages of the JSUCD approach:

  • Computational Efficiency: The reformulated exact model (P') solved large network instances in approximately 1,000 seconds—tasks that the original formulation could not complete within an hour. MapFirst proved even faster, outperforming exact solvers by up to 5,828 times on medium-sized networks while maintaining near-optimal traffic coverage.
  • Budget Optimization: MapFirst consistently deployed fewer controllers than traditional greedy heuristics. This "controller economy" allowed more of the budget to be spent on switch upgrades, directly increasing the total volume of programmable traffic.
  • Latency Management: Unlike models that focus solely on flow volume, our joint approach kept propagation delays low. By ensuring controllers were placed strategically near their managed switches, we avoided the "long-tail" processing delays common in poorly planned hybrid networks.

Conclusion and Future Work

Jointly optimizing switch upgrades and controller deployment is essential for maintaining network performance during the incremental transition to SDN. Our JSUCD framework provides a mathematically rigorous yet practical way for ISPs to plan their upgrades.

Future research will look to extend this model to account for dynamic traffic patterns, as ISP workloads fluctuate throughout the day. Additionally, we aim to incorporate queuing delays within the controller software and multi-period planning to help ISPs schedule their rollouts over several years.

Summary updated

BibTeX
@article{guo2019joint,
  author = {Zehua Guo and Weikun Chen and Ya-Feng Liu and Yang Xu and Zhi-Li Zhang},
  title = {{Joint Switch Upgrade and Controller Deployment in Hybrid Software-Defined Networks}},
  journal = {IEEE J. Sel. Areas Commun.},
  year = {2019},
  url = {https://openreview.net/forum?id=jS7X6NIpvfx},
}
Figure