Skip to content

Instantly share code, notes, and snippets.

@ob1-sc
Created September 5, 2018 09:45
Show Gist options
  • Save ob1-sc/406e28d6a4ab2fb5ed4ffd55d08fd191 to your computer and use it in GitHub Desktop.
Save ob1-sc/406e28d6a4ab2fb5ed4ffd55d08fd191 to your computer and use it in GitHub Desktop.
List gorouter routes
# 1) ssh into gorouter
# 2) get router_status credentials from /var/vcap/jobs/gorouter/config/gorouter.yml or from bosh manifest router job
# 3) get routes
curl "http://router_status:<router_status password>@127.0.0.1:8080/routes" | python -m json.tool
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment