Skip to content

Repository files navigation

IoT-Lab cli-tools

PyPI package statusCI statusCodecov coverage status

IoT-LAB cli-tools provide a basic set of operations for managing IoT-LAB experiments from the command-line.

License

IoT-LAB cli-tools, including all examples, code snippets and attached documentation is covered by the CeCILL v2.1 free software licence.

Commands

IoT-LAB cli-tools are available through a shared entrypoint, iotlab, Many subcommands are available:

CommandFunctions
iotlab authconfigure account credentials
iotlab experimentstart, stop, query experiments
iotlab nodestart, stop, reset nodes, update firmwares
iotlab profilemanage nodes configurations
iotlab robotmanage robot nodes
iotlab statusmanage informations about testbed sites, nodes and running experiments

Optional commands:

When IoT-Lab SSH CLI Tools is installed:

iotlab sshrun commands on A8 open nodes through SSH

When IoT-Lab OML plot Tools is installed:

iotlab plot trajplot robot trajectory
iotlab plot consumplot node consumption
iotlab plot radioplot node sniffer results

When IoT-Lab Aggregation Tools is installed:

iotlab serialaggregate node serial link
iotlab snifferaggregate node sniffer link

Commands are self-documented, and usually have sub-commands which are also self-documented. Use e.g:

iotlab-node --help
iotlab-profile add --help

Description

The cli-tools leverage the IoT-LAB REST API and simply wrap calls to module iotlabcli, which is a Python client for the API.

The cli-tools come as an installable Python package.

To install cli-tools from Pypi, use pip install iotlabcli.

To install cli-tools from source, use pip install --user .

Installing cli-tools automatically fetches additional dependencies as needed.

Further documentation: https://github.com/iot-lab/iot-lab/wiki/CLI-Tools

About

IoT-LAB CLI tools

Resources

Stars

17 stars

Watchers

6 watching

Forks

Releases

Packages

Used by

Contributors

Languages