Added wsl.py (injects traffic) and wsl.yml (configuration file)
Deleted start.sh (we dont needed anymore as the Python script automatically pullls the right ports from the Enclave dump and Prometheus and Grafana are running as containers in the Enclave since last merge)
At the moment we can configure:
Simulation time in seconds (10 s)
Min. & Max. Message sizes in bytes (2, 1024)
Message rate (10 mps)
PRNG seed --- for reproducability of experiments --- (0)
Enclave name (wakurtosis)
Waku port (8545)
The script checks all Waku nodes are online, breaks if any fails
The times between messages are Poisson distributed
The target node is picked randomly at every tick of the simulation
Run pip: -r requirements.txt to install dependencies and python3 ./wsl.py to run a simulation in a running Wakurotosis enclave.
Injects traffic in a Wakurtosis Enclave
Added wsl.py (injects traffic) and wsl.yml (configuration file)
Deleted start.sh (we dont needed anymore as the Python script automatically pullls the right ports from the Enclave dump and Prometheus and Grafana are running as containers in the Enclave since last merge)
At the moment we can configure:
The script checks all Waku nodes are online, breaks if any fails
The times between messages are Poisson distributed
The target node is picked randomly at every tick of the simulation
Run
pip: -r requirements.txt
to install dependencies and python3./wsl.py
to run a simulation in a running Wakurotosis enclave.