A SDN solution for Wireless Sensor Networks DIEEI University of - - PowerPoint PPT Presentation

a sdn solution for wireless sensor networks
SMART_READER_LITE
LIVE PREVIEW

A SDN solution for Wireless Sensor Networks DIEEI University of - - PowerPoint PPT Presentation

A SDN solution for Wireless Sensor Networks DIEEI University of Catania http://sdn-wise.dieei.unict.it Outline Motivations Related work SDN-WISE Prototype and testbed Performance evaluation Conclusions and


slide-1
SLIDE 1

DIEEI University of Catania

A SDN solution for Wireless Sensor Networks

http://sdn-wise.dieei.unict.it

slide-2
SLIDE 2

Outline

§ Motivations § Related work § SDN-WISE § Prototype and testbed § Performance evaluation § Conclusions and future work

http://sdn-wise.dieei.unict.it

slide-3
SLIDE 3

Motivations

http://sdn-wise.dieei.unict.it

slide-4
SLIDE 4

A few facts about wireless sensor networks

§ Mature technology since

early 2000s

§ Challenging

communication & networking environment

§ Requirements extremely

application specific The bottom-line… There is nothing like a one- fits-all solution Upsides:

§ Large number of solutions

proposed

§ Deep understanding of the WSN

domain

§ Zillions of papers, citations,

academic promotions, projects

Downsides: § High solution specialization § Market fragmentation § Burden on application developers § Low reusability

http://sdn-wise.dieei.unict.it

slide-5
SLIDE 5

The consequence…

2005 2010 2015 2020 Time Market size 2004 2009 2014

It’s not taking off!

Always there…

http://sdn-wise.dieei.unict.it

slide-6
SLIDE 6

Our objectives

1.

Overcome fragmentation

2.

Ease life of developers

http://sdn-wise.dieei.unict.it

slide-7
SLIDE 7

Related work

http://sdn-wise.dieei.unict.it

slide-8
SLIDE 8

SDN & OpenFlow

§ Software Defined Networking (SDN) clearly

separates:

§ Data plane: run by network Switches § Control plane: implemented by a software program

running on a server (the Controller)

§ Modifying the behavior of the network as easy as

it is installing a new piece of software on a PC

§ OpenFlow is the most popular implementation of

the SDN paradigm

http://sdn-wise.dieei.unict.it

slide-9
SLIDE 9

SDN in WSNs

§ Few attempts to extend SDN to WSNs:

§ Software Defined Wireless Networks (SDWN),

2012

§ Sensor OpenFlow, 2012

§ Different requirements:

Traditional wired networks

§ Velocity

WSNs

§ Efficiency § Flexibility § Memory occupancy

http://sdn-wise.dieei.unict.it

slide-10
SLIDE 10

SDN-WISE

http://sdn-wise.dieei.unict.it

slide-11
SLIDE 11

SDN-WISE: Basic concepts

§ Directly derived by OpenFlow § Separation between

§ data plane (executed by sensor nodes) § control plane (executed by the Controller)

§ When an event (e.g., the arrival of a packet) occurs sensor nodes

behave as specified in the WISE Table

§ If there is no relevant information in the WISE Table à Ask the

Controller

§ The Controller replies sending a new entry for the WISE Table § A simple protocol defined to allow nodes to:

§ Learn the shortest path towards the (closest) sink(s) § Discover the neighboring nodes § Periodically report local information to the Controller (through the

sink)

slide-12
SLIDE 12

WISE Table

slide-13
SLIDE 13

SDN-WISE Architecture

! !

!"#$%"&' &(%)* !"#$%"&' &(%)+

,-. /0! 123 4#,,

0,,&4!0$4"#

%/4)

)!"!#$!$%&'(

1"% 54/6&0$"%(

$3 (!"!#$!$%&')

1"%)%(0& )#($2"%*

,-. 54/ /0!) 54/ 123 54/ 4#,, 54/

0,,&4!0$4"#)54/(

$3) 54/

