mirror of https://github.com/apache/jclouds.git
add public ips to collection for vcloud
This commit is contained in:
parent
fb663fceed
commit
e3e0ad3e84
|
@ -102,6 +102,8 @@ public class VCloudComputeUtils {
|
|||
for (NetworkConnection connection : vm.getNetworkConnectionSection().getConnections()) {
|
||||
if (connection.getIpAddress() != null)
|
||||
ips.add(connection.getIpAddress());
|
||||
if (connection.getExternalIpAddress() != null)
|
||||
ips.add(connection.getExternalIpAddress());
|
||||
}
|
||||
} else {
|
||||
for (ResourceAllocation net : filter(vm.getVirtualHardwareSection().getResourceAllocations(),
|
||||
|
|
Loading…
Reference in New Issue