Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This user guide explains how to start and initialize "pnc-simulator", as well as updating mock bandwidth usage data using a "pm-mock" java utility.

Please download the attachment ccvpn_share_20220610.zip and unzip first.

Step 1. Start and initialize the pnc-simulators

Prerequisite: Docker and docker-hub reachable internet

Code Block
> cd pnc-simulator
> ./run.sh
> ./init.sh

The pnc-simulator/data directory contains two initialization payloads for domain1 and domain2. Together, they form a two domain network as follow.

Generally speaking, you don't need to change these payloads yourself. But if you want to modify the network profile, this is the place to look.

Image Added

Step 2. Run the pm-mock (bandwidth usage generator)

Prerequisite: JRE 8 and above

Code Block
> cd pm-mock-executable
> ./run.sh

Make sure the shell window is open until you don't need newly updated bandwidth data. The pm-mock-*-executable.jar is a discrete data generator. Read the pm-mock-executable/README.md, if you want

more detail of this generator.


Have fun and feel free to contact henry.yu1@huawei.com, if you have any question.

ActnViewer-20220506.tar.gz

pm_mock-source.tar.gz