Updated Branches:
  refs/heads/master 24fc147ee -> 56fad8692

CLOUDSTACK-3428
UCS:API: We need listUCSManager API to lists all UCS managers registered with 
CloudStack

fix entityType in api command


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

Branch: refs/heads/master
Commit: 56fad8692097f264455c684d36a8c88795acc52f
Parents: 24fc147
Author: frank <[email protected]>
Authored: Fri Jul 19 17:46:27 2013 -0700
Committer: frank <[email protected]>
Committed: Fri Jul 19 17:47:00 2013 -0700

----------------------------------------------------------------------
 .../ucs/src/org/apache/cloudstack/api/ListUcsManagerCmd.java      | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/56fad869/plugins/hypervisors/ucs/src/org/apache/cloudstack/api/ListUcsManagerCmd.java
----------------------------------------------------------------------
diff --git 
a/plugins/hypervisors/ucs/src/org/apache/cloudstack/api/ListUcsManagerCmd.java 
b/plugins/hypervisors/ucs/src/org/apache/cloudstack/api/ListUcsManagerCmd.java
index 4d4473d..228fbcb 100755
--- 
a/plugins/hypervisors/ucs/src/org/apache/cloudstack/api/ListUcsManagerCmd.java
+++ 
b/plugins/hypervisors/ucs/src/org/apache/cloudstack/api/ListUcsManagerCmd.java
@@ -36,6 +36,7 @@ import org.apache.cloudstack.api.Parameter;
 import org.apache.cloudstack.api.ServerApiException;
 import org.apache.cloudstack.api.response.ListResponse;
 import org.apache.cloudstack.api.response.UcsManagerResponse;
+import org.apache.cloudstack.api.response.ZoneResponse;
 import org.apache.log4j.Logger;
 
 import com.cloud.exception.ConcurrentOperationException;
@@ -50,7 +51,7 @@ import com.cloud.user.Account;
 public class ListUcsManagerCmd extends BaseListCmd {
     public static final Logger s_logger = 
Logger.getLogger(ListUcsManagerCmd.class);
 
-    @Parameter(name=ApiConstants.ZONE_ID, type=CommandType.LONG, 
description="the zone id", required=true)
+    @Parameter(name=ApiConstants.ZONE_ID, type=CommandType.UUID, 
description="the zone id", entityType=ZoneResponse.class, required=true)
     private Long zoneId;
 
     @Inject

Reply via email to