-
Notifications
You must be signed in to change notification settings - Fork 4
additional commands
The chain supports the following additional commands:
setup
run_all
cleanup
Using the setup
command will (re-)setup the environment of the processing chain, i.e. all data will be removed and recreated. It is recommended to use this command on the first run to initialize the chain. To keep your own priviliges on the chain's environment it is recommended to run this step as non-root user, q.v. Toolchain Setup.
python [<PATH_TO_CHAIN>] chain.py setup
According to the usage documentation and the severe processing steps, the chain offers additionally a command, which executes all steps at once.
python [<PATH_TO_CHAIN>] chain.py run_all [<OPTIONS>]
NOTE: By default the application will always perform a run_all
request.
Usually the chain cleans up itself after it has been executed successfully. But due to certain reasons it might be needed to clean it up manually. For this purpose the application offers a clean up command.
python [<PATH_TO_CHAIN>] chain.py cleanup
The cleanup command will do the following:
- If the loss-insertion tool was executed in the chain it will revert the changes done to the network's traffic control.