aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/mass-pnf-sim/pnf-sim-lightweight/files/prepare-ROP-files.sh
diff options
context:
space:
mode:
authorTamasBakai <tamas.bakai@est.tech>2019-02-28 09:06:19 +0000
committerTamasBakai <tamas.bakai@est.tech>2019-02-28 09:06:19 +0000
commitd38feb6936783a37631c444d62fe74a78dd41824 (patch)
treeec3a303bca4823e3a1a025d5484a1c28197ecc15 /test/mocks/mass-pnf-sim/pnf-sim-lightweight/files/prepare-ROP-files.sh
parent8028905644ea2dcf71ab2703c571398a19503c67 (diff)
Mass PNF simulator for benchmark purposes
Change-Id: I8a5ead57d0347fa34f048c7bfc5352ba045b1b62 Issue-ID: DCAEGEN2-1225 Signed-off-by: TamasBakai <tamas.bakai@est.tech>
Diffstat (limited to 'test/mocks/mass-pnf-sim/pnf-sim-lightweight/files/prepare-ROP-files.sh')
-rwxr-xr-xtest/mocks/mass-pnf-sim/pnf-sim-lightweight/files/prepare-ROP-files.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/mocks/mass-pnf-sim/pnf-sim-lightweight/files/prepare-ROP-files.sh b/test/mocks/mass-pnf-sim/pnf-sim-lightweight/files/prepare-ROP-files.sh
new file mode 100755
index 000000000..4c7c5060e
--- /dev/null
+++ b/test/mocks/mass-pnf-sim/pnf-sim-lightweight/files/prepare-ROP-files.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+echo "Creating ROP files"
+set -x
+mkdir -p onap
+
+dd if=/dev/urandom of=./onap/0.5MB.tar.gz bs=1k count=512
+dd if=/dev/urandom of=./onap/1MB.tar.gz bs=1M count=1
+dd if=/dev/urandom of=./onap/5MB.tar.gz bs=1M count=5
+dd if=/dev/urandom of=./onap/10MB.tar.gz bs=1M count=10 \ No newline at end of file