26
Æ therFlow: Principled Wireless Support in SDN Muxi Yan, Jasson Casey, Prithviraj Shome, and Alex Sprintson Texas A&M University Andrew Sutton University of Akron 11/10/2015 1

Æ therFlow: Principled Wireless Support in SDNsuccess.cse.tamu.edu/CoolSDN2015/ppt/Yan-coolsdn2015.pdf · Æ therFlow: Principled Wireless Support in SDN Muxi Yan, Jasson Casey,

  • Upload
    others

  • View
    6

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Æ therFlow: Principled Wireless Support in SDNsuccess.cse.tamu.edu/CoolSDN2015/ppt/Yan-coolsdn2015.pdf · Æ therFlow: Principled Wireless Support in SDN Muxi Yan, Jasson Casey,

Æ therFlow: Principled Wireless Support in SDN

Muxi Yan, Jasson Casey, Prithviraj Shome, and Alex Sprintson

Texas A&M University

Andrew Sutton

University of Akron

11/10/2015 1

Page 2: Æ therFlow: Principled Wireless Support in SDNsuccess.cse.tamu.edu/CoolSDN2015/ppt/Yan-coolsdn2015.pdf · Æ therFlow: Principled Wireless Support in SDN Muxi Yan, Jasson Casey,

Motivation:

• Current SDN ecosystem does not support

wireless (WiFi) networks

– No support for wireless in published SDN standards

• No true network visibility with respect to wireless

protocols

• Current distributed AP functionality is limited,

– difficult to provide certain behavior

Page 3: Æ therFlow: Principled Wireless Support in SDNsuccess.cse.tamu.edu/CoolSDN2015/ppt/Yan-coolsdn2015.pdf · Æ therFlow: Principled Wireless Support in SDN Muxi Yan, Jasson Casey,

Goals:

• Bring wireless networking into the SDN

ecosystem

• Provide a unified interface for both wireless and

wireline components

• Support diverse wireless services

– Multiple SSID, Unified AAA

– User/Group/World based treatment

– Facilitated mobility

Page 4: Æ therFlow: Principled Wireless Support in SDNsuccess.cse.tamu.edu/CoolSDN2015/ppt/Yan-coolsdn2015.pdf · Æ therFlow: Principled Wireless Support in SDN Muxi Yan, Jasson Casey,

Our approach

• Principled extensions to OpenFlow

– General definition of wireless abstractions within an

existing SDN framework.

– Incremental modifications to the existing SDN

network elements.

• Present a solution which is

– Easily extended to multiple wireless technologies

– Not tailored to a single application

Page 5: Æ therFlow: Principled Wireless Support in SDNsuccess.cse.tamu.edu/CoolSDN2015/ppt/Yan-coolsdn2015.pdf · Æ therFlow: Principled Wireless Support in SDN Muxi Yan, Jasson Casey,

Related Work

• OpenRoads (Yap et al. 09’)

• Odin (Suresh et al. 12’) OpenSDWN (Schulz-Zander et

al. 15’)

• SoftCell (Jin et al. 13’), SoftRAN (Gudipati et al. 13’)

• OpenRadio (Bansal et al. 12)

• ONF Wireless and Mobile Working Group

Page 6: Æ therFlow: Principled Wireless Support in SDNsuccess.cse.tamu.edu/CoolSDN2015/ppt/Yan-coolsdn2015.pdf · Æ therFlow: Principled Wireless Support in SDN Muxi Yan, Jasson Casey,

Extensions to OpenFlow

• Switch extensions

– Abstraction of wireless interfaces

– Control API for wireless

interfaces

• Protocol extensions

– Add extended messages to

protocol

Page 7: Æ therFlow: Principled Wireless Support in SDNsuccess.cse.tamu.edu/CoolSDN2015/ppt/Yan-coolsdn2015.pdf · Æ therFlow: Principled Wireless Support in SDN Muxi Yan, Jasson Casey,

Switch Abstractions

• TinyNBI Model (Casey et al. 14’)

– Data plane components

Page 8: Æ therFlow: Principled Wireless Support in SDNsuccess.cse.tamu.edu/CoolSDN2015/ppt/Yan-coolsdn2015.pdf · Æ therFlow: Principled Wireless Support in SDN Muxi Yan, Jasson Casey,

Switch Abstractions

Abilities/limitations of this abstraction; read only

Configured state of this application; readable or writable

Observed metrics for this abstraction; read only

Notifications sent by this abstraction

