summaryrefslogtreecommitdiffstats
path: root/vagrant/tests/integration_vcFW.sh
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2018-11-27 04:31:15 -0800
committerVictor Morales <victor.morales@intel.com>2018-11-27 04:31:15 -0800
commit30ba7677acd0f0bf2c0429771e7c1fd064773180 (patch)
treeb98ac26d24fbf98e6ed652d4e0bb69d11e05fd15 /vagrant/tests/integration_vcFW.sh
parent608ab52840bffde794c6d7d29512e3f788e9ffe2 (diff)
Refactor integration tests
The integration tests were sharing names and IP ranges in the creation of CSAR files. Those values can be centralized to have better control over them. Change-Id: I85642dbb57af1cf8908880614dffb36855ca3899 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
Diffstat (limited to 'vagrant/tests/integration_vcFW.sh')
-rwxr-xr-xvagrant/tests/integration_vcFW.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/vagrant/tests/integration_vcFW.sh b/vagrant/tests/integration_vcFW.sh
index 4fadfa23..93e75961 100755
--- a/vagrant/tests/integration_vcFW.sh
+++ b/vagrant/tests/integration_vcFW.sh
@@ -24,7 +24,7 @@ fi
populate_CSAR_vms_containers_vFW $csar_id
pushd ${CSAR_DIR}/${csar_id}
-for resource in unprotected-private-net-cidr-network protected-private-net-cidr-network onap-private-net-cidr-network sink-service sink-ingress; do
+for resource in $unprotected_private_net $protected_private_net $onap_private_net sink-service; do
kubectl apply -f $resource.yaml
done
setup $packetgen_deployment_name $firewall_deployment_name $sink_deployment_name
@@ -40,7 +40,7 @@ for deployment_name in $packetgen_deployment_name $firewall_deployment_name; do
echo "=== Virtlet details ===="
echo "$(kubectl plugin virt virsh dumpxml $vm | grep VIRTLET_)\n"
done
-popd
# Teardown
#teardown $packetgen_deployment_name $firewall_deployment_name $sink_deployment_name
+popd