#!/bin/bash # SPDX-license-identifier: Apache-2.0 ############################################################################## # Copyright (c) 2018 # Copyright © 2021 Samsung Electronics # All rights reserved. This program and the accompanying materials # are made available under the terms of the Apache License, Version 2.0 # which accompanies this distribution, and is available at # http://www.apache.org/licenses/LICENSE-2.0 ############################################################################## # Script respects environment variable SKIP_CNF_TEARDOWN # If set to "yes", it will preserve CNF for manual handling set -o errexit set -o nounset set -o pipefail #set -o xtrace source _common_test.sh source _functions.sh source _common.sh if [ ${1:+1} ]; then if [ "$1" == "--external" ]; then onap_svc_node_port=30498 base_url="http://$(control_plane_ip):$onap_svc_node_port/v1" fi fi base_url=${base_url:-"http://localhost:9015/v1"} kubeconfig_path="$HOME/.kube/config" csar_id=cc009bfe-bbee-11e8-9766-525400435678 rb_name="vfw" rb_version="plugin_test" chart_name="firewall" profile_name="test_profile" release_name="test-release" namespace="plugin-tests-namespace" cloud_region_id="kud" cloud_region_owner="localhost" # Setup install_deps populate_CSAR_fw_rbdefinition "$csar_id" print_msg "Registering resource bundle" payload="$(cat </dev/null #massive output print_msg "Creating vFW VNF Instance" payload="$(cat <