summaryrefslogtreecommitdiffstats
path: root/vagrant/tests/integration_cFW.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_cFW.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_cFW.sh')
-rwxr-xr-xvagrant/tests/integration_cFW.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/vagrant/tests/integration_cFW.sh b/vagrant/tests/integration_cFW.sh
index 0077c73d..92c280b9 100755
--- a/vagrant/tests/integration_cFW.sh
+++ b/vagrant/tests/integration_cFW.sh
@@ -21,8 +21,8 @@ csar_id=4f726e2a-b74a-11e8-ad7c-525400feed2
populate_CSAR_containers_vFW $csar_id
pushd ${CSAR_DIR}/${csar_id}
-for network in unprotected-private-net-cidr-network protected-private-net-cidr-network onap-private-net-cidr-network; do
- kubectl apply -f $network.yaml
+for resource in $unprotected_private_net $protected_private_net $onap_private_net; do
+ kubectl apply -f $resource.yaml
done
setup $packetgen_deployment_name $firewall_deployment_name $sink_deployment_name