cloudify-manager-blueprints
cloudify-manager-blueprints copied to clipboard
if i have instances with 2 deployments, how can i get the 2 IPS of the host?
nova-net example:
my_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
outputs: myhost: value: myhost_ip: { get_attribute: [my_host, ip] }
but this will not work! could you please help me, thanks very much !