summaryrefslogtreecommitdiffstats
path: root/vagrant/tests/integration_vcFW.sh
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2018-11-27 05:13:11 -0800
committerVictor Morales <victor.morales@intel.com>2018-12-07 08:13:42 -0800
commitaa56022e0fba3c358e46e8671d9a0cd36094ebaa (patch)
tree63bbfa3aee4fd7fc5298e1e18810821d8aaeaade /vagrant/tests/integration_vcFW.sh
parent8485e82b9c447024ae0eca1899fde5bffafc9f41 (diff)
Integrate OVN4NFV plugin
This change includes the files to install, configure and test the OVN4NFV plugin. Change-Id: I0c431e475bd391e13680c734cff555e4dfc055ae Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-304
Diffstat (limited to 'vagrant/tests/integration_vcFW.sh')
-rwxr-xr-xvagrant/tests/integration_vcFW.sh11
1 files changed, 10 insertions, 1 deletions
diff --git a/vagrant/tests/integration_vcFW.sh b/vagrant/tests/integration_vcFW.sh
index 93e75961..15cffcb8 100755
--- a/vagrant/tests/integration_vcFW.sh
+++ b/vagrant/tests/integration_vcFW.sh
@@ -18,13 +18,19 @@ source _functions.sh
csar_id=aa443e7e-c8ba-11e8-8877-525400b164ff
# Setup
+install_ovn_deps
if [[ ! -f $HOME/.ssh/id_rsa.pub ]]; then
echo -e "\n\n\n" | ssh-keygen -t rsa -N ""
fi
populate_CSAR_vms_containers_vFW $csar_id
pushd ${CSAR_DIR}/${csar_id}
-for resource in $unprotected_private_net $protected_private_net $onap_private_net sink-service; do
+for net in $unprotected_private_net $protected_private_net $onap_private_net; do
+ cleanup_network $net.yaml
+ echo "Create OVN Network $net network"
+ init_network $net.yaml
+done
+for resource in onap-ovn4nfvk8s-network sink-service; do
kubectl apply -f $resource.yaml
done
setup $packetgen_deployment_name $firewall_deployment_name $sink_deployment_name
@@ -43,4 +49,7 @@ done
# Teardown
#teardown $packetgen_deployment_name $firewall_deployment_name $sink_deployment_name
+#for net in $unprotected_private_net $protected_private_net $onap_private_net; do
+# cleanup_network $net.yaml
+#done
popd