How to retrieve the assigned IP list when network type is dynamic in bosh deployment ?


Sundarajan Srinivasan
 

When i want to use bosh for concurrent deployments, i was struck with using static ips. Here I am supposed to maintain a list of available IP in my subnet. Do we have any api from aws to get unsed ip list ? I didnt find anyone. So i opted for dynamic network.

While dynamic network type takes care of ip assignment automatically, i am in need of the assigned ips for my puppet erb modules.

Is there any way to get the ip list after bosh cpi call for create vm is done ?

Thanks
Sundar