Update scripts for defining libvirt vms

* added shared functions file
* added env_vars file
* added script for deploying slave

Related-Prod: PROD-29666 (PROD:29666)
Change-Id: Iaa7e6b7383465fda446a61ffb7d74573565b352c
diff --git a/predefine-vm/env_vars.sh b/predefine-vm/env_vars.sh
new file mode 100644
index 0000000..38141a9
--- /dev/null
+++ b/predefine-vm/env_vars.sh
@@ -0,0 +1,17 @@
+export VM_MGM_BRIDGE_DISABLE=${VM_MGM_BRIDGE_DISABLE:-false}
+export VM_CTL_BRIDGE_DISABLE=${VM_CTL_BRIDGE_DISABLE:-false}
+export VM_MGM_BRIDGE_NAME=${VM_MGM_BRIDGE_NAME:-"br-mgm"}
+export VM_CTL_BRIDGE_NAME=${VM_CTL_BRIDGE_NAME:-"br-ctl"}
+export VM_MGM_NETWORK_NAME=${VM_MGM_NETWORK_NAME:-"mgm_network"}
+export VM_CTL_NETWORK_NAME=${VM_CTL_NETWORK_NAME:-"ctl_network"}
+export VM_MEM_KB=${VM_MEM_KB:-"12589056"}
+export VM_CPUS=${VM_CPUS:-"4"}
+# optional params if you won't use bridge on host
+export VM_MGM_NETWORK_GATEWAY=${VM_MGM_NETWORK_GATEWAY:-"192.168.56.1"}
+export VM_MGM_NETWORK_MASK=${VM_MGM_NETWORK_MASK:-"255.255.255.0"}
+export VM_CTL_NETWORK_GATEWAY=${VM_CTL_NETWORK_GATEWAY:-"192.168.57.1"}
+export VM_CTL_NETWORK_MASK=${VM_CTL_NETWORK_MASK:-"255.255.255.0"}
+# optional params if you want enable slave vm
+export SLAVE_VM_MEM_KB=${SLAVE_VM_MEM_KB:-"16777216"}
+export SLAVE_VM_CPUS=${SLAVE_VM_CPUS:-"4"}
+export SLAVE_VM_DISK_SIZE=${SLAVE_VM_DISK_SIZE:-"50G"}
\ No newline at end of file