tree: 1c1699bb99acae82141874d8eece447f05d21467 [path history] [tgz]
  1. .gitignore
  2. go.mod
  3. go.sum
  4. main.go
  5. README.md
  6. tapi-context.go
  7. yaml.go
code/network-topology-parser/README.md

Network Topology Parser

This golang project generates a docker-compose.yaml file to be used for simulating the network topology, by parsing the topology JSON file created by the Network Topology Instance Generator tool.

Prerequisites

The GO runtime should be installed on the machine. Instructions here.

Usage

These commands should be run from the folder where this README is located.

go build

This creates the executable topology-parser.

./topology-parser <network-topology.json>

Output

The result of running this tool is a docker-compose.yaml file that can be then used in the solution/integration/network folder, along with the .env file defined there, for starting a simulated topology as described in the network-topology.json input file.