A Simple Unified Control Plane for Packet and Circuit

advertisement
http://openflowswitch.org
Unifying Packet & Circuit Networks
with OpenFlow
Saurav Das, Guru Parulkar, & Nick McKeown
Stanford University
BIPN, Nov 30th 2009
Internet has many problems
Plenty of evidence and documentation
Internet’s “root cause problem”
It is Closed for Innovations
2
We have lost our way
Routing, management, mobility management,
access control, VPNs, …
App
App
App
Operating
System
Specialized Packet
Forwarding Hardware
Million of lines
of source code
5400 RFCs
Barrier to entry
500M gates
10Gbytes RAM
Bloated
Power Hungry
IPSec
Firewall
Router
Software
Control
OSPF-TE
RSVP-TE
HELLO
HELLO
HELLO
Hardware
Datapath
Many complex functions baked into the infrastructure
OSPF, BGP, multicast, differentiated services,
Traffic Engineering, NAT, firewalls, MPLS, redundant layers, …
An industry with a “mainframe-mentality”
Reality
App
App
App
App
Operating
System
App
App
Operating System
Specialized Packet
Forwarding Hardware
Specialized Packet
Forwarding Hardware
• Lack of competition means glacial innovation
• Closed architecture means blurry, closed interfaces
Glacial process of innovation made
worse by captive standards process
Idea
Standardize
Wait 10 years
• Driven by vendors
• Consumers largely locked out
• Glacial innovation
Deployment
Change is happening in non-traditional markets
App
App
App
Network Operating System
Ap
p
Ap
p
Ap
p
Operating
System
Ap
p
Specialized Packet
Forwarding Hardware
Ap
p
Ap
p
Ap
p
Ap
p
Operating
System
Ap
p
Specialized Packet
Forwarding Hardware
Operating
System
Ap
p
Specialized Packet
Forwarding Hardware
Ap
p
Ap
p
Operating
System
Ap
p
Ap
p
Ap
p
Operating
System
Specialized Packet
Forwarding Hardware
Specialized Packet
Forwarding Hardware
The “Software-defined Network”
2. At least one good operating system
Extensible, possibly open-source
3. Well-defined open API
App
App
App
Network Operating System
1. Open interface to hardware
Simple Packet
Forwarding
Hardware
Simple Packet
Forwarding
Hardware
Simple Packet
Forwarding
Hardware
Simple Packet
Forwarding
Hardware
Simple Packet
Forwarding
Hardware
The change has already started
In a nutshell
– Driven by cost and control
– Started in data centers…. and may spread
– Trend is towards an open-source,
software-defined network
– Growing interest for cellular and telecom networks
Example: New Data Center
Cost
Control
200,000 servers
Fanout of 20 a 10,000 switches
$5k commercial switch a $50M
$1k custom-built switch a $10M
1. Optimize for features needed
2. Customize for services & apps
3. Quickly improve and innovate
Savings in 10 data centers = $400M
Large data center operators are moving towards defining their own network in software.
Trend
App
App
App
Windows
Windows
Windows
(OS)
(OS)
(OS)
Linux
Linux
Linux
App
App
App
Mac
Mac
Mac
OS
OS
OS
Virtualization layer
x86
(Computer)
Computer Industry
Controller11
NOX
Controller
(Network OS)
Controller
Controller
Network
OS
22
Virtualization or “Slicing”
OpenFlow
Network Industry
Decoupled
Automated
Control
Simple, Robust, Reliable
Data Path
Control
Signaling
Data
Controller
The Flow Abstraction
Exploit the flow table in switches, routers, and chipsets
Flow 1.
Rule
(exact & wildcard)
Action
Statistics
Flow 2.
Rule
(exact & wildcard)
Action
Statistics
Flow 3.
Rule
(exact & wildcard)
Action
Statistics
Flow N.
Rule
(exact & wildcard)
Default Action
Statistics
e.g. Port, VLAN ID, e.g. unicast, mcast, Count packets & bytes
L2, L3, L4, …
map-to-queue, drop Expiration time/count
OpenFlow Switching
Controller
OpenFlow Switch
sw Secure
Channel
hw Flow
Table
• Add/delete flow entry
• Encapsulated packets
• Controller discovery
A Flow is any combination of above 14
fields
described in the Rule
Flow Example
Routing
Controller
A Flow is the fundamental
unit of manipulation within a switch
Rule
Action
Statistics
OpenFlow
Protocol
Rule
Action
Statistics
Rule
Action
Statistics
OpenFlow is Backward Compatible
Ethernet Switching
SwitchMAC
Port src
MAC Eth
dst type
VLAN IP
ID
Src
IP
Dst
IP
Prot
TCP TCP
sport dport
Action
*
00:1f:..*
*
*
*
*
port6
SwitchMAC
Port src
MAC Eth
dst type
VLAN IP
ID
Src
*
*
*
*
*
IP Routing
*
*
*
*
IP
IP
TCP TCP
Action
Dst Prot sport dport
5.6.7.
*
*
*
port6
8
Application Firewall
SwitchMAC
Port src
*
*
*
MAC Eth
dst type
*
VLAN IP
ID
Src
IP
Dst
IP
Prot
TCP TCP
sport dport
Action
*
*
*
*
drop
*
22
OpenFlow allows layers to be combined
Flow Switching
SwitchMAC
Port src
port3
MAC Eth
dst type
VLAN IP
ID
Src
00:2e.. 00:1f.. 0800
vlan1
IP
Dst
IP
Prot
1.2.3.4 5.6.7.8 4
TCP TCP
Action
sport dport
17264 80
port6
VLAN + App
SwitchMAC
Port src
*
*
MAC Eth
dst type
*
*
VLAN IP
ID
Src
IP
Dst
IP
Prot
TCP TCP
Action
sport dport
vlan1
*
*
*
*
80
port6,
port7
Port + Ethernet + IP
SwitchMAC
Port src
port3
MAC Eth
dst type
00:2e.. *
0800
VLAN IP
ID
Src
IP
Dst
*
5.6.7.8
*
IP
Prot
4
TCP TCP
Action
sport dport
*
*
port 10
A Clean Slate Approach
Goal: Put an Open platform in hands of
researchers/students to test new ideas at scale
Approach:
1. Define OpenFlow feature
2. Work with vendors to add OpenFlow to their
switches
3. Deploy on college campus networks
4. Create experimental open-source software
- researchers can build on each other’s work
18
OpenFlow Hardware
Juniper MX-series
HP Procurve 5400
Quanta LB4G
NEC IP8800
WiMax (NEC)
WiFi
Cisco Catalyst 6k
Arista 7100 series
(Fall 2009)
Ciena CoreDirector
(Fall 2009)
OpenFlow Deployments
Research and Production Deployments
on commercial hardware
Juniper, HP, Cisco, NEC, (Quanta), …
• Stanford Deployments
– Wired: CS Gates building, EE CIS building, EE Packard
building (soon)
– WiFi: 100 OpenFlow APs across SoE
– WiMAX: OpenFlow service in SoE
• Other deployments
– Internet2
– JGN2plus, Japan
– 10-15 research groups have switches
Nationwide OpenFlow Trials
UW
Univ
Wisconsin
Princeton
Stanford
NLR
Indiana
Univ
Rutgers
Internet2
Clemson
Georgia
Tech
Production deployments
before end of 2010
Motivation
IP and Transport networks
C
D
C
C
 are separate
