at⋅a⋅rax⋅is

A Simple Unified Control Plane for Packet and Circuit Networks

Presentation slides by Saurav Das, Guru Parulkar, and Nick McKeown (Stanford University), delivered at NFOEC 2010. The original has since disappeared from the web. This is a preservation copy, reconstructed from slides. Original .ppt — M.D.


A Simple Unified Control Plane for Packet and Circuit Networks

Saurav Das, Guru Parulkar, Nick McKeown
Stanford University


Motivation

Research produces many great ideas — none transfer to production networks.

NEEDED: Realistic ways to try out ideas at scale.

flowchart LR R["RESEARCH\nMany great ideas"] -- "none transferred" --> P["PRODUCTION"]

New Ideas

  • Mobility Management
  • Network Security
  • Energy Management
  • Alternatives to BGP, new routing
  • Network Measurement
  • Things we haven’t thought of…

Motivation: Exceedingly High Barrier to Change

flowchart LR I["Idea"] --> S["Standardize"] --> W["Wait 10 years"] --> D["Deployment"]
  • Massive installed base of equipment & protocols — requires backward compatibility
  • Rigid platform — closed system, vendor proprietary OS
  • Fear of network instability discourages operators from innovation
  • Power to control network no longer in SP’s hands

Motivation: We Lost Our Way

Modern routers are bloated and over-engineered:

block-beta columns 2 SW["Software Control\n20M lines of source code\n5389 RFCs\nBarrier to entry"]:1 HW["Hardware Datapath\n500M gates\n10GB RAM\nBloated\nPower Hungry (15 kW/shelf)"]:1

Motivation: Many Complex Functions Baked into the Infrastructure

Packet network protocols crammed into a single router:

MPLS · NAT · IPv6 · anycast · multicast · Mobile IP · L3 VPN · L2 VPN · VLAN · OSPF-TE · RSVP-TE · iBGP · eBGP · IPSec · Firewall · Authentication · Security · Access Control …

More coming.


Motivation: Lots of Baggage from L3 (Circuit Networks)

Circuit network carries the same bloat:

GMPLS · MPLS-TP · PBB-TE · Carrier Ethernet · ASON · UNI · LMP · CORBA · PCE · PWE3 · OSPF-TE · RSVP-TE · L1VPN · L2VPN · ENNI intra · ENNI inter …

More extensions coming.


A Clean Slate Approach

Goal: Put an open platform in the hands of researchers and students to test new ideas at scale.

Approach:

  1. Define the OpenFlow feature set
  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

Open Source Networking

What will networks look like in 10 years from now?

flowchart LR Traditional["Traditional\nClosed Switch"] -->|"OpenFlow"| Open["Open\nProgrammable Switch"]

De-coupling Control & Data Planes

Step 1: Current monolithic router

block-beta columns 1 Routing["Routing / Signaling (Control)"] Data["Data Plane"]

Step 2: Introduce a separate Controller

flowchart TB C["Controller"] -->|"OpenFlow Protocol"| SW["Switch\n(Data Plane)"]

Step 3: Full separation

flowchart TB C["Decoupled\nAutomated Control\n(Controller)"] C -->|"OpenFlow Protocol\n(Open Interface into Hardware)"| SW["Simple, Robust, Reliable\nData Path"]

The Flow Abstraction

Exploit the flow table in switches, routers, and chipsets.

block-beta columns 3 R1["Rule\n(exact & wildcard)"] A1["Action"] S1["Statistics"] R2["Rule\n(exact & wildcard)"] A2["Action"] S2["Statistics"] R3["Rule\n(exact & wildcard)"] A3["Action"] S3["Statistics"] R4["Rule\n(exact & wildcard)"] A4["Default Action"] S4["Statistics"]
FieldExamples
RulePort, VLAN ID, L2, L3, L4 headers
Actionunicast, mcast, map-to-queue, drop
StatisticsPacket & byte counts, expiration time

OpenFlow Switching

flowchart LR C["Controller"] C <-->|"OpenFlow Protocol / SSL"| SC["Secure Channel"] SC --> FT["Flow Table"] FT --> HW["hw (line-rate)"] FT --> SW["sw (slow path)"]

OpenFlow operations:

  • Add / delete flow entries
  • Encapsulate and forward packets to controller
  • Drop packet / send to normal processing pipeline

