+ ") is already in use in pod: "
+ pod.getName() + " and zone: "
+ dc.getName());
}
if (existingPrivateIPs.size() == 1) {
DataCenterIpAddressVO vo = existingPrivateIPs.get(0);
if (vo.getInstanceId() != null) {
throw new IllegalArgumentException(
"The private ip address of the server ("
+ serverPrivateIP
+ ") is already in use in pod: "
+ pod.getName() + " and zone: "