cloudify-nodecellar-example icon indicating copy to clipboard operation
cloudify-nodecellar-example copied to clipboard

how to get multi instances's ip address

Open junneyang opened this issue 9 years ago • 0 comments

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!

junneyang avatar Feb 23 '16 08:02 junneyang