A NICE Way to Test OpenFlow Applications
Author(s): Canini, Marco; Venzano, Daniele; Perešíni, Peter; Kostić, Dejan; Rexford, Jennifer
DownloadTo refer to this page use:
http://arks.princeton.edu/ark:/88435/pr1xz8z
Abstract: | 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 eleven bugs. |
Publication Date: | 2012 |
Citation: | Canini, Marco, Daniele Venzano, Peter Perešíni, Dejan Kostić, and Jennifer Rexford. "A NICE Way to Test OpenFlow Applications." In 9th USENIX Symposium on Networked Systems Design and Implementation (2012): pp. 127-140. |
Pages: | 127 - 140 |
Type of Material: | Conference Article |
Journal/Proceeding Title: | 9th USENIX Symposium on Networked Systems Design and Implementation |
Version: | Final published version. This is an open access article. |
Items in OAR@Princeton are protected by copyright, with all rights reserved, unless otherwise indicated.