Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

if i have instances with 2 deployments, how can i get the 2 IPS of the host? #253

Open
junneyang opened this issue Mar 2, 2016 · 0 comments

Comments

@junneyang
Copy link

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 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant