3. Million
of
lines
of
source
code
6000+
RFCs
Barrier
to
entry
Billions
of
gates
Bloated
Power
Hungry
Many
complex
funcOons
baked
into
the
infrastructure
OSPF,
BGP,
mul,cast,
differen,ated
services,
Traffic
Engineering,
NAT,
firewalls,
MPLS,
redundant
layers,
…
Slide
courtesy:
Nick
McKeown
Welcome
to
the
Ossified
Network
Specialized
Packet
Forwarding
Hardware
OperaOng
System
Feature
Feature
3
4. 4
Current
Internet
Closed
to
InnovaOons
in
the
Infrastructure
Specialized
Packet
Forwarding
Hardware
Service
Service
Service
Specialized
Packet
Forwarding
Hardware
Service
Service
Service
Specialized
Packet
Forwarding
Hardware
Service
Service
Service
Specialized
Packet
Forwarding
Hardware
Service
Service
Service
Specialized
Packet
Forwarding
Hardware
OperaOng
System
OperaOng
System
OperaOng
System
OperaOng
System
OperaOng
System
Service
Service
Service
Closed
5. “SoXware
Defined
Networking”
!!!
Specialized
Packet
Forwarding
Hardware
Service
Service
Service
Specialized
Packet
Forwarding
Hardware
Service
Service
Service
Specialized
Packet
Forwarding
Hardware
Service
Service
Service
Specialized
Packet
Forwarding
Hardware
Service
Service
Service
Specialized
Packet
Forwarding
Hardware
OperaOng
System
OperaOng
System
OperaOng
System
OperaOng
System
OperaOng
System
Service
Service
Service
Network
OperaOng
System
LB
service
FW
service
IP routing
service
6. Simple
Packet
Forwarding
Hardware
Simple
Packet
Forwarding
Hardware
Simple
Packet
Forwarding
Hardware
Simple
Packet
Forwarding
Hardware
Simple
Packet
Forwarding
Hardware
A
SoXware-‐defined
Network
LB
service
FW
service
IP routing
service
Network
OperaOng
System
e.g.,
OpenFlow
North-‐bound
interface
API
10. Controller
PC
OpenFlow
Usage
Alice’s code
Decision?
OpenFlow
Protocol
Alice s Rule
Alice s Rule Alice s Rule
OpenFlow offloads control intelligence to a remote software
11. OpenFlow
Basics
Flow
Table
Entries
11
Switch
Port
MAC
src
MAC
dst
Eth
type
VLAN
ID
IP
Src
IP
Dst
IP
Prot
L4
sport
L4
dport
Rule
AcOon
Stats
1. Forward
packet
to
zero
or
more
ports
2. Encapsulate
and
forward
to
controller
3. Send
to
normal
processing
pipeline
4. Modify
Fields
5. Any
extensions
you
add!
+
mask
what
fields
to
match
+
priority
+
Omeout
(idle
and
hard)
Packet
+
byte
counters
VLAN
pcp
IP
ToS
12. Examples
12
Firewall
service
*
Switch
Port
MAC
src
MAC
dst
Eth
type
VLAN
ID
IP
Src
IP
Dst
IP
Prot
TCP
sport
TCP
dport
AcOon
*
*
*
*
*
*
*
*
22
drop
IP
RouOng
service
*
Switch
Port
MAC
src
MAC
dst
Eth
type
VLAN
ID
IP
Src
IP
Dst
IP
Prot
TCP
sport
TCP
dport
AcOon
*
*
*
*
*
5.6.7.8
*
*
*
port6
VLAN
mulOcast
service
*
Switch
Port
MAC
src
MAC
dst
Eth
type
VLAN
ID
IP
Src
IP
Dst
IP
Prot
TCP
sport
TCP
dport
AcOon
*
*
vlan1
*
*
*
*
*
port6,
port7,
port9
00:1f..
14. ApplicaOon
in
DCs:
Network
VirtualizaOon
1. MulO-‐tenancy
– Traffic
isolaOon,
overlapping
IP
addressing,
etc.
2. AutomaOc
network
configuraOon
– AutomaOcally
create
required
network
configs
for
new
tenants
– Reduced
Ome
to
revenue
3. Hybrid
clouds
with
bursOng
– Adding
computaOonal
capacity
(in
the
form
of
new
VMs)
as
needed
– Lossless
live
migraOon
Cloud
DC
Physicalnetworkfabric
Hypervisor
Hypervisor
Hypervisor
VM
VM
VM
VM
VM
vm
vm
V
M
Logic
al
L2
Switc
h
Logical
Network
Controller
Cluster
Logic
al
L2
Switc
h
vm
vm
Openstack
(www.openstack.org)
15. ApplicaOon
in
WAN:
E2E
OrchestraOon
• Today’s
service
provisioning
(using
CMS
like
OpenStack)
is
fragmented
and
incomplete.
Requires
several
manual
steps
for
configuring
the
WAN
(specifically,
the
PE
router)
to
support
QoS
for
the
cloud
tenants.
• End-‐to-‐end
orchestraOon
to
between
DCs
and
enterprises.
WAN
WAN
control + mgmt plane
DC1 DC2
blueplanet / applications APIs
Network controllers
Network controllersNetwork controllers
CYAN
Inc.
(www.cyaninc.com)
16. ApplicaOon
in
NFV
• NFV:
Network
FuncOon
VirtualizaOon
• SDN/Openflow
could
help
in
traffic
navigaOon
• SDN/Openflow
could
help
to
Virtualize:
• DC
gateway/router
• BRAS/BNG
• CPE/home
gateway
• Route-‐Reflectors
• DNS
• Firewall
• NAT
• DHCP
• Load
balancer
• DPI
• etc…
hrp://portal.etsi.org/portal/server.pt/community/NFV/367
17. ClarificaOon
• SDN
is
not
equal
to
Openflow
• SDN
vs.
Openstack
• SDN
vs.
NFV
vs
network
innovaOon
23. Sample
open-‐source
controllers
Controller
Notes
Ryu
• Apache
license
• Python
NOX/POX
• GPL
• C++
and
Python
Stanford’s
Beacon
• BSD-‐like
license
• Java-‐based
Maestro
(from
Rice
Univ)
• GPL
• Based
on
Java
NEC’s
Trema
• Open-‐source
• Wriren
in
C
and
Ruby
• Included
test
harness
Big
Switch’s
Floodlight
• Apache
license
• Java-‐based
23
24. Sample
OF
commercial
switches
Model
Virtualize
Notes
HP
Procurve
5400zl
or
6600
1
OF
instance
per
VLAN
-‐ LACP,
VLAN
and
STP
processing
before
OpenFlow
-‐ Wildcard
rules
or
non-‐IP
pkts
processed
in
s/w
-‐ Header
rewriOng
in
s/w
-‐ CPU
protects
mgmt
during
loop
NEC
IP8800
1
OF
instance
per
VLAN
-‐ OpenFlow
takes
precedence
-‐ Most
acOons
processed
in
hardware
-‐ MAC
header
rewriOng
in
h/w
Brocade
MLX
routers
MulOple
OF
instance
per
switch
-‐ Hybrid
OpenFlow
switch
with
legacy
protocols
and
OpenFlow
coexisOng
-‐ OpenFlow
commands
can
override
state
created
by
legacy
protocos
Pronto
3290
or
3780
with
Pica8
or
Indigo
firmware
1
OF
instance
per
switch
-‐ No
legacy
protocols
(like
VLAN,
STP)
-‐ Most
acOons
processed
in
hardware
-‐ MAC
header
rewriOng
in
h/w
24