Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
# Generate OpenStack defaults
info "Generating OpenStack defaults..."
-python ${FUNCTEST_REPO_DIR}/testcases/VIM/OpenStack/CI/libraries/generate_defaults.py $debug
+python ${FUNCTEST_REPO_DIR}/utils/generate_defaults.py $debug
ifconfig eth0 mtu 1450
if [ $clean == true ]; then
echo -e "\n"
info "Cleaning Openstack environment..."
- python ${FUNCTEST_REPO_DIR}/testcases/VIM/OpenStack/CI/libraries/clean_openstack.py \
+ python ${FUNCTEST_REPO_DIR}/utils/clean_openstack.py \
$debug
echo -e "\n"
fi
Functest includes cleaning mechanism in order to remove
all the OpenStack resources except what was present before running any test. The script
-*$repos_dir/functest/testcases/VIM/OpenStack/CI/libraries/generate_defaults.py*
+*$repos_dir/functest/utils/generate_defaults.py*
is called once by *prepare_env.sh* when setting up the Functest environment
to snapshot all the OpenStack resources (images, networks, volumes, security groups,
tenants, users) so that an eventual cleanup does not remove any of this defaults.