Page 9: Æ therFlow: Principled Wireless Support in SDNsuccess.cse.tamu.edu/CoolSDN2015/ppt/Yan-coolsdn2015.pdf · Æ therFlow: Principled Wireless Support in SDN Muxi Yan, Jasson Casey,

Switch Abstractions

• The controller interact with a component with its

provided API

– FeatureRequest - Datapath / capabilities

– FlowMod - Flow table / configuration

– PortMod - Port / event

– MultipartRequest - * / statistics

Page 10: Æ therFlow: Principled Wireless Support in SDNsuccess.cse.tamu.edu/CoolSDN2015/ppt/Yan-coolsdn2015.pdf · Æ therFlow: Principled Wireless Support in SDN Muxi Yan, Jasson Casey,

Wireless Interface Abstraction• New data plane component

– Wireless physical port

• Corresponds to a radio interface

– Wireless logical port

• Corresponds to an AP

• Maps to the corresponding wireless physical port

Page 11: Æ therFlow: Principled Wireless Support in SDNsuccess.cse.tamu.edu/CoolSDN2015/ppt/Yan-coolsdn2015.pdf · Æ therFlow: Principled Wireless Support in SDN Muxi Yan, Jasson Casey,

Radio Physical Port• Capabilities

– Supported IEEE 802.11

versions (b/g/n/ac/…)

– Supported channels

– Supported transmission

power

– Supported encryption and

authentication methods

• Configuration– IEEE 802.11 version

– Channel

– Transmission power

– Add/Remove AP

• Statistics

– Tx/Rx bytes

– Tx/Rx packets

– … (Same as port counters

in OpenFlow)

Capabilities

Configuration

Statistics

Events

Page 12: Æ therFlow: Principled Wireless Support in SDNsuccess.cse.tamu.edu/CoolSDN2015/ppt/Yan-coolsdn2015.pdf · Æ therFlow: Principled Wireless Support in SDN Muxi Yan, Jasson Casey,

802.11 MAC Logical Port• Capabilities/Configuration

– Physical port

– BSSID, SSID

– Encription/Authentication method

• Statistics

– Client association state

– Client RSSI

– Tx/Rx bytes

– Tx/Rx packets

• Events

– Probe

– Authentication/Deauthentication

– Association/Disassociation/

Reassociation

– 802.1X authorization completed

Page 13: Æ therFlow: Principled Wireless Support in SDNsuccess.cse.tamu.edu/CoolSDN2015/ppt/Yan-coolsdn2015.pdf · Æ therFlow: Principled Wireless Support in SDN Muxi Yan, Jasson Casey,

Protocol Extension

• Allow controllers to invoke APIs provided by new

data components

• Use Experimenter messages

• Define messages corresponding to each API

function and error

Page 14: Æ therFlow: Principled Wireless Support in SDNsuccess.cse.tamu.edu/CoolSDN2015/ppt/Yan-coolsdn2015.pdf · Æ therFlow: Principled Wireless Support in SDN Muxi Yan, Jasson Casey,

Benefits of Æ therFlow

• Provides explicit support for wireless radio

interfaces and wireless access points.

• Transparent to mobile stations (user devices)

• Provides an ability to

– handle wireless packets through an OpenFlow data

path

– remotely configure access points

– query mobile station capabilities and statistics

– report mobile station events

Page 15: Æ therFlow: Principled Wireless Support in SDNsuccess.cse.tamu.edu/CoolSDN2015/ppt/Yan-coolsdn2015.pdf · Æ therFlow: Principled Wireless Support in SDN Muxi Yan, Jasson Casey,

Implementation

• TP-LINK WR1043ND v2

– Nice OpenWRT support

• OpenWRT (Barrier Breaker)

• CPqD Software Switch (OF v1.3)

– User space software switch

hostapd

wlan0

eth0 eth1 eth2

SoftSwitch

Linux (OpenWRT)

eth4

Controller

Page 16: Æ therFlow: Principled Wireless Support in SDNsuccess.cse.tamu.edu/CoolSDN2015/ppt/Yan-coolsdn2015.pdf · Æ therFlow: Principled Wireless Support in SDN Muxi Yan, Jasson Casey,

Implementation

• Æ therFlow

– Connect hostapd and softswitch

– hostapd still manages mobile station

– Æ therFlow API related information are forwarded

between Soft Switch and hostapd

hostapd

wlan0

eth0 eth1 eth2

SoftSwitch

Linux (OpenWRT)

eth4

Controller

Page 17: Æ therFlow: Principled Wireless Support in SDNsuccess.cse.tamu.edu/CoolSDN2015/ppt/Yan-coolsdn2015.pdf · Æ therFlow: Principled Wireless Support in SDN Muxi Yan, Jasson Casey,

