blob: fa152925edd18125d8805d9853a36cb2b4fda1da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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)
|