diff options
author | Victor Morales <victor.morales@intel.com> | 2018-10-08 15:32:01 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-10-08 15:32:01 +0000 |
commit | afe7621e5e9289464e9e9e48eef231179ba23d69 (patch) | |
tree | c5768de64dec34b05491781ba5b858a2664d5538 /vagrant/tests/integration_vFW.sh | |
parent | 36171f55b9171bb4d36d36c12eb6046ba82fb02a (diff) | |
parent | 5878ca891f41df871d69169a411fdfccf4ff74c1 (diff) |
Merge "Using VirtletCloudInitUserData section"
Diffstat (limited to 'vagrant/tests/integration_vFW.sh')
-rwxr-xr-x | vagrant/tests/integration_vFW.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/vagrant/tests/integration_vFW.sh b/vagrant/tests/integration_vFW.sh index ee0205cb..df27065a 100755 --- a/vagrant/tests/integration_vFW.sh +++ b/vagrant/tests/integration_vFW.sh @@ -24,10 +24,11 @@ fi popule_CSAR_vms_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-cidr-network protected-private-net-cidr-network onap-private-net-cidr-network sink-service sink-ingress; do + kubectl apply -f $resource.yaml done setup $packetgen_deployment_name $firewall_deployment_name $sink_deployment_name +#kubectl port-forward deployment/$sink_deployment_name 667:667 # Test for deployment_name in $packetgen_deployment_name $firewall_deployment_name $sink_deployment_name; do @@ -35,6 +36,7 @@ for deployment_name in $packetgen_deployment_name $firewall_deployment_name $sin vm=$(kubectl plugin virt virsh list | grep ".*$deployment_name" | awk '{print $2}') echo "Pod name: $pod_name Virsh domain: $vm" echo "ssh -i ~/.ssh/id_rsa.pub admin@$(kubectl get pods $pod_name -o jsonpath="{.status.podIP}")" + echo "kubectl attach -it $pod_name" echo "=== Virtlet details ====" echo "$(kubectl plugin virt virsh dumpxml $vm | grep VIRTLET_)\n" done |