2 #placeholder for deployment script.
7 cp nosdn/juju-deployer/ovs.yaml ./bundles.yaml
10 cp nosdn/juju-deployer/ovs-ha.yaml ./bundles.yaml
13 cp nosdn/juju-deployer/ovs-tip.yaml ./bundles.yaml
15 sed -i -- "s|branch: master|branch: stable/$2|g" ./*.yaml
18 cp nosdn/juju-deployer/ovs.yaml ./bundles.yaml
24 # As per your lab vip address list be deafult uses 10.4.1.11 - 10.4.1.20
25 sed -i -- 's/10.4.1.1/192.168.2.2/g' ./bundles.yaml
26 # choose the correct interface to use for data network
27 sed -i -- 's/#os-data-network: 10.4.8.0\/21/os-data-network: 192.168.12.0\/24/g' ./bundles.yaml
28 # Choose the external port to go out from gateway to use.
29 sed -i -- 's/# "ext-port": "eth1"/ "ext-port": "eth1"/g' ./bundles.yaml
32 # As per your lab vip address list be deafult uses 10.4.1.21 - 10.4.1.29
33 sed -i -- 's/10.4.1.1/10.4.1.2/g' ./bundles.yaml
34 # choose the correct interface to use for data network
35 sed -i -- 's/#os-data-network: 10.4.8.0\/21/os-data-network: 10.4.9.0\/24/g' ./bundles.yaml
36 # Choose the external port to go out from gateway to use.
37 sed -i -- 's/# "ext-port": "eth1"/ "ext-port": "eth2"/g' ./bundles.yaml
40 # As per your lab vip address list be deafult uses 10.4.1.21 - 10.4.1.29
41 sed -i -- 's/10.4.1.1/10.4.1.2/g' ./bundles.yaml
42 # choose the correct interface to use for data network
43 sed -i -- 's/#os-data-network: 10.4.8.0\/21/os-data-network: 10.4.9.0\/24/g' ./bundles.yaml
44 # Choose the external port to go out from gateway to use.
45 sed -i -- 's/# "ext-port": "eth1"/ "ext-port": "eth2.724"/g' ./bundles.yaml
48 # As per your lab vip address list be deafult uses 10.4.1.11 - 10.4.1.20
49 sed -i -- 's/10.4.1.1/192.168.10.1/g' ./bundles.yaml
50 # Choose the external port to go out from gateway to use.
51 sed -i -- 's/# "ext-port": "eth1"/ "ext-port": "eth1"/g' ./bundles.yaml
54 sed -i -- 's/10.4.1.1/192.168.122.1/g' ./bundles.yaml
55 sed -i -- 's/# "ext-port": "eth1"/ "ext-port": "eth1"/g' ./bundles.yaml
59 echo "... Deployment Started ...."
62 juju-deployer -vW -d -c bundles.yaml trusty-"$2"-nodes
63 juju-deployer -vW -d -t 7200 -r 5 -c bundles.yaml trusty-"$2"
66 juju-deployer -vW -d -c bundles.yaml trusty-"$2"-nodes
67 juju-deployer -vW -d -t 7200 -r 5 -c bundles.yaml trusty-"$2"
70 juju-deployer -vW -d -c bundles.yaml trusty-"$2"-nodes
71 juju-deployer -vW -d -t 7200 -r 5 -c bundles.yaml trusty-"$2"
74 juju-deployer -vW -d -c bundles.yaml trusty-"$2"-nodes
75 juju-deployer -vW -d -t 7200 -r 5 -c bundles.yaml trusty-"$2"