diff options
author | RehanRaza <muhammad.rehan.raza@est.tech> | 2019-03-20 08:12:55 +0000 |
---|---|---|
committer | Muhammad Rehan Raza <muhammad.rehan.raza@est.tech> | 2019-03-20 08:17:21 +0000 |
commit | 48f9204c0f5d1dfc57591b4f67f5b6aa60b072e1 (patch) | |
tree | aaaed38765a00405db8e86a4e8d3875258c13d0e /test/mocks/mass-pnf-sim/mass-pnf-sim.py | |
parent | 3e144e856a1b1b1ef504b068ad602066dad1af66 (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-x | test/mocks/mass-pnf-sim/mass-pnf-sim.py | 2 |
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) |