iot-lab / iot-lab-mqtt

Provide access to IoT-LAB experiments as MQTT agents
Other
2 stars 8 forks source link

Wb/manager #5

Open cladmi opened 7 years ago

cladmi commented 7 years ago

A proposal to add a global manager that run all agents. It is based on "process" agent implementation.

At startup it defines all processes with the correct arguments. It uses a "to_argparse_list" method to know arguments for each agent and calls the agents with the correct arguments.

There is an issue when providing iot-lab user password (and the same would be if using broker password) WARNING: This should be changed, setting a password from command line is really bad. On IoT-LAB all users can see other users commands arguments. A solution could be to use an env variable.

This would require changing the way arguments are handled and passed to sub agents.