043c147690
Add option for providing security groups in ConnectionPoint node_type of TOSCA VNF templates. Co-Authored-By: Sridhar Ramaswamy <srics.r@gmail.com> Change-Id: I5fabaa8a33d684a591364510ed6d3df93989c419 Closes-Bug: #1591372
20 lines
494 B
Bash
Executable File
20 lines
494 B
Bash
Executable File
# This script is used to prepare functional test env after devstack
|
|
# installation of tacker
|
|
|
|
DEVSTACK_DIR=${DEVSTACK_DIR:-~/devstack}
|
|
TACKER_DIR=$(dirname "$0")/..
|
|
PRIVATE_KEY_FILE=${PRIVATE_KEY_FILE:-/dev/null}
|
|
NFV_USER=${NFV_USER:-"nfv_user"}
|
|
|
|
# Test devstack dir setting
|
|
if [ ! -f ${DEVSTACK_DIR}/openrc ]; then
|
|
echo "Please set right DEVSTACK_DIR"
|
|
exit 1
|
|
fi
|
|
|
|
source ${TACKER_DIR}/tacker/tests/contrib/post_test_hook_lib.sh
|
|
|
|
fixup_quota
|
|
add_key_if_not_exist
|
|
add_secgrp_if_not_exist
|