diff options
author | Gary Wu <gary.i.wu@huawei.com> | 2019-03-22 20:39:44 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-03-22 20:39:44 +0000 |
commit | 22ff7f4672c327d47ee16152034c092911075947 (patch) | |
tree | f55dd265adde977c3e22a53664f855b36f257061 /test/mocks/mass-pnf-sim/README.md | |
parent | 49fbdc4a6b7b17b1943591426995879dd3217b50 (diff) | |
parent | b59bffb8203a2e52e45100723d1cba322b229385 (diff) |
Merge "Mass-pnf-simulator publishing ports"
Diffstat (limited to 'test/mocks/mass-pnf-sim/README.md')
-rw-r--r-- | test/mocks/mass-pnf-sim/README.md | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/test/mocks/mass-pnf-sim/README.md b/test/mocks/mass-pnf-sim/README.md index 1ed90b55d..ffa82c118 100644 --- a/test/mocks/mass-pnf-sim/README.md +++ b/test/mocks/mass-pnf-sim/README.md @@ -15,19 +15,21 @@ The ipstart should align to a /28 Ip address range start (e.g. 10.11.0.16, 10.11 For debug purposes, you can use your own IP address as VES collector, use "ip" command to determine it. Example: -python3 ./mass-pnf-sim.py --bootstrap 2 --ipves http://10.148.95.??:10000 --ipstart 10.11.0.16 +./mass-pnf-sim.py --bootstrap 2 --ipves http://10.148.95.??:10000 --ipfileserver 10.148.95.??? --ipstart 10.11.0.16 ###Replacing VES for test purposes -`nc -l 10000` +`sudo nc -vv -l -k -p 10000` ###Start Define the amount of simulators to be launched -python3 ./mass-pnf-sim.py --start 2 +./mass-pnf-sim.py --start 2 +###Trigger +./mass-pnf-sim.py --trigger 2 ###Stop and clean -python3 ./mass-pnf-sim.py --stop 2 -python3 ./mass-pnf-sim.py --clean +./mass-pnf-sim.py --stop 2 +./mass-pnf-sim.py --clean ###Cleaning and recovery after incorrect configuration docker stop $(docker ps -aq); docker rm $(docker ps -aq) |