245('745"%

)*+,-.('-/* 012345*/('-/*

%/4

5"0, $!,84, $!,84,

%9:;) 5<=> 5<?@;:A9B 5<=>

3(74!(

65C $!,84,

/ ! 6

4((( DEFG+HGI

"/#($)JJ

)6+7

$","&"K.)/0#0K(% L 018*//*/(,9,5*1

http://sdn-wise.dieei.unict.it

slide-14
SLIDE 14

Major features (compared to OpenFlow)

  • 1. Statefulness
  • 2. Flexible definition of rules
  • 3. Support of duty cycles
  • 4. Support of multitenancy (beyond slicing)
  • 5. Lots of deployment options and

programming languages

  • 6. Integration with simulation environments

(OMNET++ & OPNET)

http://sdn-wise.dieei.unict.it

slide-15
SLIDE 15

Statefulness

§ OpenFlow is stateless § SDN-WISE is stateful: a buffer of memory is

reserved for state information

§ Rules can state info to classify packets in flows § Actions can modify state info

§ Why? Reduce the number of interactions with

the Controller if local policies must be applied

§ 3 exemplary uses of the state…

http://sdn-wise.dieei.unict.it

slide-16
SLIDE 16

Exemplary use of the state (1)

§ Conditional forwarding:

§ C must forward packets from A only, if the

values coming from B are higher than a threshold ! " # $

%&'()

http://sdn-wise.dieei.unict.it

slide-17
SLIDE 17

Exemplary use of the state (2)

§ Support of QoS:

§ A congested node must give different priorities

to different flows

§ Level of congestion stored as state information § Different drop probabilities given to different

flows in the WISE-table in case of congestion

10 20 30 40 50 60 100 200 300 400 500 600 700 800 900 200 400 600 800 1000 1200 1400 1600 1800 2000

Traffic (Kbs) Drop Packet Time

Drop Packets with SDN‐WISE Stateful

Level Priority 3 Level Priority 2 Level Priority 1 Traffic

http://sdn-wise.dieei.unict.it

slide-18
SLIDE 18

Exemplary use of the state (3)

§ Multipath routing

B A C If s = 1, fwd to B and set s = 2

http://sdn-wise.dieei.unict.it

slide-19
SLIDE 19

Flexible definition of rules

§ Rules consider:

§ <= 3 windows (<= 2 byte) in the packet (in any

position), or

§ any portion (<= 2 byte) of the memory for

state

§ any relational operator (=, <, >, <=, >=, !=,

Kalman filters)

§ Slower than OpenFlow but higher efficiency

and more sophisticated programmability

http://sdn-wise.dieei.unict.it

slide-20
SLIDE 20

Support of duty cycle

§ The set of actions has been enlarged to

support duty cycle

§ It is possible to turn the radio off for a

certain time interval

http://sdn-wise.dieei.unict.it

slide-21
SLIDE 21

Multitenancy (beyond slicing)

§ Slicing assigns each packet to only one tenant § In WSN the same piece of data can be of

interest of several applications

§ WISE-Visor a new layer which abstracts the real

network and creates (different) views for different tenants

§ At each node a packet belongs to all tenants that

agree on its treatment

§ When there is a disagreement, a new copy of the

packet is created

http://sdn-wise.dieei.unict.it

slide-22
SLIDE 22

Lots of deployment options and programming languages

Simple Complex

! !

!"""#$%&'()'*#+,-., /01234 ! ! ! ! ! "#$%&'() *+,#- 56 /789:;9;1<2=#>1?;@9A1B9;1<2= 6<2;?<AAC?D#E#01F@A9;1<24

! !

!"""#$%&'()'*#+,-., /01234 "5678878#09:;75 /<8=>;=;1?2#@?A#A7=B#27;C?A34 DE+0#E?875 !"#$%"$# 07AF7A /G!0"HI1:?A4 07AF7A /J?2;A?BB7A#(4 07AF7A /J?2;A?BB7A#&4 &'()!( .E! 0K<L * * * * * +$",-%. /-0$, &'()!(

http://sdn-wise.dieei.unict.it

slide-23
SLIDE 23

Prototype and testbed

http://sdn-wise.dieei.unict.it

slide-24
SLIDE 24

Prototype

§ Sensor nodes: Embit IEEE 802.15.4 boards

(EMB-Z2530PA)

§ 2.4 GHz ISM § Texas Instruments CC2530 § Memory: 8 kB RAM + 256 kB Flash memory § 40 kB of memory used for MAC (TIMAC v.1.4.0) § 10 kB of memory used for SDN-WiSe

§ Control plane: WISEVisor + Controllers hosted in

the same PC

§ Intel(R) Core(TM) 2 CPU, 2.40 GHz § 4GB of RAM § Windows 7, 32 bit § Controllers implemented Java 7

http://sdn-wise.dieei.unict.it

slide-25
SLIDE 25

Testbed

http://sdn-wise.dieei.unict.it

slide-26
SLIDE 26

Performance results

http://sdn-wise.dieei.unict.it

slide-27
SLIDE 27

Unicast RTT

slide-28
SLIDE 28

Unicast RTT

slide-29
SLIDE 29

Multicast RTT

slide-30
SLIDE 30

Multicast RTT

slide-31
SLIDE 31

Conclusions and future work

http://sdn-wise.dieei.unict.it

slide-32
SLIDE 32

Conclusions

§ SDN-WISE is a SDN solution for WSNs § SDN-WISE has several specific features

designed to achieve efficiency in WSNs

§ A prototype of SDN-WISE has been

implemented and is available for download: http://sdn-wise.dieei.unict.it

§ EuWIN facility (Newcom#) has been exploited

to run experimentation

§ Performance comparison has been carried out

with respect to ZigBee and 6LOWPAN

http://sdn-wise.dieei.unict.it

slide-33
SLIDE 33

Current work

§ Implement a framework for in-network

processing in SDN-WISE

§ MapReduce approach

§ Implementation in Contiki § Integration with Open Network Operating

System (ONOS)

http://sdn-wise.dieei.unict.it

slide-34
SLIDE 34

Q&A

http://sdn-wise.dieei.unict.it