From d38feb6936783a37631c444d62fe74a78dd41824 Mon Sep 17 00:00:00 2001 From: TamasBakai Date: Thu, 28 Feb 2019 09:06:19 +0000 Subject: Mass PNF simulator for benchmark purposes Change-Id: I8a5ead57d0347fa34f048c7bfc5352ba045b1b62 Issue-ID: DCAEGEN2-1225 Signed-off-by: TamasBakai --- test/mocks/mass-pnf-sim/README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 test/mocks/mass-pnf-sim/README.md (limited to 'test/mocks/mass-pnf-sim/README.md') 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) -- cgit 1.2.3-korg