PaloAltoNetworks / simulator-test-harness

Code repository for simulator test harness for scale testing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simualtor Test Harness

Build

  1. Build the Docker container:
make simulator
  1. Get a valid apoctl.json file:
export APOCTL_API=https://api.preprod.aporeto.us
export APOCTL_NAMESPACE=/aporeto/username
eval $(apoctl auth google -e)
apoctl appcred create "simulators" --role @auth:role=namespace.administrator > apoctl.json
  1. Create all the necessary file dependencies and edit configuration values. Make sure the specified paths match the docker mount points in the YAML files:
export SIMULATOR_PATH=/root/simulator # This should not change
docker run -it --rm \
  -v $(pwd)/apoctl.json:${SIMULATOR_PATH}/apoctl.json \
  -v $(pwd)/values.yaml:${SIMULATOR_PATH}/values.yaml \
  -v $(pwd)/kubeconfig.yaml:${SIMULATOR_PATH}/kubeconfig.yaml \
  -v $(pwd)/backend.yml:${SIMULATOR_PATH}/backend.yml \
  simulator:latest
  1. For more information refer to the utility file README.md

About

Code repository for simulator test harness for scale testing

License:Apache License 2.0


Languages

Language:Go 71.2%Language:Shell 23.7%Language:Dockerfile 2.9%Language:Makefile 2.2%