Experiment

• Layer 2 Handoff

– Client move from AP1

coverage to AP2

coverage

• Compare performance

– Bridge based

configuration

– Prediction-based

configuration

Traffic Generator

Switch

AP1 AP2

STA

Page 18: Æ therFlow: Principled Wireless Support in SDNsuccess.cse.tamu.edu/CoolSDN2015/ppt/Yan-coolsdn2015.pdf · Æ therFlow: Principled Wireless Support in SDN Muxi Yan, Jasson Casey,

Prediction Based Handoff• Handoff prediction

– Signal strength

– History event records

• Multicast

– Packets forwarded to both

APs prior to handoff

• Redirect

– Redirect packets based on

whether handoff occurs or

not

Traffic Generator

Switch

AP1 AP2

STA

Page 19: Æ therFlow: Principled Wireless Support in SDNsuccess.cse.tamu.edu/CoolSDN2015/ppt/Yan-coolsdn2015.pdf · Æ therFlow: Principled Wireless Support in SDN Muxi Yan, Jasson Casey,

Experiment

• Settings

– 3 Æ therFlow switches

– All switches connect to a OF

controller (not depicted)

– Two APs are spatially separated

apart

– STA uses open authentication

– STA and TG use static IP

address

Traffic Generator

Switch

AP1 AP2

STA

Page 20: Æ therFlow: Principled Wireless Support in SDNsuccess.cse.tamu.edu/CoolSDN2015/ppt/Yan-coolsdn2015.pdf · Æ therFlow: Principled Wireless Support in SDN Muxi Yan, Jasson Casey,

Experiment

• Settings

– Traffic Generator sends

UDP packets

• use iperf

• transmit at 9Mbps

– STA receives packets and

make measurements

• use iperf

• at 0.5s interval

Traffic Generator

Switch

AP1 AP2

STA

Page 21: Æ therFlow: Principled Wireless Support in SDNsuccess.cse.tamu.edu/CoolSDN2015/ppt/Yan-coolsdn2015.pdf · Æ therFlow: Principled Wireless Support in SDN Muxi Yan, Jasson Casey,

Experiment

• Prediction is out of scope

– Assume controller predicts

that a handoff occurs at a

time 𝑡 after experiment

starts

– STA moves at time 𝑡 − 1seconds after experiment

starts

Traffic Generator

Switch

AP1 AP2

STA

Page 22: Æ therFlow: Principled Wireless Support in SDNsuccess.cse.tamu.edu/CoolSDN2015/ppt/Yan-coolsdn2015.pdf · Æ therFlow: Principled Wireless Support in SDN Muxi Yan, Jasson Casey,

Experiment

• Procedure

– 5 rounds of experiments

for each configuration

• Linux bridge based

• Prediction based

• Performance metrics

– Average handoff duration

– Median rounds

• Throughput

• Packet loss

Traffic Generator

Switch

AP1 AP2

STA

Page 23: Æ therFlow: Principled Wireless Support in SDNsuccess.cse.tamu.edu/CoolSDN2015/ppt/Yan-coolsdn2015.pdf · Æ therFlow: Principled Wireless Support in SDN Muxi Yan, Jasson Casey,

Results

• Average handoff duration

– Handoff duration: the duration where throughputs

drop below 8Mbps

– Average over 5 rounds

• Bridge: 7.1s

• Æ therFlow: 5.9s

Page 24: Æ therFlow: Principled Wireless Support in SDNsuccess.cse.tamu.edu/CoolSDN2015/ppt/Yan-coolsdn2015.pdf · Æ therFlow: Principled Wireless Support in SDN Muxi Yan, Jasson Casey,

Results

• Median rounds throughput and packet loss rates

Page 25: Æ therFlow: Principled Wireless Support in SDNsuccess.cse.tamu.edu/CoolSDN2015/ppt/Yan-coolsdn2015.pdf · Æ therFlow: Principled Wireless Support in SDN Muxi Yan, Jasson Casey,

Conclusion

• Principled wireless extensions to SDN

– Switches

– Protocols

• Implementation

– Commercial wireless AP

– Software OpenFlow Switch

• Experiment

– The proposed system provides wireless interface

controlling capabilities to SDN controller

Page 26: Æ therFlow: Principled Wireless Support in SDNsuccess.cse.tamu.edu/CoolSDN2015/ppt/Yan-coolsdn2015.pdf · Æ therFlow: Principled Wireless Support in SDN Muxi Yan, Jasson Casey,

Thank you!

Questions?