Re: How to access the IP of my other instance inside my app

Ushani Balasooriya
 

Hi Dan,

I checked the doc and thanks for the info.

But what I really need is a way to capture the ips of instances dynamically created when we define a number in deploy. manifest.
E.g.,

- instances: 3
name: wso2is
networks:
- name: wso2is_network
resource_pool: wso2is-resource-pool
templates:
- name: wso2is



========

Instance Process State AZ IPs VM CID VM Type
wso2is/1aa7dc45-e657-4519-ba43-d9f08f4b708b running - 10.244.15.23 70899e3d-8efb-4197-63dc-267feffe3bb3 wso2is-resource-pool
wso2is/317d9109-a2bf-42a4-b959-9f556a599a91 running - 10.244.15.22 4410cbbb-dc84-4d78-42e9-56b7d60a6f5c wso2is-resource-pool
wso2is/6502084e-8ae2-43f9-9416-eb54952b6289 running - 10.244.15.24 da258279-6a96-4e8c-49ad-e752073b108f wso2is-resource-pool

I need to access 10.244.15.23 , 10.244.15.22, 10.244.15.24 IPs dynamically.

Thanks

Join cf-bosh@lists.cloudfoundry.org to automatically receive all group messages.