aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/mass-pnf-sim/README.md
diff options
context:
space:
mode:
authorEli Halych <illia.halych@t-mobile.pl>2020-11-24 09:59:07 +0000
committerEli Halych <illia.halych@t-mobile.pl>2020-11-24 10:14:45 +0000
commitdcccf6e2c90ef7b079ac6a4f6258b7d550fa79c5 (patch)
tree4d24f92105fb4142bda28d5637636dee41cef9b3 /test/mocks/mass-pnf-sim/README.md
parent6b92f67b5c2e41dfe6272f401989d17c7452c089 (diff)
Change mass-pnf-sim folder name to masspnfsim
Details: - Allows for importing python files/classes/methods via normal import. - Dashes in mass-pnf-sim prevented from a normal Python import. - mass-pnf-sim path referenced in the project files changed to masspnfsim. - Possibility of using masspnfsim as a git submodule that requires noraml import. Issue-ID: INT-1789 Signed-off-by: Eli Halych <illia.halych@t-mobile.pl> Change-Id: I00cd753181c9b240b99881057cf777cf7977387a
Diffstat (limited to 'test/mocks/mass-pnf-sim/README.md')
-rw-r--r--test/mocks/mass-pnf-sim/README.md90
1 files changed, 0 insertions, 90 deletions
diff --git a/test/mocks/mass-pnf-sim/README.md b/test/mocks/mass-pnf-sim/README.md
deleted file mode 100644
index eb11b2bc9..000000000
--- a/test/mocks/mass-pnf-sim/README.md
+++ /dev/null
@@ -1,90 +0,0 @@
-### 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)
-
-For debug purposes, you can use your own IP address as VES collector, use "ip" command to determine it.
-
-Run ./setup.sh to create pre-set Python virtualenv with all required dependencies for the scripts.
-
-### Build simulator image
-
-```
-./mass-pnf-sim.py build
-```
-
-### Bootstrap simulator instances
-
-```
-./mass-pnf-sim.py bootstrap --count 2 --urlves http://10.148.95.??:10000/eventListener/v7 --ipfileserver 10.148.95.??? --typefileserver sftp --ipstart 10.11.0.16
-```
-
-Note that the file creator is started at a time of the bootstrapping.
-Stop/start will not re-launch it.
-
-### Replacing VES for test purposes
-
-```
-sudo nc -vv -l -k -p 10000
-```
-
-### Start all bootstrapped instances
-
-```
-./mass-pnf-sim.py start
-```
-
-### Trigger
-
-```
-./mass-pnf-sim.py trigger
-```
-
-### Trigger only a subset of the simulators
-
-The following command will trigger 0,1,2,3:
-
-```
-./mass-pnf-sim.py trigger-custom --triggerstart 0 --triggerend 3
-```
-
-The following command will trigger 4 and 5:
-
-```
-./mass-pnf-sim.py trigger-custom --triggerstart 4 --triggerend 5
-```
-
-### Stop sending PNF registration messages from simulators
-
-```
-./mass-pnf-sim.py stop_simulator
-```
-
-### Stop docker containers and clean bootstrapped simulators
-
-```
-./mass-pnf-sim.py stop
-./mass-pnf-sim.py clean
-```
-
-### Verbose printout from Python
-
-```
-python3 -m trace --trace --count -C . ./mass-pnf-sim.py .....
-```
-
-### Cleaning and recovery after incorrect configuration
-
-```
-./clean.sh
-```