A flow is any combination of header fields described in the Rule.

🔗 http://openflowswitch.org


OpenFlow is Backward Compatible

OpenFlow can express existing network behaviors using the same 10-tuple match fields:

ScenarioMatchAction
Ethernet SwitchingMAC dst = 00:1f:..→ port6
IP RoutingIP Dst = 5.6.7.8→ port6
Application FirewallTCP dport = 22drop

OpenFlow Allows Layers to Be Combined

ScenarioKey Match FieldsAction
Flow Switchingport3, MAC src=00:1f.., IP src=1.2.3.4, IP dst=5.6.7.8, TCP sport=17264, TCP dport=80→ port6
VLAN + AppVLAN=vlan1, TCP dport=80→ port6, port7
Port + Ethernet + IPport3, MAC dst=00:2e.., IP dst=5.6.7.8→ port10

Flow Example

flowchart LR C["Controller\n(Routing logic)"] C -->|"OpenFlow Protocol"| S1["Switch\nRule|Action|Stats"] C -->|"OpenFlow Protocol"| S2["Switch\nRule|Action|Stats"] C -->|"OpenFlow Protocol"| S3["Switch\nRule|Action|Stats"]

A Flow is the fundamental unit of manipulation within a switch.


OpenFlow Status

Commercial hardware support:
Juniper · HP · Cisco · NEC · (Broadcom)

Deployments:

  • 3 buildings at Stanford
  • Internet2

Planned deployments:

  • 7 other campuses
  • NLR, JGNII, Federica (other RENs)

OpenFlow & Circuit Switches

Can we test ideas in networks with both packet and circuit switches?

flowchart LR subgraph Packet ["Packet Flows"] PF["Match: Switch Port, MAC src/dst,\nEth type, VLAN ID, IP src/dst,\nProt, TCP sport/dport → Action"] end subgraph Circuit ["Circuit Flows"] CF["Match: Signal Type, VCG → Action"] end PF <-->|"Same Flow abstraction"| CF

Once we have a Flow abstraction… does it really matter what the underlying switching technology is — packet or circuit?


Mapping Packet Flows to Circuit Flows

flowchart LR subgraph Node1 ["Node A"] PSF1["Packet Switch Fabric"] OF1["OpenFlow (software)"] RAS1["RAS"] end subgraph Node2 ["Node B"] PSF2["Packet Switch Fabric"] TDM["TDM Circuit Switch Fabric"] OF2["OpenFlow (software)"] RAS2["RAS"] end PSF1 -->|"IP 10.12.3.4 + VLAN2, P1\n→ VLAN2 / VCG3"| TDM TDM -->|"VCG7 → VLAN 1025 + VLAN7, P1\n→ VLAN7 / VCG7"| PSF2

Simple Unified Control Plane

flowchart TB C["Simple Unified\nControlled Plane"] C --> FN["Flow Network"] FN --> PS["Packet Switches"] FN --> CS["Circuit Switches"] FN --> LS["Lambda Switches"] FN --> FS["Fiber Switches"]

Packet and circuit flows — commonly controlled and managed — switching at different granularities: packet · time-slot · lambda · fiber.


OpenFlow Enables Innovation

mindmap root((OpenFlow Protocol)) Routing Traffic Engineering Network Recovery Congestion Control QoS Security Discovery Power Management
  • Service provider no longer handcuffed to platform limitations
  • Returns control to the stakeholders of the network
  • Enables open-source networking

Examples of What We Could Try

Congestion Control

flowchart TB CC["Congestion\nControl App"] -->|"flow rules"| C["Controller"] C --> N["Network of\nFlow Switches"]

Traffic Engineering

flowchart TB TE["Traffic\nEngineering App"] -->|"flow rules"| C["Controller"] C --> N["Network of\nFlow Switches"]

Examples Others May Try

  • All-optical network control
  • New ways to plan and dimension networks
  • Network recovery
  • Network discovery
  • Power management
  • Things we haven’t thought of…

Summary

  • OpenFlow lets the research community try new ideas at scale — in networks with both packet and circuit switches — leading to technology transfer from research to industry (a transfer that barely exists today).

  • Suggests a future network architecture — new ideas tested in one experimental slice before deployment in the production slice.

  • Next step: Convincing circuit switch vendors to add the OpenFlow interface.

🔗 http://openflowswitch.org