developing iot solutions with opendaylight · developing iot solutions with opendaylight lionel...

25
Developing IoT Solutions with OpenDayLight Lionel Florit ([email protected]) Principal, Office of the CTO April 6 th 2016 The role of the middleware

Upload: others

Post on 20-May-2020

6 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Developing IoT Solutions with OpenDayLight · Developing IoT Solutions with OpenDayLight Lionel Florit (lflorit@cisco.com) Principal, Office of the CTO April 6th 2016 The role of

Developing IoT Solutions with OpenDayLight

Lionel Florit ([email protected]) Principal, Office of the CTO

April 6th 2016

The role of the middleware

Page 2: Developing IoT Solutions with OpenDayLight · Developing IoT Solutions with OpenDayLight Lionel Florit (lflorit@cisco.com) Principal, Office of the CTO April 6th 2016 The role of

2

McKinsey, June 2015: The Internet of things: mapping the value beyond the hype

Page 3: Developing IoT Solutions with OpenDayLight · Developing IoT Solutions with OpenDayLight Lionel Florit (lflorit@cisco.com) Principal, Office of the CTO April 6th 2016 The role of

3

Body Cameras Quick Facts

In the US, funding for 50,000 cameras, list price ~ $400

5 years archives

Largest deployment to date: Oakland 600 cameras

The market is in full expansion

Page 4: Developing IoT Solutions with OpenDayLight · Developing IoT Solutions with OpenDayLight Lionel Florit (lflorit@cisco.com) Principal, Office of the CTO April 6th 2016 The role of

4

Solution Overview

4

Page 5: Developing IoT Solutions with OpenDayLight · Developing IoT Solutions with OpenDayLight Lionel Florit (lflorit@cisco.com) Principal, Office of the CTO April 6th 2016 The role of

5

•  Buffer with or without sound?

•  Camera with or without a monitor on it?

•  Officers view the videos before writing the incident reports?

•  Should there always be a blinking red light?

•  Cameras' screens turned outward?

•  Profound effect on how the cameras are used and who benefits from them

Not All Cameras are Created Equal…

Page 6: Developing IoT Solutions with OpenDayLight · Developing IoT Solutions with OpenDayLight Lionel Florit (lflorit@cisco.com) Principal, Office of the CTO April 6th 2016 The role of

6

Solution Overview (revisited)

6

Video Mgt

App1

IoT Middleware

Video Mgt

App2

Camera Vendor B

Page 7: Developing IoT Solutions with OpenDayLight · Developing IoT Solutions with OpenDayLight Lionel Florit (lflorit@cisco.com) Principal, Office of the CTO April 6th 2016 The role of

7

Enters the IoT MiddleWare

IoT Apps

CRM Data Repository

Devices

Standard APIs Protocol Plugins

Standard and Published APIs

Create, Retrieve, Update, Delete, Notify

Data Reasoning

ERP

Page 8: Developing IoT Solutions with OpenDayLight · Developing IoT Solutions with OpenDayLight Lionel Florit (lflorit@cisco.com) Principal, Office of the CTO April 6th 2016 The role of

© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 8

•  Project started in December 2014 •  Goal:

•  open source IoT Middleware over OpenDaylight •  Based on oneM2M •  Basic set of resources supported

•  Delivery: June 2015, Lithium release

•  https://wiki.opendaylight.org/view/IoTDM:Main

8

Page 9: Developing IoT Solutions with OpenDayLight · Developing IoT Solutions with OpenDayLight Lionel Florit (lflorit@cisco.com) Principal, Office of the CTO April 6th 2016 The role of

© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 9

Analytics 3rd Party

Integration (Salesforce, azure

etc)

Data Lake Dashboards

GUI Device

Provisioning Account Mgt Core

oneM2M

Plugins Infra

Other Middlewares

Security

Devices

Export Services

Client Binding

Physical World

Page 10: Developing IoT Solutions with OpenDayLight · Developing IoT Solutions with OpenDayLight Lionel Florit (lflorit@cisco.com) Principal, Office of the CTO April 6th 2016 The role of

© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 10

•  Most difficult thing to do

•  Goal: make it as painless as possible to bring in devices

•  Several Options in increasing order of difficulty •  oneM2M Devices & systems (we have clients) •  Devices & systems supporting RestFull APIs and JSON/XML payloads

(many) •  Devices & systems using complex protocols •  Proprietary systems

Page 11: Developing IoT Solutions with OpenDayLight · Developing IoT Solutions with OpenDayLight Lionel Florit (lflorit@cisco.com) Principal, Office of the CTO April 6th 2016 The role of

© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 11

•  #1 problem in IoT: get the data off the things and into a format everybody understands

•  For the IoT ecosystem, doing so with IoTDM means: 1.  Convert your data into a standard format (240 member companies) 2.  Write your plugins in an open source context 3.  As a result: device manufacturers open their data not just to a specific

platform but to the world

•  OpenSource + Open Standard

Page 12: Developing IoT Solutions with OpenDayLight · Developing IoT Solutions with OpenDayLight Lionel Florit (lflorit@cisco.com) Principal, Office of the CTO April 6th 2016 The role of

12

From�Technical�Bodies�to�Partnerships

ETSI TC M2METSI�TC�M2Mestablished�2008.�

First�set�of�M2M�platform�standards�to�market�in�2011.

oneM2M�Partnership�pproject�established�July 2012

© ETSI 2012. All rights reserved18

July�2012.

oneM2M Background

•  The purpose of oneM2M is to develop technical specifications of a common embedded IoT Middleware

•  Enables interoperability amongst the myriad of devices with M2M application servers •  Partnership project founded by 7 SDOs to minimize standards fragmentation

