diff options
author | TamasBakai <tamas.bakai@est.tech> | 2019-02-28 09:06:19 +0000 |
---|---|---|
committer | TamasBakai <tamas.bakai@est.tech> | 2019-02-28 09:06:19 +0000 |
commit | d38feb6936783a37631c444d62fe74a78dd41824 (patch) | |
tree | ec3a303bca4823e3a1a025d5484a1c28197ecc15 /test/mocks/mass-pnf-sim/README.md | |
parent | 8028905644ea2dcf71ab2703c571398a19503c67 (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/README.md')
-rw-r--r-- | test/mocks/mass-pnf-sim/README.md | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/test/mocks/mass-pnf-sim/README.md b/test/mocks/mass-pnf-sim/README.md new file mode 100644 index 000000000..fa152925e --- /dev/null +++ b/test/mocks/mass-pnf-sim/README.md @@ -0,0 +1,28 @@ +### Mass PNF simulator +The purpose of this simulator is to mimic the PNF for benchmark purposes. +This variant is based on the PNF simulator and use several components. +The modification are focusing on the following areas: + -add a script configuring and governing multiple instances of PNF simualtor + -removing parts which are not required for benchmark purposes. + -add functionality which creates and maintains the ROP files + -add functionality to query the actual ROP files and construct VES events based on them + + + +###Pre-configuration +The ipstart should align to a /28 Ip address range start (e.g. 10.11.0.16, 10.11.0.32) + +Example: +python3 ./mass-pnf-sim.py --bootstrap 2 --ipves 10.11.0.2 --ipstart 10.11.0.16 + +###Start +Define the amount of simulators to be launched +python3 ./mass-pnf-sim.py --start 2 + + +###Stop and clean +python3 ./mass-pnf-sim.py --stop 2 +python3 ./mass-pnf-sim.py --clean + +###Cleaning and recovery after incorrect configuration +docker stop $(docker ps -aq); docker rm $(docker ps -aq) |