-
Notifications
You must be signed in to change notification settings - Fork 8
IETF 105 Hackathon
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
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.
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
- 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 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.
The Carrier Grade Coffee Machine
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
For more common resources and tools from last hackathon, see the IETF 104 hackathon page.
-
CoRAL at T2TRG IETF 103 (see slide 52 ->)
- Have newcommer documentation
- Exchange data between implementations of the latest draft
- There is an example coffee machine client application now at https://gitlab.com/chrysn/micrurus/blob/master/contrib/coffee-mug.py; it has successfully acted on CoRAL forms provided by a server. The code is a terrible layering violation in itself -- but that's part of figuring out where those layers actually run.
- There's nice incomprehensible graphs to it