ABSTRACT

The behavior of a Software-Defined Network is controlled by programs, which like all software, will have bugs - but this programmatic control also enables new ways to debug networks. This paper introduces ndb, a prototype network debugger inspired by gdb, which implements two primitives useful for debugging an SDN: breakpoints and packet backtraces. We show how ndb modifies forwarding state and logs packet digests to rebuild the sequence of events leading to an errant packet, providing SDN programmers and operators with a valuable tool for tracking down the root cause of a bug.
Supplemental Material
References
- M. Canini, D. Venzano, P. Peresini, D. Kostic, and J. Rexford. A nice way to test openflow applications. In NSDI. USENIX, 2012. Google Scholar
Digital Library
- M. Dobrescu, N. Egi, K. Argyraki, B. Chun, K. Fall, G. Iannaccone, A. Knies, M. Manesh, and S. Ratnasamy. Routebricks: exploiting parallelism to scale software routers. In ACM SOSP, volume 9. Citeseer, 2009. Google Scholar
Digital Library
- N. G. Duffield and M. Grossglauser. Trajectory sampling for direct traffic observation. IEEE/ACM Trans. Netw., 2001. Google Scholar
Digital Library
- N. Foster, R. Harrison, M. Freedman, C. Monsanto, J. Rexford, A. Story, and D. Walker. Frenetic: A network programming language. ACM SIGPLAN Notices, 46(9):279--291, 2011. Google Scholar
Digital Library
- N. Handigol and others. Aster* x: Load-balancing web traffic over wide-area networks. GENI Engineering Conf. 9, 2010.Google Scholar
- P. Kazemian, G. Varghese, and N. McKeown. Header space analysis: Static checking for networks. In NSDI. USENIX, 2012. Google Scholar
Digital Library
- B. Lantz, B. Heller, and N. McKeown. A network in a laptop: Rapid prototyping for software-defined networks. In HotNets. ACM, 2010. Google Scholar
Digital Library
- LBNL/ICSI Enterprise Tracing Project. http://www.icir.org/enterprise-tracing/download.html.Google Scholar
- H. Mai, A. Khurshid, R. Agarwal, M. Caesar, P. B. Godfrey, and S. T. King. Debugging the data plane with anteater. SIGCOMM '11, New York, NY, USA, 2011. ACM. Google Scholar
Digital Library
- The openflow switch. http://www.openflow.org.Google Scholar
- {ovs-discuss} setting mod-dl-dst in action field of openflow corrupts src mac address. http://openvswitch.org/pipermail/discuss/2012-March/006625.html.Google Scholar
- M. Reitblatt, N. Foster, J. Rexford, and D. Walker. Consistent updates for software-defined networks: change you can believe in! In HotNets. ACM, 2011. Google Scholar
Digital Library
- S. Savage, D. Wetherall, A. Karlin, and T. Anderson. Practical network support for ip traceback. SIGCOMM '00, New York, NY, USA, 2000. ACM. Google Scholar
Digital Library
- A. C. Snoeren, C. Partridge, L. A. Sanchez, C. E. Jones, F. Tchakountio, S. T. Kent, and W. T. Strayer. Hash-based ip traceback. SIGCOMM '01, New York, NY, USA, 2001. ACM. Google Scholar
Digital Library
- A. Tootoonchian and Y. Ganjali. Hyperflow: A distributed control plane for openflow. In Workshop on Research on enterprise networking (INM/WREN). USENIX Association, 2010. Google Scholar
Digital Library
- A. Voellmy and P. Hudak. Nettle: Functional reactive programming of openflow networks. PADL, Jan, 2011.Google Scholar
- A. Wundsam, D. Levin, S. Seetharaman, and A. Feldmann. Ofrewind: enabling record and replay troubleshooting for networks. In USENIX Annual Technical Conference, 2011. Google Scholar
Digital Library
Index Terms
Where is the debugger for my software-defined network?





Comments