aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/mass-pnf-sim/README.md
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-05-15 00:57:25 -0700
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-05-15 01:02:49 -0700
commitd203820b7e2174bd34fc66c22cd89213d2934aa9 (patch)
treea74d25d0ce25945812261183047eb4330c280523 /test/mocks/mass-pnf-sim/README.md
parentd011020b3d108eeeeb95b15cd6cbdcdbb68fbc22 (diff)
Make the maven image build an independent step
This improves testability as in CI the image build is done by relevant CI runner from provided POM file so building from script is redundant. Updated doc in regard on how to build the image locally. Change-Id: I7666bc638996c855fed139ee46fcc80379a02f3b Issue-ID: INT-1577 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'test/mocks/mass-pnf-sim/README.md')
-rw-r--r--test/mocks/mass-pnf-sim/README.md10
1 files changed, 8 insertions, 2 deletions
diff --git a/test/mocks/mass-pnf-sim/README.md b/test/mocks/mass-pnf-sim/README.md
index 0e6ac0364..fc829f5d1 100644
--- a/test/mocks/mass-pnf-sim/README.md
+++ b/test/mocks/mass-pnf-sim/README.md
@@ -15,7 +15,13 @@ 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:
+### 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
@@ -74,5 +80,5 @@ python3 -m trace --trace --count -C . ./mass-pnf-sim.py .....
### Cleaning and recovery after incorrect configuration
```
-docker stop $(docker ps -aq); docker rm $(docker ps -aq)
+./clean.sh
```