Developer: gopal@onecloudinc.com
This script will create Networks, Subnets, Router with External Gateway, VMS, Floating IPs based on global configuration parameters specified on the config.py file.
==> Add the Keystone Credentials in 'openrc' file.
export OS_USERNAME=admin export OS_TENANT_NAME=admin export OS_PASSWORD=onecloud export OS_AUTH_URL=http://172.168.2.50:5000/v2.0/
==> Define the Scale Test Configuration for the global parameters in 'config.py' file.
NETWORK_NAME_PREFFIX = 'TEST' NETWORK_COUNT = 2 VM_COUNT = 2 EXTERNAL_NETWORK = 'public' FLOATING_IP_POOL = 'public'
==> Load the Environment variables into your current shell with the Bash source built-in command.
[onecloud@localhost ]$ source openrc
==> Intialize the scale test deployment by running the 'initialize_deploy.py' python script.
[onecloud@localhost ]$ python initialize_deploy.py
This script will create Networks, Subnets, Router with External Gateway, VMS, Floating IPs based on global configuration parameters specified for a single tenant.
Thats It.
I have given the same console output in a text file named 'Sample_Scale_Test_Deployment_Console_Output.txt' and sample openstack network topology named 'Scale_Test_Deployment_Per_Tenant_Screenshot.png' in the script folder for reference.
Thanks!!!