Reprogramming Wireless Sensor Networks by Using SDN …Reprogramming Wireless Sensor Networks by...

1
Reprogramming Wireless Sensor Networks by Using SDN-WISE: a Hands-On Demo. Laura Galluccio 1 , Sebastiano Milardo 2 , Giacomo Morabito 1 , and Sergio Palazzo 1 . 1 Electric, Electronics and Computer Engineering Department, University of Catania, Italy 2 CNIT Research Unit, Catania, Italy Abstract SDN-WISE is a Software Defined Networking solution for Wireless Sensor Networks (WSNs). This work shows the peculiarities of SDN-WISE, and how easy it is programming the behavior of a WSN by exploiting the SDN-WISE features. Features SDN-WISE introduces some novel functions which are particularly convenient in WSNs: I Statefulness I Flexible definition of rules I Support of duty cycles I Support of multitenancy I Lots of deployment options and programming languages I Integration with simulation environments Design and Implementation Figure: SDN-WISE@INFOCOM testbed and protocol stack. Downloads The source code of the controller and the firmware are available under GPL 3.0 licence on GitHub. For more information please visit http://sdn-wise.dieei.unict.it. Use Case Figure: Two controllers operating on the same network. Testbed I Sensor nodes: . Embit IEEE 802.15.4 boards (EMB-Z2530PA) . 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 I Control plane: . WISEVisor + Controllers hosted in the same PC . Controllers implemented in Java Figure: SDN-WISE@University of Catania testbed. Conclusions SDN-WISE reduces the amount of information exchanged between sensors and the SDN controllers by using a stateful approach and provides a new level of abstraction which allows several logical WSNs to coexist over the same set of sensor nodes. Acknowledgement This work was supported by the 7th Framework Program of the European Commission within the NEWCOM# project and by MIUR under the SIGMA contract. Matching Rule Matching Rule Matching Rule Ac/on Stats Operator Size Loca.on Offset Value Operator Size Loca.on Offset Value Operator Size Loca.on Offset Value Type Mul.match Loca.on Offset Value TTL Count = 2 PACKET SRC_ADDR B >= 2 PACKET DATA Xthr = 1 STATE_ARR 0 0 MODIFY TRUE STATE_ARRAY 0 1 255 0 = 2 PACKET SRC_ADDR B < 2 PACKET DATA Xthr = 1 STATE_ARR 0 1 MODIFY TRUE STATE_ARRAY 0 0 255 0 = 2 PACKET SRC_ADDR B FORWARD FALSE PACKET 0 D 255 0 = 2 PACKET SRC_ADDR A = 1 STATE_ARRAY 0 0 DROP FALSE PACKET 0 100% 255 0 = 2 PACKET SRC_ADDR A = 1 STATE_ARRAY 0 1 FORWARD FALSE PACKET 0 D 255 0 Figure: WISE Table for use case 1. http://sdn-wise.dieei.unict.it [email protected]

Transcript of Reprogramming Wireless Sensor Networks by Using SDN …Reprogramming Wireless Sensor Networks by...

  • Reprogramming Wireless Sensor Networks byUsing SDN-WISE: a Hands-On Demo.

    Laura Galluccio1, Sebastiano Milardo2, Giacomo Morabito1, and Sergio Palazzo1.1Electric, Electronics and Computer Engineering Department, University of Catania, Italy

    2CNIT Research Unit, Catania, Italy

    Abstract

    SDN-WISE is a Software Defined Networking solution forWireless Sensor Networks (WSNs). This work shows thepeculiarities of SDN-WISE, and how easy it is programmingthe behavior of a WSN by exploiting the SDN-WISE features.

    Features

    SDN-WISE introduces some novel functions which areparticularly convenient in WSNs:

    I StatefulnessI Flexible definition of rulesI Support of duty cyclesI Support of multitenancyI Lots of deployment options and programming languagesI Integration with simulation environments

    Design and Implementation

    Figure: SDN-WISE@INFOCOM testbed and protocol stack.

    Downloads

    The source code of the controller and the firmware areavailable under GPL 3.0 licence on GitHub. For moreinformation please visithttp://sdn-wise.dieei.unict.it.

    Use Case

    Figure: Two controllers operating on the same network.

    Testbed

    I Sensor nodes:. Embit IEEE 802.15.4 boards (EMB-Z2530PA). 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

    I Control plane:. WISEVisor + Controllers hosted in the same PC. Controllers implemented in Java

    Figure: SDN-WISE@University of Catania testbed.

    Conclusions

    SDN-WISE reduces the amount of information exchangedbetween sensors and the SDN controllers by using a statefulapproach and provides a new level of abstraction which allowsseveral logical WSNs to coexist over the same set of sensornodes.

    Acknowledgement

    This work was supported by the 7th Framework Program ofthe European Commission within the NEWCOM# project andby MIUR under the SIGMA contract.

    Created with LATEXbeamerposter http://sdn-wise.dieei.unict.it

    Matching  Rule   Matching  Rule   Matching  Rule   Ac/on   Stats  Operator   Size   Loca.on   Offset   Value   Operator   Size   Loca.on   Offset   Value   Operator   Size   Loca.on   Offset   Value   Type   Mul.match   Loca.on   Offset   Value   TTL   Count  

    =   2   PACKET   SRC_ADDR   B   >=   2   PACKET   DATA   Xthr   =   1   STATE_ARR   0   0   MODIFY   TRUE   STATE_ARRAY   0   1   255   0  

    =   2   PACKET   SRC_ADDR   B   <   2   PACKET   DATA   Xthr   =   1   STATE_ARR   0   1   MODIFY   TRUE   STATE_ARRAY   0   0   255   0  

    =   2   PACKET   SRC_ADDR   B   -‐     -‐     -‐      -‐   -‐     -‐     -‐     -‐     -‐     -‐     FORWARD   FALSE   PACKET   0   D   255   0  

    =   2   PACKET   SRC_ADDR   A   =   1   STATE_ARRAY   0   0   -‐     -‐     -‐     -‐     -‐     DROP   FALSE   PACKET   0   100%   255   0  

    =   2   PACKET   SRC_ADDR   A   =   1   STATE_ARRAY   0   1   -‐     -‐     -‐     -‐     -‐     FORWARD   FALSE   PACKET   0   D   255   0  

    Figure: WISE Table for use case 1.

    http://sdn-wise.dieei.unict.it [email protected]

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