aboutsummaryrefslogtreecommitdiffstats
path: root/plans/usecases/5G-bulkpm/onap.teardown.sh
diff options
context:
space:
mode:
Diffstat (limited to 'plans/usecases/5G-bulkpm/onap.teardown.sh')
-rw-r--r--plans/usecases/5G-bulkpm/onap.teardown.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/plans/usecases/5G-bulkpm/onap.teardown.sh b/plans/usecases/5G-bulkpm/onap.teardown.sh
new file mode 100644
index 00000000..966be45d
--- /dev/null
+++ b/plans/usecases/5G-bulkpm/onap.teardown.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+echo "Starting teardown script"
+DFC_POD=$(kubectl -n onap get pods | grep datafile-collector | awk '{print $1}')
+kubectl -n onap exec $DFC_POD -it cat /opt/log/application.log > /tmp/dfc_docker.log
+cat /tmp/dfc_docker.log
+sleep 3
+kill-instance.sh fileconsumer-node
+kill-instance.sh sftp \ No newline at end of file