This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -euo pipefail | |
# Notes: | |
# A policy can have multiple destinations. | |
# Destinations that are updated (new rules added) are reflected quickly on the system | |
# A policy with added destinations will not be reflected - it must be deleted re-added | |
# API endpoints gleaned from | |
# https://github.com/cloudfoundry/cf-networking-release/blob/f8c6b47ffe60e1f6c0740b85054a75dc52e16466/docs/dynamic_egress_api.md |