- Assuming you are running these playbooks from you laptop
- Clone the repo
git clone https://github.com/urao/vmm-automation.git
- Fill in the details which has string "__fill__in" script in the files
cd vmm-automation
grep -irn "fill__" *
scripts/setup.env:4:VMM_USERNAME=__fill__in
scripts/setup.env:20:LAPTOP_SSH_KEY="__fill__in"
scripts/setup.env:21:VMM_SSH_KEY="__fill__in"
scripts/setup.env:27:CONTRAIL_REGISTRY_USERNAME="__fill__in"
scripts/setup.env:28:CONTRAIL_REGISTRY_PASSWORD="__fill__in"
-
Copy Linux, vMX, vQFX images under /vmm/data/user_disks/<username>/ folder
-
Copy required healthbot version of the image to be installed, under /vmm/data/user_disks/<username>/ folder
-
For Appformix deployment, Create appropriate version folder, as per below
-
Copy Appformix and Appformix flows images in the below location based on the version
Contrail Appformix 1912 1.0.6 2002 1.0.7 2003 1.0.7 Contrail Appformix Flows 1912 3.1.11 2002 3.1.14-a1 2003 3.1.15
/vmm/data/user_disks/<username>/appformix/3_1_11/
/vmm/data/user_disks/<username>/xflow/1_0_6/
- Currently supported topologies are showed here
- Update scripts/setup.env file with what topology you want to deploy
# Available Topologies
# Demo => demo
# Healthbot => hbvm
# Contrail+Appformix => cafx
# Kubernetes Cluster => k8s
VMM_TOPO_TYPE=demo
- Enable passwordless login to VMM servers
- Run the script to deploy the selected topology [Ex. demo]
./scripts/create_deploy_demo_vmm.sh
- Run the above script with
-c
option to cleanup the topology [Ex. demo]
./scripts/create_deploy_demo_vmm.sh -c