CLOUDSTACK-2120 - mixed zone management - extend listIsos API to return zone type.

This commit is contained in:
Jessica Wang 2013-04-23 13:46:36 -07:00
parent f7f1279d81
commit 6230e5b77b
1 changed files with 1 additions and 0 deletions

View File

@ -1738,6 +1738,7 @@ public class ApiResponseHelper implements ResponseGenerator {
if (datacenter != null) {
isoResponse.setZoneId(datacenter.getUuid());
isoResponse.setZoneName(datacenter.getName());
isoResponse.setZoneType(datacenter.getNetworkType().toString());
}
// If the user is an admin, add the template download status