aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/heat/mass-pnf-sim_run.sh
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-12-15 12:33:31 +0100
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-12-15 13:51:28 +0100
commitb761beb3ea2bafd786473775b5ba0afcb3fa2fd3 (patch)
treef27107d9d214c85db91c0ac5d0a79a39d9644cc5 /deployment/heat/mass-pnf-sim_run.sh
parentc63869d48d77034f9805a57ef693b44d71b9fed4 (diff)
Move Masspnf simulator code from Integration repository to it's own
Change-Id: Id48ca08ec0d042d93e204b49ae9fe1bc86efd67b Issue-ID: INT-1810 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'deployment/heat/mass-pnf-sim_run.sh')
-rw-r--r--deployment/heat/mass-pnf-sim_run.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/deployment/heat/mass-pnf-sim_run.sh b/deployment/heat/mass-pnf-sim_run.sh
new file mode 100644
index 0000000..184684b
--- /dev/null
+++ b/deployment/heat/mass-pnf-sim_run.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+pushd /root
+git clone https://git.onap.org/integration
+pushd integration/test/mocks/masspnfsim
+./setup.sh
+source .tox/MassPnfSim-runtime/bin/activate
+./mass-pnf-sim.py build
+./mass-pnf-sim.py bootstrap --count $SIMULATOR_INSTANCES --urlves $VES_URL --ipfileserver $FILE_SERVER --typefileserver ftps --ipstart 10.11.0.16 --user $FTP_USER --password $FTP_PASSWORD
+./mass-pnf-sim.py start
+sleep 30
+./mass-pnf-sim.py trigger