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:
- Create a sub-directory called
test_envin the folder:csle/simulation-system/envs/Listing 169: Directory with simulation configurations.
- Add the simulation configuration file
config_v_001.pyto the directory:1 csle/simulation-system/envs/test_envListing 170: Directory with configuration file for the simulation environment with the name `test_env`.
- Update the following README file:
csle/simulation-system/envs/README.mdListing 171:
- Update the following Makefile with installation instructions:
csle/simulation-system/envs/MakefileListing 172: Makefile for simulation configurations.
- Insert the simulation configuration into the metastore by running the command:
csle/simulation-system/envs; make installListing 173: Command to insert simulation configurations into the metastore.