networks
that
are
controlled
and
D
D
managed independently leading toDCduplication of
functions and resources in multiple layers and high
capex and opex
C
C
 do not dynamically
interact
and
thus
do
not
benefit
C
D
from diverse
switching
technologies
D
D
C
D
D
 have very different
architectures that makes
C
D
D
integrated operation and convergence
hard
D
D
UCP
C
D
C
D
C
D
C
D
C
Flow
Network
C
D
C
D
C
D
C
D
D
D
D
D
D
pac.c
Research Goal: Packet and Circuit Flows Commonly
Controlled & Managed
Simple,
Robust,
Reliable
network
of Flow
Switches
Flow
Network
… that switch at different granularities: packet, time-slot, lambda & fiber
OpenFlow & Circuit Switches
Packet Flows
Switch MAC
Port src
MAC Eth
dst
type
VLAN IP
ID
Src
IP
Dst
IP
Prot
TCP
TCP
sport dport
Action
Exploit the cross-connect table in circuit switches
Circuit Flows
In
Port
VCG Starting Signal
In
25
Lambda
Time-Slot Type
Out
Port
VCG Starting Signal
Out
25
Lambda
Time-Slot Type
The Flow Abstraction presents a unifying abstraction
… blurring distinction between underlying packet and circuit
and regarding both as flows in a flow-switched network
25
Unified Architecture
App
App
App
App
Networking
Applications
NETWORK OPERATING SYSTEM
OPENFLOW Protocol
Packet
Switch
Circuit
Switch
Unifying
Abstraction
Packet & Circuit
Switch
Unified
Control
Plane
Underlying Data
Plane Switching
OpenFlow UCP
enables innovation
@
pkt-ckt interface
Network
Recovery
Congestion
Routing
Control
Traffic
QoS
Engineering Power
Mgmt
Security
Discovery
27
OpenFlow Example
IP 11.12.0.0
VLAN 1025
IP 11.13.0.0
TCP 80
+ VLAN2, P1
+ VLAN2, P2
VLAN2
VCG 3
VCG3
P1 VC4 1
P2 VC4 4
P1 VC4 10
+ VLAN7, P2
VLAN7
VCG5
VCG5
P3 STS192 1
OpenFlow
(software)
R
A
S
OpenFlow
(software)
R
A
S
IN
Packet
Packet Switch Fabric
OUT
TDM
VCG3
VCG5
Switch Fabric
GE
ports
Circuit
Switch Fabric
TDM
ports
Example Application (1)
Congestion
Control
..via Variable Bandwidth Packet Links
OpenFlow Demo at SC09
Example Application (2)
Traffic
Engineering
Example Application (2)
Traffic
Engineering
..via Dynamic Automated Optical Bypass
Controller
NOX
OpenFlow
protocol
NetFPGA based
OF packet switch
Ethernet
Hosts
AWG
AWG
WSS
(1×9)
WSS
(1×9)
Fujitsu WSS based
OF circuit switch
OpenFlow packet switch
OpenFlow packet switch
25 km SMF
GE-Optical
GE-Optical
Mux/Demux
Openflow Circuit Switch
Unified Virtualization
C
C
OpenFlow Protocol
C
FLOWVISOR
OpenFlow Protocol
CK
P
CK
CK
P
CK
CK
P
P
Unified Virtualization
ISP ‘A’ Client
Controller
C
Private Line
Client Controller
C
High-end Client
Controller
C
OpenFlow Protocol
Under Transport n/w
Service Provider control
FLOWVISOR
OpenFlow Protocol
CK
Isolated
Client
Network
Slices
P
CK
CK
P
CK
CK
P
P
Single
Physical
Infrastructure
of Packet &
Circuit
Switches
Summary
• OpenFlow is a large clean-slate program with many
motivations and goals
• convergence of packet & circuit networks is one such goal
• OpenFlow simplifies and unifies across layers and
technologies
• packet and circuit infrastructures
• electronics and photonics
• Unified APIs allow innovations
• in data and control planes independently
• in network control, management and virtualization
• Example demonstrations at circuit & packet intersection
• Variable Bandwidth Packet Links
• Dynamic Automated Optical Bypass
Download