Created
September 5, 2018 09:45
-
-
Save ob1-sc/406e28d6a4ab2fb5ed4ffd55d08fd191 to your computer and use it in GitHub Desktop.
List gorouter routes
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
# 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