Support for PCF 2.1
WARNING: In PCF 2.1, OM 2.1 will remove support for IP accessors .ips, and .first_ip, that is, anything in a tile's metadata that does any one of: (( ..othertile.otherjob.first_ip )) (( ..othertile.otherjob.ips )) (( .otherjob.first_ip )) (( .otherjob.ips )) (( first_ip )) (( ips )) To prevent this error in 2.1, use BOSH links to share host information. This can be accomplished by rebuilding the tiles with latest tile generator.
Left from #56 (closed), this change affects the way we populate the nginx_trusted_addresses
list in the Tile. We have been using ..cf.router.ips
to get the IP addresses for the CF router
(load balancer proxies) addresses, and pre-populate that section into the values passed to the BOSH release. However, with the above change, we'll need to remove that logic, and rely on another means to gather them or rely on the user inputting them as they do with any cloud-specific external load balancers as they do now.