2021-03-08 23:13:35 +08:00
|
|
|
# BlackBox utility scripts
|
|
|
|
|
|
|
|
## Config generation script
|
|
|
|
|
|
|
|
This script is used to generate config files for manual tests.
|
|
|
|
Config file will be generated according to the templates in `envs/monkey_zoo/blackbox/config_templates`.
|
|
|
|
|
2021-03-09 20:51:56 +08:00
|
|
|
1. Reset the Island config to contain default configuration.
|
|
|
|
2. Run `envs/monkey_zoo/blackbox/utils/config_generation_script.py island_ip:5000` to populate
|
2021-03-08 23:13:35 +08:00
|
|
|
`envs/monkey_zoo/blackbox/utils/generated_configs` directory with configuration files.
|
2021-03-09 20:51:56 +08:00
|
|
|
|
|
|
|
!! It's important to target the Island you'll be testing, because configs contain Island's IPs
|
|
|
|
in the configuration !!
|