opnfvlab=default
opnfvrel=c
opnfvfeature=odl_l2
-opnfvdistro=trusty
+opnfvdistro=xenial
opnfvarch=amd64
read_config() {
timeoutiter=0
while [ $retval -eq 0 ]; do
sleep 30
- juju status > status.txt
+ juju status > status.txt
if [ "$(grep -c "executing" status.txt )" -ge 1 ]; then
echo " still executing the reltionship within charms ..."
if [ $timeoutiter -ge 60 ]; then
}
echo "...... deployment started ......"
-#deploy_dep
deploy
+
+#temporary change the user instances as dhcp failed with limitation exceeded.
+# to be remove once charm fixes the issue
+
+if [ "$opnfvdistro" == "xenial" ]; then
+ juju ssh neutron-gateway/0 "echo 512 | sudo tee /proc/sys/fs/inotify/max_user_instances"
+fi
+# Temorary change end
+
check_status
echo "...... deployment finished ......."
-if [ "$opnfvsdn" == "onos" ]; then
- ./openstack.sh "$opnfvsdn"
- check_status
-else
- #create the basic data for verification of stack.
- ./openstack.sh
-fi
+./openstack.sh "$opnfvsdn"
echo "...... finished ......."