cloudify-nodecellar-example
cloudify-nodecellar-example copied to clipboard
how to get multi instances's ip address
django_host: type: nscloud.nodes.MonitoredServer
###########################################################
# Setting the nodejs_host initial number of instances to 2.
# The default values for instances.deploy is 1.
###########################################################
* instances: deploy: 2*
relationships:
- target: django_security_group
type: cloudify.openstack.server_connected_to_security_group
- target: server_keypair
type: cloudify.openstack.server_connected_to_keypair
///////////////// apptest: value: apptest_ip0: { get_attribute: [django_host, ip, 0] } apptest_ip1: { get_attribute: [django_host, ip, 1] }
then how to get multi instances's ip address in outputs? thanks very much!