How-to: Add Simulation Configurations

To add a new simulation environment with the name “test_env” and version 0.0.1, perform the following steps:

  1. Create a sub-directory called test_env in the folder:
        csle/simulation-system/envs/
    

    Listing 169: Directory with simulation configurations.

  2. Add the simulation configuration file config_v_001.py to the directory:
        1 csle/simulation-system/envs/test_env
    

    Listing 170: Directory with configuration file for the simulation environment with the name `test_env`.

  3. Update the following README file:
       csle/simulation-system/envs/README.md
    

    Listing 171:

  4. Update the following Makefile with installation instructions:
       csle/simulation-system/envs/Makefile
    

    Listing 172: Makefile for simulation configurations.

  5. Insert the simulation configuration into the metastore by running the command:
        csle/simulation-system/envs; make install
    

    Listing 173: Command to insert simulation configurations into the metastore.