Created
February 20, 2014 15:12
-
-
Save larsks/9115869 to your computer and use it in GitHub Desktop.
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
# A list of available outputs | |
$ heat output-list stack0 | |
+----------------------+----------------------------------------------------+ | |
| output_key | description | | |
+----------------------+----------------------------------------------------+ | |
| instance1_private_ip | IP address of instance0 in private network | | |
| instance0_public_ip | Floating IP address of instance0 in public network | | |
| instance0_private_ip | IP address of instance0 in private network | | |
+----------------------+----------------------------------------------------+ | |
# A simple value | |
$ heat output-show stack0 instance1_private_ip | |
"172.16.0.6" | |
# A complex value | |
$ heat output-show stack0 instance0_private_ip | |
[ | |
{ | |
"subnet_id": "a6ebc1d8-d355-4c17-b128-b4c5afec17ba", | |
"ip_address": "172.16.0.5" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment