pip3 install -r requirements.txt
pytest [-s]
-
Start remote_agent_host on all hosts exept one (i.e. group leader):
sudo ./common/remote_agent_host [--port=PORT, default=567890]
-
On group leader host edit remote_hosts.yaml file and specify all nodes in network and global controller config:
# global controller config controller_config: downlink: "tcp://192.168.0.1:8990" uplink: "tcp://192.168.0.1:8989" # List all hosts: hosts: - {"ip": 192.168.0.101, "port": 567890} - {"ip": 192.168.0.102, "port": 567890} - {"ip": 192.168.0.103, "port": 567890} # List only hosts with wifi card installed: wifi: - {"ip": 192.168.0.101, "port": 567890} - {"ip": 192.168.0.103, "port": 567890} # etc...
-
On group leader host start tests:
pytest [-s]
The research leading to these results has received funding from the European Horizon 2020 Programme under grant agreement n645274 (WiSHFUL project).