monkey/envs/monkey_zoo/blackbox/utils
Mike Salvatore c40f7bf6c9 Reformat all python with black v20.8b1 2021-04-06 09:20:18 -04:00
..
generated_configs Added config file generation script, which can generate config files from config templates. 2021-03-08 17:20:32 +02:00
README.md Improved README.md of config file generation script 2021-03-09 14:51:56 +02:00
__init__.py Refactored to run series of tests, improved configurations, file structure 2019-09-11 12:39:28 +03:00
config_generation_script.py Ran black on config generation script 2021-03-09 10:23:35 +02:00
gcp_machine_handlers.py Reformat all python with black v20.8b1 2021-04-06 09:20:18 -04:00
json_encoder.py Added progress bars, optimized imports, fixed bug that happened on big numbers of telems 2020-04-24 13:19:07 +03:00
test_timer.py CR comments fixed 2019-10-01 10:42:51 +03:00

README.md

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.

  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 envs/monkey_zoo/blackbox/utils/generated_configs directory with configuration files.

!! It's important to target the Island you'll be testing, because configs contain Island's IPs in the configuration !!