metral/multiprocess
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
Description =========== This tool is used to incur load on the various OpenStack API's. Specifically, it creates servers, volumes, retreives their respective statuses, and if the servers are 'ACTIVE' and volumes 'available', it will attach the volume to the server and execute the scripts in vm_scripts/ (which creates & interacts with an instance-based LVM). The API requests are issued concurrently by using the python multiprocessing library. Setup ======== Insert appropriate <URL>:<PORT> for each API in conf.py Usage ===== example 1: $ python multiprocess.py <$OS_USERNAME> <$OS_PASSWORD> <$OS_TENANT_NAME> <$OS_TENANT_ID> <number_of_subprocesses_to_launch> <server_volume_quantity> <flavor_id> <image_id> <keypair_name>