throw new InvalidZoneException(msg);
}
ComputeServiceContext context = iaasInfo.getComputeService().getContext();
RestContext<NovaApi, NovaAsyncApi> nova = context.unwrap();
AvailabilityZoneAPI zoneApi = nova.getApi().getAvailabilityZoneApi(region);
for (AvailabilityZone z : zoneApi.list()) {
if (zone.equalsIgnoreCase(z.getName())) {
if (log.isDebugEnabled()) {
log.debug("Found a matching availability zone: " + zone);
}