sed -i -- 's/#enable-dvr: true/enable-dvr: true/g' ./bundles.yaml
sed -i -- 's/#l2-population: true/l2-population: true/g' ./bundles.yaml
;;
+ 'sfc' )
+ sed -i -- 's/profile: "openvswitch-odl-Be"/profile: "openvswitch-odl-Be-sfc/g' ./bundles.yaml
+ ;;
+ 'vpn' )
+ sed -i -- 's/profile: "openvswitch-odl-Be"/profile: "openvswitch-odl-Be-vpn/g' ./bundles.yaml
+ ;;
+ 'odl_l3' )
+ sed -i -- 's/profile: "openvswitch-odl-Be"/profile: "openvswitch-odl-Be-l3/g' ./bundles.yaml
+ ;;
esac
echo "... Deployment Started ...."
echo " Cleanup Started ..."
./clean.sh
-sudo virsh destroy opnfv-maas || true
-sudo virsh destroy bootstrap || true
sudo virsh destroy node1-control || true
sudo virsh destroy node3-control || true
sudo virsh destroy node4-control || true
sudo virsh destroy node2-compute || true
sudo virsh destroy node5-compute || true
-sudo virsh undefine opnfv-maas || true
-sudo virsh undefine bootstrap || true
sudo virsh undefine node1-control || true
sudo virsh undefine node3-control || true
sudo virsh undefine node4-control || true
sudo virsh undefine node2-compute || true
sudo virsh undefine node5-compute || true
-sudo rm -rf /var/lib/libvirt/images/opnfv-maas.img /var/lib/libvirt/images/bootstrap.img /var/lib/libvirt/images/node1-control.img /var/lib/libvirt/images/node3-control.img /var/lib/libvirt/images/node4-control.img /var/lib/libvirt/images/node2-compute.img /var/lib/libvirt/images/node5-compute.img || true
+sudo rm -rf /var/lib/libvirt/images/node1-control.img /var/lib/libvirt/images/node2-compute.img /var/lib/libvirt/images/node3-control.img /var/lib/libvirt/images/node4-control.img /var/lib/libvirt/images/node5-compute.img || true
echo " Cleanup Finished ..."
to:
- "nodes-api=0"
odl-controller:
- branch: lp:~openstack-charmers/charms/trusty/odl-controller/next
- options:
- #install-url: "https://nexus.opendaylight.org/content/groups/public/org/opendaylight/integration/distribution-karaf/0.2.4-Helium-SR4/distribution-karaf-0.2.4-Helium-SR4.tar.gz"
- install-url: "https://nexus.opendaylight.org/content/groups/public/org/opendaylight/integration/distribution-karaf/0.3.3-Lithium-SR3/distribution-karaf-0.3.3-Lithium-SR3.tar.gz"
- profile: "openvswitch-odl-lithium"
+ branch: lp:~opnfv-team/charms/trusty/odl-controller/Be
+ options:
+ #install-url: "https://nexus.opendaylight.org/content/groups/public/org/opendaylight/integration/distribution-karaf/0.3.3-Lithium-SR3/distrib
+ install-url: "https://nexus.opendaylight.org/content/repositories/staging/org/opendaylight/integration/distribution-karaf/0.4.0-Beryllium-RC2
+ profile: "openvswitch-odl-Be"
http-proxy: "http://squid.internal:3128"
https-proxy: "http://squid.internal:3128"
to:
to:
- "nodes-api=0"
odl-controller:
- branch: lp:~openstack-charmers/charms/trusty/odl-controller/next
- options:
- #install-url: "https://nexus.opendaylight.org/content/groups/public/org/opendaylight/integration/distribution-karaf/0.2.4-Helium-SR4/distribution-karaf-0.2.4-Helium-SR4.tar.gz"
- install-url: "https://nexus.opendaylight.org/content/groups/public/org/opendaylight/integration/distribution-karaf/0.3.3-Lithium-SR3/distribution-karaf-0.3.3-Lithium-SR3.tar.gz"
- profile: "openvswitch-odl-lithium"
+ branch: lp:~opnfv-team/charms/trusty/odl-controller/Be
+ options:
+ #install-url: "https://nexus.opendaylight.org/content/groups/public/org/opendaylight/integration/distribution-karaf/0.3.3-Lithium-SR3/distrib
+ install-url: "https://nexus.opendaylight.org/content/repositories/staging/org/opendaylight/integration/distribution-karaf/0.4.0-Beryllium-RC2
+ profile: "openvswitch-odl-Be"
http-proxy: "http://squid.internal:3128"
https-proxy: "http://squid.internal:3128"
to:
to:
- "nodes-api=0"
odl-controller:
- branch: lp:~openstack-charmers/charms/trusty/odl-controller/next
- options:
- #install-url: "https://nexus.opendaylight.org/content/groups/public/org/opendaylight/integration/distribution-karaf/0.2.4-Helium-SR4/distribution-karaf-0.2.4-Helium-SR4.tar.gz"
- install-url: "https://nexus.opendaylight.org/content/groups/public/org/opendaylight/integration/distribution-karaf/0.3.3-Lithium-SR3/distribution-karaf-0.3.3-Lithium-SR3.tar.gz"
- profile: "openvswitch-odl-lithium"
+ branch: lp:~opnfv-team/charms/trusty/odl-controller/Be
+ options:
+ #install-url: "https://nexus.opendaylight.org/content/groups/public/org/opendaylight/integration/distribution-karaf/0.3.3-Lithium-SR3/distrib
+ install-url: "https://nexus.opendaylight.org/content/repositories/staging/org/opendaylight/integration/distribution-karaf/0.4.0-Beryllium-RC2
+ profile: "openvswitch-odl-Be"
http-proxy: "http://squid.internal:3128"
https-proxy: "http://squid.internal:3128"
to: