aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/mass-pnf-sim/mass-pnf-sim.py
diff options
context:
space:
mode:
authorRehanRaza <muhammad.rehan.raza@est.tech>2019-03-20 08:12:55 +0000
committerMuhammad Rehan Raza <muhammad.rehan.raza@est.tech>2019-03-20 08:17:21 +0000
commit48f9204c0f5d1dfc57591b4f67f5b6aa60b072e1 (patch)
treeaaaed38765a00405db8e86a4e8d3875258c13d0e /test/mocks/mass-pnf-sim/mass-pnf-sim.py
parent3e144e856a1b1b1ef504b068ad602066dad1af66 (diff)
Add ROP file creator script in each PNF-sim
* The script runs in a background process * The background process is killed when mass-pnf-sim is stopped * Filename format is updated to include timezone, HOSTNAME, and PNF-node-name Change-Id: If0a5a8c7bdd7ffb4958569e3037f1a7207770ef1 Issue-ID: DCAEGEN2-1225 Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
Diffstat (limited to 'test/mocks/mass-pnf-sim/mass-pnf-sim.py')
-rwxr-xr-xtest/mocks/mass-pnf-sim/mass-pnf-sim.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mocks/mass-pnf-sim/mass-pnf-sim.py b/test/mocks/mass-pnf-sim/mass-pnf-sim.py
index 9ec8c00af..ba0598671 100755
--- a/test/mocks/mass-pnf-sim/mass-pnf-sim.py
+++ b/test/mocks/mass-pnf-sim/mass-pnf-sim.py
@@ -135,7 +135,7 @@ if args.stop:
completed = subprocess.run(
'cd ' +
foldername +
- "; ./simulator.sh stop",
+ "; ./simulator.sh stop " + str(i),
shell=True)
print('Stopping:', completed.stdout)