52
Panopticon: Incremental SDN Deployment in Enterprise Networks Stefan Schmid with Dan Levin, Marco Canini, Fabian Schaffert, Anja Feldmann https://venture.badpacket.in

Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

Panopticon: Incremental SDN Deployment in Enterprise Networks

Stefan Schmid with

Dan Levin, Marco Canini, Fabian Schaffert, Anja Feldmann

https://venture.badpacket.in

Page 2: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

I SDN!

How can I deploy it?

Page 3: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

SDN: Where and why?

• Datacenters

• Wide-Area Networks (WANs)

• IXP

• ...

Decoupling

Page 4: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

SDN in Datacenters

• Characteristics?

• Why SDN?

• How to deploy?

Page 5: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

SDN in Datacenters

• Characteristics?

• Already highly virtualized

• Quite homogeneous!

Decoupling

Page 6: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

• Why SDN?

• Realize fabric abstraction

• Decouple application from physical infrastructure

• Own addresses for tenants, VM migration, ...

• Improve performance

Decoupling

SDN in Datacenters

Page 7: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

• How to deploy?

• Run Open VSwitch on servers!

• Edge deployment (inside: MPEC)

SDN in Datacenters

Page 8: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

SDN in WANs

• Characteristics?

• Why SDN?

• How to deploy?

Page 9: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

SDN in WANs

• Characteristics?

• Bandwidth precious (WAN traffic grows fastest)

• Latency matters

• Probably not so many sites

• Many different applications and requirements

Decoupling

Page 10: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

• Why SDN?

• E.g., Google B4

• Improve utilization

• Differentiate applications (latency sensitive Google docs vs datacenter synchronization)

Decoupling

SDN in WANs

Page 11: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

• How to deploy? • Replace IP “core”

routers (running BGP) at border of datacenter (end of long-haul fiber)

SDN in WANs

• Gradually replace routers

• However, benefits arise only after complete hardware overhaul of network (after years)

Page 12: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

• How to deploy? • Replace IP “core”

routers (running BGP) at border of datacenter (end of long-haul fiber)

SDN in WANs

• Gradually replace routers

• However, benefits arise only after complete hardware overhaul of network (after years)

first benefits!

Page 13: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

• What’s wrong with enterprise networks?

Decoupling

Our Use Case: Enterprise Networks

Page 14: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

Problems with traditional networks

Manual, Device-Centric Network Configuration

(CLI, LANmanager)

Un-evolved Best Practices (tcpdump, traceroute - from the 1990s)

Complex, Leaky, Low-level Interfaces (VLANs, Spanning Tree, Routing)

Current Networks

Page 15: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

Software Defined Networking Automation und Abstraction for Networks

Network policy defined programatically

Automation and Abstraction

Current Networks

SDN Our goal

Page 16: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

Global Network View

Control

Programs

Control

Programs

Control

Programs

f(View) f(View) f(View)

SDN

Interface

Controller Platform Controller Platform

Page 17: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

The SDN Deployment Problem

A real large-scale campus network

Full SDN

Must upgrade to SDN incrementally

Page 18: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

Key Questions

• How can we incrementally deploy SDN into enterprise campus networks?

• What SDN benefits can be realized in a hybrid deployment?

Page 19: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

Current Hybrid Networks

SDN Platform

Legacy Mgmt ?

Dual-stack approach

E.g., part of the Stanford network.

Page 20: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

Current Hybrid Networks

Dual-stack approach Edge-only approach

SDN Platform

Legacy Mgmt ?

Legacy

Mgmt

SDN Platform

App

1

App

2

App

3

Page 21: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

The edge is legacy access switches

Page 22: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

TOOL Determine the partial

SDN deployment

PANOPTICON

SDN ARCHITECTURE Operate the network as a

(nearly) full SDN

Page 23: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

The Existing Network

Page 24: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

1. Planning the SDN Deployment

A

B

C

D

E

F

Network architect provides set of

ingress ports to be controlled via SDN

SDN controlled port (SDNc)

Page 25: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

Partial SDN deployment

Tunable parameters • Price model • Utilization thresholds

(link utilization, VLANs, etc.)

Network topology

resource aware

optimizer

Objectives • Upgrade budget • Path delay

Traffic estimates

Page 26: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

The Partial SDN Deployment ( )

A

B

C

D

E

F

Page 27: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

Benefits of Partial SDN Deployment?

A

B

C

D

E

F

Harvest unutilized network capacity

Page 28: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

Main benefits of SDN= Principled orchestration of

the network policy

Page 29: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

Can partial SDN deployment still take advantage of principled network orchestration

Page 30: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

2. Realizing the Benefits of SDN

A

B

C

