Simple script that parses Cloudfoundry Metadata to be fed into graphviz. The script considers the following elements
- Orgs
- Spaces
- Apps
- Routes
- Service Instances
- Service Bindungs
- Route Bindings
- Network Policies
You will also need the Cloud Foundry command line interface (CF CLI) on you PATH. This tool is used to communicate with Cloud Foundry Cloud Controller. If want to visualize network policies you need at least CF CLI version 6.30 and at least Cloud Foundry version 1.12.
This command cuts out columns or fields of input data. It is used to transform the necessary data.
You will need jq on your PATH. jq is a lightweight and flexible command-line JSON processor and it is used for transforming the json responses from the Cloud Foundry Cloud Controller API.
Graphviz is open source graph visualization software.
$ ./create.sh 'username' 'password'