This has been rewound a bit, there is no rewrite of iotlab anymore and this is not a WIP anymore. This is auto-generation of an iotlabclient package, using the new API swagger.
This is using openapi-generator with OAS3 support, this means:
validation of input parameters
handling of exceptions/error codes
are all defined in the Swagger and don't have to be specially written for cli-tools.
To generate the iotlabclient Python package call make generate (this uses Docker images of the generator, and a swagger.yaml from a co-located testbed-manager repo or from http://api.iot-lab.info/swagger.yaml).
Using that iotlabclient for migrating anything in the iotlabcli was deliberately not done here
This has been rewound a bit, there is no rewrite of
iotlab
anymore and this is not a WIP anymore. This is auto-generation of aniotlabclient
package, using the new API swagger.This is using openapi-generator with OAS3 support, this means:
To generate the iotlabclient Python package call
make generate
(this uses Docker images of the generator, and a swagger.yaml from a co-located testbed-manager repo or from http://api.iot-lab.info/swagger.yaml).Using that iotlabclient for migrating anything in the
iotlabcli
was deliberately not done here