-
Notifications
You must be signed in to change notification settings - Fork 8
IETF 106 Hackathon
When: November 16th (9:00-22:00) and 17th (9:00-16:00), 2019.
Where: IETF venue
Room: TBD
Remote participation: https://meet.jit.si/t2trg-wishi-hackathon-ietf106
Notes: https://hackmd.io/@G-qLhvWWQ5i-HVrfquEHWA/BJzJIC3sS/edit
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)
Code available in Github.
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.