feat(dscp): initial commit

This commit is contained in:
Sebastian Rust
2025-01-29 12:13:15 +01:00
commit 3acc8a6318
8 changed files with 194 additions and 0 deletions

17
run_endpoint.sh Normal file
View File

@@ -0,0 +1,17 @@
#!/bin/bash
# Set up the routing needed for the simulation
/setup.sh
# The following variables are available for use:
# - ROLE contains the role of this execution context, client or server
# - SERVER_PARAMS contains user-supplied command line parameters
# - CLIENT_PARAMS contains user-supplied command line parameters
if [ "$ROLE" == "client" ]; then
# Wait for the simulator to start up.
/wait-for-it.sh sim:57832 -s -t 30
python sender.py $CLIENT_PARAMS
elif [ "$ROLE" == "server" ]; then
python server.py $SERVER_PARAMS
fi