A Compiler and Run-time System for Network Programming Languages

被引:0
作者
Monsanto, Christopher [1 ]
Foster, Nate
Harrison, Rob
Walker, David [1 ]
机构
[1] Princeton Univ, Princeton, NJ 08544 USA
来源
POPL 12: PROCEEDINGS OF THE 39TH ANNUAL ACM SIGPLAN-SIGACT SYMPOSIUM ON PRINCIPLES OF PROGRAMMING LANGUAGES | 2012年
关键词
Software-defined Networking; OpenFlow; Frenetic; Network programming languages; Domain specific languages;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Software-defined networks (SDNs) are a new kind of network architecture in which a controller machine manages a distributed collection of switches by instructing them to install or uninstall packet-forwarding rules and report traffic statistics. The recently formed Open Networking Consortium, whose members include Google, Facebook, Microsoft, Verizon, and others, hopes to use this architecture to transform the way that enterprise and data center networks are implemented. In this paper, we define a high-level, declarative language, called Net Core, for expressing packet-forwarding policies on SDNs. Net-Core is expressive, compositional, and has a formal semantics. To ensure that a majority of packets are processed efficiently on switches instead of on the controller we present new compilation algorithms for Net Core and couple them with a new run-time system that issues rule installation commands and traffic-statistics queries to switches. Together, the compiler and run-time system generate efficient rules whenever possible and outperform the simple, manual techniques commonly used to program SDNs today. In addition, the algorithms we develop are generic, assuming only that the packet-matching capabilities available on switches satisfy some basic algebraic laws. Overall, this paper delivers a new design for a high-level network programming language; an improved set of compiler algorithms; a new run-time system for SDN architectures; the first formal semantics and proofs of correctness in this domain; and an implementation and evaluation that demonstrates the performance benefits over traditional manual techniques.
引用
收藏
页码:217 / 230
页数:14
相关论文
共 25 条
[1]  
[Anonymous], 1997, SWITCHWARE
[2]  
[Anonymous], 2010, BEACON JAVA BASED OP
[3]  
BERRY G, 1990, POPL 90, P81
[4]  
Cai Z., 2010, Maestro: A System for Scalable Open- Flow Control. Technical report
[5]  
Casado M., 2009, Transactions on Networking, V17
[6]  
CHEN MK, 2005, PLDI
[7]  
Cristea Mihai Lucian, 2005, SAMOS, P201
[8]  
Egorov S., 2002, SNORTRAN: An optimizing compiler for Snort rules
[9]  
Erickson D., 2008, DEMONSTRATION VIRTUA
[10]  
Foster Nate., 2011, ICFP