This file contains hidden or 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 | |
# This script will fetch IP addresses assigned to ports on servers belonging | |
# to a particular role in the overcloud Heat stack. It's not optimized for everyday | |
# use and takes a while to complete, as it makes many Heat queries. This does not include | |
# e.g. VIPs. | |
# Run this script for each role you are interested in. Example usage: | |
# $ source stackrc | |
# $ bash get-role-ports.sh overcloud Controller |