cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject [15/42] git commit: updated refs/heads/ui-vm-affinity to 25f2f0f
Date Wed, 24 Apr 2013 23:03:23 GMT
CLOUDSTACK-2120 - mixed zone management - extend listIsos API to return zone type.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/6230e5b7
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/6230e5b7
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/6230e5b7

Branch: refs/heads/ui-vm-affinity
Commit: 6230e5b77bf701494e3b416a5b7cd04adacfcd24
Parents: f7f1279
Author: Jessica Wang <jessicawang@apache.org>
Authored: Tue Apr 23 13:46:36 2013 -0700
Committer: Jessica Wang <jessicawang@apache.org>
Committed: Tue Apr 23 13:46:36 2013 -0700

----------------------------------------------------------------------
 server/src/com/cloud/api/ApiResponseHelper.java |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/6230e5b7/server/src/com/cloud/api/ApiResponseHelper.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/api/ApiResponseHelper.java b/server/src/com/cloud/api/ApiResponseHelper.java
index 0b996c9..f4567c0 100755
--- a/server/src/com/cloud/api/ApiResponseHelper.java
+++ b/server/src/com/cloud/api/ApiResponseHelper.java
@@ -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


Mime
View raw message