Skip to content
Ari Keränen edited this page Jul 26, 2019 · 25 revisions

Logistics

When: July 20th (9:00-22:00) and 21st (9:00-16:00), 2019.

Where: Fairmont Queen Elizabeth (IETF hotel)

Room: Centre Ville, Ground Floor

Remote participation: https://meet.jit.si/t2trg-wishi-hackathon-ietf105

Notes: https://etherpad.tools.ietf.org/p/notes-t2trg-wishi-hackathon-ietf105

Planned hacking topics: see hackathon planning page

Proto setups

IPSO to OneDM translator

A simple translator that can generate from IPSO/LwM2M model schema files OneDM Simple Description Format (SDF) files. The translator is currently available as a web service where you can POST a LwM2M/IPSO XML schema file and it returns an SDF description (or error if translation failed).

For example:

curl --data-binary "@3308.xml" http://wishi.nomadiclab.com:8083/ipso2odm

(assuming you have the 3308.xml schema file in your current directory)

Note that the translator has not been yet updated for the latest SDF format and doesn't support all SDF/IPSO model features.

Code available in Github.

LwM2M TD generator

Program generating W3C WoT Thing Descriptions from information about LwM2M clients registered to LwM2M management server. Updated to use the latest TD CR.

Thing Description of of live demo LwM2M device: in plain JSON and Pretty print JSON

CDDL tooling

  • Converter from json-schema-org-04 to CDDL coming up
  • CDDL JSON representation ("YIN" style)

To be made available in a "gem" like the existing CDDL tool.

YOUPI

YOUPI is a way to add information to a yang model in order to be able to parse binary information and to convert it to another type like JSON or CBOR. It is possible to add semantic information as well, so that JSON-LD is generated.

To play with this, you can see the example.json file which contains base64 encoded binary data and base64 encoded yang model. Please refer to device.yang for yang file example.

Example invocation:

curl -u ietf:t2trg --basic https://youpi-demo.acklio.app:8443/process -d @./examples/youpi/example.json

After the hackathon a draft was made to describe the YOUPI format. It is still quite new, but anyone interested in the idea can contribute there by creating issue or proposing changes.

Reference scenarios

The Carrier Grade Coffee Machine

Implementations

RIOT implementation of CoRAL: https://github.com/leandrolanzieri/RIOT/tree/pr/sys-coral

Python implementation of CoRAL: https://gitlab.com/chrysn/micrurus

IPSO to OneDM translator: https://github.com/EricssonResearch/ipso-odm

Common resources & tools

For more common resources and tools from last hackathon, see the IETF 104 hackathon page.

Background materials

CoRAL & hypermedia

Data model convergence

Possible goals and started activities

CoRAL

Clone this wiki locally