+ # check to see if ucs login info file exists
+ if [ -e /home/jenkins-ci/.ssh/ucs_creds ];then
+ source /home/jenkins-ci/.ssh/ucs_creds
+ else
+ echo "Unable to find UCS credentials for LF lab reconfiguration...Exiting"
+ exit 1
+ fi
+
+ # clone releng
+ echo "Cloning releng repo..."
+ if ! GIT_SSL_NO_VERIFY=true git clone https://gerrit.opnfv.org/gerrit/releng; then
+ echo "Unable to clone releng repo...Exiting"
+ exit 1
+ fi
+
+ # log info to console
+ echo "Starting the lab reconfiguration for $INSTALLER..."
+ echo "--------------------------------------------------------"
+ echo
+
+ # create venv
+ $WORKSPACE/releng/utils/lab-reconfiguration/create_venv.sh
+
+ # disable nounset because 'activate' script contains unbound variable(s)
+ set +o nounset
+ # enter venv
+ source $WORKSPACE/releng/utils/lab-reconfiguration/venv/bin/activate
+ # set nounset back again
+ set -o nounset
+ python $WORKSPACE/releng/utils/lab-reconfiguration/reconfigUcsNet.py -i $ucs_host -u $ucs_user -p $ucs_password -f $WORKSPACE/releng/utils/lab-reconfiguration/foreman.yaml