•  USA: TIA, ATIS •  Japan: ARIB, TTC •  China: CCSA •  Europe: ETSI •  Korea: TTA

•  Focus on M2M common services applicable to any sectors (Energy, Home, Transportation etc.) 1st Interop Sept 2015, 23 companies participated

12

Page 13: Developing IoT Solutions with OpenDayLight · Developing IoT Solutions with OpenDayLight Lionel Florit (lflorit@cisco.com) Principal, Office of the CTO April 6th 2016 The role of

13

RESTful Architecture

•  All IoT entities are represented in a tree as “Resources”: •  Applications, Devices, Data, Groups, Access Rights, Billing Policies, etc.

•  Attributes of resources describe how the system manages the resources (time to live, max byte size etc)

•  The tree representation is standardized, not its implementation (could be XML, YANG, Hadoop etc…)

•  By understanding a common tree structure, IoT components can interoperate •  Resources are manipulated using CRUD verbs

Page 14: Developing IoT Solutions with OpenDayLight · Developing IoT Solutions with OpenDayLight Lionel Florit (lflorit@cisco.com) Principal, Office of the CTO April 6th 2016 The role of
Page 15: Developing IoT Solutions with OpenDayLight · Developing IoT Solutions with OpenDayLight Lionel Florit (lflorit@cisco.com) Principal, Office of the CTO April 6th 2016 The role of

© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 15

Root

LocationAE

FinderOutBox

CMXNotifiier

Mac or IP Add to look for goes here

Response

Things

MacAddOfPhone1

LocCMX

X Y MapID

LocIBeacon

IBeaconID

Loc Method X

MacAddOfPhone2

MacAddOfPhoneN BeaconID1

LocGPS LocBeacon

X Y MapID

BeaconID2

MapRepo

MapID1 MapID1

•  Designing the tree is part of the IoT Integrator’s task •  Plugin needs to know where to write the payload in the

resource tree

Page 16: Developing IoT Solutions with OpenDayLight · Developing IoT Solutions with OpenDayLight Lionel Florit (lflorit@cisco.com) Principal, Office of the CTO April 6th 2016 The role of

© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 16

Src IEEE 1451 Physical World

Device Plugin

CoAP/HTTP/MQTT

JSON/XML

L2/L3

Note: payload may come from a device or a gateway or a system

Device or DMO

Collector

Page 17: Developing IoT Solutions with OpenDayLight · Developing IoT Solutions with OpenDayLight Lionel Florit (lflorit@cisco.com) Principal, Office of the CTO April 6th 2016 The role of

© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 17

CoAP/HTTP/MQTT

JSON/XML

L2/L3

Core oneM2M

Verifications (ACP, Format…)

Content Parsing and device ID

Network Binding

Push/Pull

Plugin Infra

Page 18: Developing IoT Solutions with OpenDayLight · Developing IoT Solutions with OpenDayLight Lionel Florit (lflorit@cisco.com) Principal, Office of the CTO April 6th 2016 The role of
Page 19: Developing IoT Solutions with OpenDayLight · Developing IoT Solutions with OpenDayLight Lionel Florit (lflorit@cisco.com) Principal, Office of the CTO April 6th 2016 The role of

© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 19

Analytics 3rd Party

Integration (Salesforce, azure

etc)

Data Export Dashboards

Core oneM2M

Plugins Infra

Export Services

Cassandra Hbase H2

HBase Plugin

Cassan- dra Plugin

H2 Plugin

TSDR 3rd party oneM2M Kafka DSLink

TSDR Data Model

TSDR Persistence Service

oneM2M Apps

Page 20: Developing IoT Solutions with OpenDayLight · Developing IoT Solutions with OpenDayLight Lionel Florit (lflorit@cisco.com) Principal, Office of the CTO April 6th 2016 The role of

© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 20

IoT App (Grafana)

Core oneM2M

Plugins Infra

Export Services

Cassandra Hbase H2

HBase Plugin

Cassan- dra Plugin

H2 Plugin

TSDR API

TSDR Data Model

TSDR Persistence Service

TSDR Buffer

Page 21: Developing IoT Solutions with OpenDayLight · Developing IoT Solutions with OpenDayLight Lionel Florit (lflorit@cisco.com) Principal, Office of the CTO April 6th 2016 The role of

© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 21

Core oneM2M

Plugins Infra

Export Services

Plugin

HTTP

JSON/XML

L2/L3

Page 22: Developing IoT Solutions with OpenDayLight · Developing IoT Solutions with OpenDayLight Lionel Florit (lflorit@cisco.com) Principal, Office of the CTO April 6th 2016 The role of
Page 23: Developing IoT Solutions with OpenDayLight · Developing IoT Solutions with OpenDayLight Lionel Florit (lflorit@cisco.com) Principal, Office of the CTO April 6th 2016 The role of

© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 23

•  LWM2M Interworking Underway (TCS)…

•  ETRI volunteered to do OIC

LWM2M OIC

Page 24: Developing IoT Solutions with OpenDayLight · Developing IoT Solutions with OpenDayLight Lionel Florit (lflorit@cisco.com) Principal, Office of the CTO April 6th 2016 The role of

© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 24

•  Middleware standards are maturing (far from over)

•  Interoperability is a major stumbling block

•  A solution is to adopt industry standard middleware(s)

•  A practical way forward is plugin development in open-source context

Page 25: Developing IoT Solutions with OpenDayLight · Developing IoT Solutions with OpenDayLight Lionel Florit (lflorit@cisco.com) Principal, Office of the CTO April 6th 2016 The role of

Thank you.