Software-Defined Networks: A Systems Approach
Software-Defined Networks: A Systems Approach
Software-Defined Networks: A Systems Approach
A Systems Approach
Bruce Davie
Systems Approach, LLC
What is SDN?
Data Plane
Outline
• History of SDN
• Challenges faced by IP networks
• SDN architecture
• Case Studies:
• Network Virtualization
• Traffic Engineering
• SD-WAN
• Bare metal switching
A Revolution in Networking
Foundations of SDN
• Lack of abstractions
• Inability to express intent
• Unpredictable outcome from complex distributed algorithms
• Interactions among protocols (e.g. IGP & EGP)
• Can’t manage a device unless it’s properly configured
• bootstrap issue – control & management plane dependent on correct data
plane
• Fragility, risk of change
• Glacial pace of innovation
Evolution of network provisioning: 1996-2016
1996 2016
• Just because an idea has been tried before without success doesn’t
mean it’s a bad idea
SDN Architecture
Traditional Control and Data Planes
Control Plane
• Protocols: BGP, OSPF, RIP
• RIB: Collection of Link/Path Attributes
Routing Table • Northbound Configuration Interface
Control Plane
(RIB) − e.g., Cisco CLI
Data Plane
• Protocols: IP
Forwarding Table • FIB: Optimized for Fast Lookup
Data Plane
(FIB) • Northbound Control Interface
− Historically Private/Internal
SDN Control and Data Planes
Global
Network
Network OS Map
Control Plane
Data Plane
Flow Rules
OpenFlow-style data plane
OpenFlow Switch
MAC IP TCP/UDP
Header Header Header
Optional 802.1Q
VLAN Tag
PISA: Protocol Independent Switching Architecture
gRPC
API gNMI + gNOI + FlowObjectives
forward.p4 Network Operating System
arch.p4 ONOS
P4 gRPC
Compiler
API gNMI + gNOI + P4Runtime/OpenFlow
Definition of SDN
A network in which the control plane is physically separate from the forwarding plane,
and a single control plane controls several forwarding devices. – Nick McKeown (2013)
Dimensions
• Disaggregated Control and Data planes
• Centralized vs Decentralized Control Plane
• Fixed-Function vs Programmable Data Plane
Phases of SDN
• Phase 1: Network operators took ownership of the control plane.
• Phase 1a: Non-traditional entrants to the networking business (via disaggregation)
• Phase 2: Network operators are taking ownership of the data plane.
Use Cases
• Network Virtualization
• SD-WAN
• Traffic Engineering
• Bare Metal Switching
• Inband Network Telemetry
Network Virtualization – An Analogy
22
2012
23
r
vSw pe
Hy
h r
itc rviso
vSw ype
H
h r
itc rviso
vSw ype
H
h r
itc rviso
vSw ype
H r
h
itc rviso
vSw ype
H
Virtual Machines to Virtual Networks
h r
itc rviso
vSw ype
H
h r
itc rviso
vSw ype
H
h r
itc rviso
vSw ype
H
Network, storage, compute
Virtualization layer
r
vSw Hype
h r
itc r viso
vSw Hype
h r
itc rviso
vSw Hype
h r
itc rviso
vSw Hype
h r
itc rviso
vSw ype
H
Virtual Machines to Virtual Networks
h r
itc rviso
vSw ype
H
h r
itc rviso
vSw ype
H
h r
itc rviso
vSw ype
H
Network, storage, compute
“Network hypervisor”
Virtual Data Centers
Virtualization layer
Network Virtualization Components
• Firewall
• Load Balancer
r
26
Management, Control and Data Planes
Network topology
request
Request stored
and acknowledged
MANAGEMENT
PLANE
Desired State
Calculate data
CONTROL plane state
PLANE
DATA
PLANE Identify data plane
resources
Realized State
Problem: Data Center Network Security
Perimeter-centric network security has proven insufficient
Internet
VM
VM
VM
VM
Today’s security model focuses on perimeter But continued security breaches show this model is
defense not enough
Microsegmentation and Zero Trust
Perimeter
firewall
DMZ VLAN
VM VM VM VM VM VM
VM VM VM VM VM VM
Finance HR IT
DB VLAN
VM VM VM VM VM VM
Finance HR IT
Services VLAN
VM VM VM VM VM
SD-WAN Controller
Cloud Services
Corporate
Branch Datacenter
Overlay Tunnel
Controller
Datacenter Datacenter
Datacenter
Datacenter Switching Fabric
Internet
Leaf-Spine Topology
• Leaf Switches = Top-of-Rack (ToR)
• Optimized for East-West Traffic
Spine Spine Spine
• Built-in Redundancy (not shown)
• Scale with additional layers
S1 S3 S5
Metadata S1
Metadata S2
Fine-Grain Telemetry
• Metadata S5
Flow Rule(s) that matched S4
• Queuing delays of individual packets
• Other flows being buffered
• … Log, analyze,
replay, visualize
Uses
• Verify correct behavior
• Identify micro-bursts
• …
SDN Challenges
• Scale
• Stability & Correctness
• Timeliness
• Inter-domain
Discussion