@@ -7,6 +7,7 @@ For this testing suite to work, you need to set up as many "worker nodes" as you
## Getting started
We recommend that every machine run Ubuntu 22.04 or atleast Linux.
In order to get started, please follow the steps below.
(We assume that python3.11 is installed on all the machines!)
...
...
@@ -14,8 +15,8 @@ In order to get started, please follow the steps below.
2. Setting up the controller
* Start a terminal in the **src** folder and write <code>python3 main.py controller --port myPort</code> where **myPort** is the port your controller should run on. If you do not use the --port command, you will default to port 9000.
3. Setting up the worker
* Start a terminal in the **src** folder and write <code>python3 main.py worker --location myLocation --connect controllerAddr:port </code> where **myLocation** is the location of the worker, **controllerAddr** is the IP address or domain name of the controller and **port** is the controllers port. If you want to avoid using these commands, you can set environment variables. Set <code>NETSTORM_CONTROLLER_ADDRESS=controllerAddr</code> and <code>NETSTORM_WORKER_LOCATION=myLocation</code> where **controllerAddr** and **myLocation** are as described earlier.
* You need to setup httperf. See: https://github.com/httperf/httperf
* Start a terminal in the **src** folder and write <code>python3 main.py worker --location myLocation --connect controllerAddr:port </code> where **myLocation** is the location of the worker, **controllerAddr** is the IP address or domain name of the controller and **port** is the controllers port. If you want to avoid using these commands, you can set environment variables. Set <code>NETSTORM_CONTROLLER_ADDRESS=controllerAddr</code> and <code>NETSTORM_WORKER_LOCATION=myLocation</code> where **controllerAddr** and **myLocation** are as described earlier.
4. You should now see some prints in the worker and controller terminals. Check the controller terminal if the connection was successful.