Ecole d'ingénieur et centre de recherche en Sciences du numérique

Systematically testing OpenFlow controller applications

Peresini, Peter; Kuzniar, Maciej; Canini, Marco; Venzano, Daniele; Kostic, Dejan; Rexford, Jennifer

Computer Networks, Elsevier, 22 August 2015

The emergence of OpenFlow-capable switches enables exciting new network functionality, at the risk of programming errors that make communication less reliable. The centralized programming model, where a single controller program manages the network, seems to reduce the likelihood of bugs. However, the system is inherently distributed and asynchronous, with events happening at different switches and end hosts, and inevitable delays affecting communication with the controller. In this paper, we present efficient, systematic techniques for testing unmodified controller programs. Our NICE tool applies model checking to explore the state space of the entire system--the controller, the switches, and the hosts. Scalability is the main challenge, given the diversity of data packets, the large system state, and the many possible event orderings. To address this, we propose a novel way to augment model checking with symbolic execution of event handlers (to identify representative packets that exercise code paths on the controller). We also present a simplified OpenFlow switch model (to reduce the state space), and effective strategies for generating event interleavings likely to uncover bugs. Our prototype tests Python applications on the popular NOX platform. In testing three real applications--a MAC-learning switch, in-network server load balancing, and energy-efficient traffic engineering--we uncover thirteen bugs.

Document Doi Bibtex

Titre:Systematically testing OpenFlow controller applications
Mots Clés:Software-defined networking; OpenFlow; Reliability; Model checking; Symbolic execution
Département:Data Science
Eurecom ref:4663
Copyright: © Elsevier. Personal use of this material is permitted. The definitive version of this paper was published in Computer Networks, Elsevier, 22 August 2015 and is available at :
Bibtex: @article{EURECOM+4663, doi = {}, year = {2015}, month = {08}, title = {{S}ystematically testing {O}pen{F}low controller applications}, author = {{P}eresini, {P}eter and {K}uzniar, {M}aciej and {C}anini, {M}arco and {V}enzano, {D}aniele and {K}ostic, {D}ejan and {R}exford, {J}ennifer}, journal = {{C}omputer {N}etworks, {E}lsevier, 22 {A}ugust 2015}, url = {} }
Voir aussi: