-
Install Potatso:
- Use the command
sudo apt install potatsoto install the package for your system.
- Use the command
-
Configure the potatso executable:
- Change directory to your test directory with
sudo potatso init -p. - Specify the path to the potatso executable, e.g.,
sudo potatso init -p /path/to/potatso.exe.
- Change directory to your test directory with
-
Set the working directory:
- Navigate to your test directory with
sudo potatso setwd /path/to/your/test/directory.
- Navigate to your test directory with
-
Define the network topology:
- Use the
testcommand with the network topology, e.g.,sudo potatso test star.
- Use the
-
Set up devices:
- Use the
configcommand to define devices and their configurations. For example:sudo potatso config -p
- List each device with its MAC, IP, and ports.
- Use the
-
Run tests:
- Execute tests using
test -nfollowed by test commands. For example:sudo potatso test -n case device1 has port1 connected to port2
- Execute tests using
-
View results:
- Use the
resultscommand to see test outcomes:sudo potatso results
- Analyze results to identify issues and fix configurations.
- Use the
-
Test network topology:
- Replicate the setup for different topologies like star, mesh, and ring using
testcommands.
- Replicate the setup for different topologies like star, mesh, and ring using
-
Handle errors and debugging:
Use error messages from tests for further debugging. If needed, iterate on configurations.
-
Optimize performance:
Test with a small network to assess performance, ensuring tests run smoothly.
By following these steps, you can effectively test and optimize Potatso for your network configuration needs.




