2 ##############################################################################
3 # Copyright (c) 2015 Ericsson AB and others.
5 # All rights reserved. This program and the accompanying materials
6 # are made available under the terms of the Apache License, Version 2.0
7 # which accompanies this distribution, and is available at
8 # http://www.apache.org/licenses/LICENSE-2.0
9 ##############################################################################
11 # Perepare the environment to run yardstick ci
13 : ${INSTALLER_TYPE:='fuel'}
14 : ${INSTALLER_IP:='10.20.0.2'}
16 : ${POD_NAME:='opnfv-jump-2'}
17 : ${EXTERNAL_NETWORK:='net04_ext'}
20 echo "INFO: Creating openstack credentials .."
22 # Create openstack credentials
23 OPENRC=/home/opnfv/openrc
24 if [ ! -f $OPENRC ]; then
25 $RELENG_REPO_DIR/utils/fetch_os_creds.sh \
27 -i ${INSTALLER_TYPE} -a ${INSTALLER_IP}
31 export EXTERNAL_NETWORK INSTALLER_TYPE POD_NAME