Skip to content

additional commands

Werner Robitza edited this page Sep 15, 2020 · 1 revision

Additional Commands

The chain supports the following additional commands:

  • setup
  • run_all
  • cleanup

Setup the chain

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

Run all steps at once

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.

Clean up the changes

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.
Clone this wiki locally