D

E

F Access control

Insight #1: ≥ 1 SDN switch →

Policy enforcement

IDS

Middlebox traversal

Page 31: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

2. Realizing the Benefits of SDN

A

B

C

D

E

F

Traffic load-balancing

Insight #1: ≥ 1 SDN switch →

Policy enforcement

Insight #2: ≥ 2 SDN switches → Fine-grained control

Page 32: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

SDN Waypoint Enforcement

Insight #1: ≥ 1 SDN switch →

Policy enforcement

Insight #2: ≥ 2 SDN switches → Fine-grained control

Legacy devices must direct traffic to SDN switches

Ensure that all traffic to/from an SDN-controlled port always

traverses at least one SDN switch

Page 33: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

A

B

C

D

E

F

Conceptually group SDN ports in Cell Blocks

The SDN Architecture PANOPTICON

Page 34: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

A

B

C

D

E

F Per-port spanning trees that ensure waypoint enforcement

The SDN Architecture PANOPTICON Traffic restricted by using VLANs

Page 35: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

A

B

C

D

E

F

PANOPTICON

B C D E F

A

“Logical SDN”

Page 36: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

“Logical SDN”

PANOPTICON

SDN Platform

App 1

App 2

App 3

B C D E F

A

PANOPTICON provides the abstraction of a (nearly) fully-deployed SDN in a partially upgraded network

Page 37: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

What is the value of a logical SDN

Page 38: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

A

B

C

D

E

F

Use Case: Planned Maintenance Operator says: “You’re Going

down for service... ...and, could the

rest of you switches

cooperate to minimize the disruption?

Let software worry about the dependencies, not the human operator!

Page 39: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

Use Case Testbed Evaluation

2x NEC IP8800 (OF 1.0)

1x Cisco C3550XL

3x Cisco C2960G

2x HP 5406zl

1x Pica8 3290

Locations of “port-down” events along one path traversing SDN

switch.

TCP Connection Recovery Time

Page 40: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

A

B

C

D

E

F

Use Case: Planned Maintenance

4) Gratuitous ARP for

destination C.

2) Install forwarding rules

for “green flow”

1) Operator signals intent to

our application, to remove

switch for maintenance.

3) Update forwarding rules to

re-route “green flow”

Page 41: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

Use Case Testbed Evaluation

2x NEC IP8800 (OF 1.0)

1x Cisco C3550XL

3x Cisco C2960G

2x HP 5406zl

1x Pica8 3290

Page 42: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

What is the impact of partial SDN deploymenton the network traffic

Page 43: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

A

B

C

D

E

F

Potential Impact on Traffic

1. Congestion

2. Harvest unutilized network capacity

Page 44: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

A

B

C

D

E

F

Network Emulation Experiments

489 SDNc ports

77 switches ... … of which 28 are IP routers

Links limited to 100 MBit/s

MSS of 536 Bytes

Page 45: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

Workload

A

B

C

D

E

F

Defines a traffic matrix

Packet-level enterprise network traffic traces

Page 46: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

Workload

Traffic Matrix: 1024 source-destination

communication pairs

Sequentially initiate TCP flows until 100 MB are sent from every Port

A

B

C

D

E

F

Page 47: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

TCP Throughput Comparison

A

B

C

D

E

F

Vary the number of deployed SDN

switches: 5, 10, and 28

A

B

C

D

E

F

Legacy Panopticon

Ethernet switch

IP router

vs.

Page 48: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

SDN Deployment Size vs. Performance Key Takeaway:

When only 36% of the switches support SDN, median throughout virtually

identical to legacy network

Page 49: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

Key Results Highlights

• Evaluated a large campus network (1500+ switches)

• Real topologies and real traffic traces

• Upgrade 2% of the switches/routers →

• 100% SDN-controlled ingress ports

• avg. path stretch < 50%

• 90th percentile link util. < 25% increase

Page 50: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

PANOPTICON

SDN Platform

App 1

App 2

App 3

B C D E F

A

TOOL Determine the partial

SDN deployment

SDN ARCHITECTURE Operate the network as

a (nearly) full SDN

Summary

https://venture.badpacket.in

Page 51: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

Median values of 10 random TM permutations 1296 SDNc Ports 10 policy rules per port (avg) 1024 VLANs

Page 52: Panopticon: Incremental SDN - TU Berlinstefan/swiss-sdn.pdf · Use Case: Planned Maintenance 4) Gratuitous ARP for destination C. 2) Install forwarding rules for “green flow”

Other Ongoing Projects

• STN: Concurrent Control Plane

• Provably Dataplane Connectivity

• Consistent Network Updates

• AeroFlux: Wifi SDN with near-sighted control