You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by pd...@apache.org on 2015/03/09 03:18:09 UTC
git commit: updated refs/heads/master to d38b6f5
Repository: cloudstack
Updated Branches:
refs/heads/master 25c83c7d4 -> d38b6f5f1
CLOUDSTACK-4719: update API description for details, example for xenserver tools
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/d38b6f5f
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/d38b6f5f
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/d38b6f5f
Branch: refs/heads/master
Commit: d38b6f5f1ee4ec310b668ee9d67e96b54efa2482
Parents: 25c83c7
Author: Pierre-Luc Dion <pd...@apache.org>
Authored: Sun Mar 8 22:17:45 2015 -0400
Committer: Pierre-Luc Dion <pd...@apache.org>
Committed: Sun Mar 8 22:17:45 2015 -0400
----------------------------------------------------------------------
api/src/org/apache/cloudstack/api/BaseUpdateTemplateOrIsoCmd.java | 2 +-
.../cloudstack/api/command/user/template/CreateTemplateCmd.java | 2 +-
.../cloudstack/api/command/user/template/RegisterTemplateCmd.java | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/d38b6f5f/api/src/org/apache/cloudstack/api/BaseUpdateTemplateOrIsoCmd.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/BaseUpdateTemplateOrIsoCmd.java b/api/src/org/apache/cloudstack/api/BaseUpdateTemplateOrIsoCmd.java
index 2754b25..618494c 100644
--- a/api/src/org/apache/cloudstack/api/BaseUpdateTemplateOrIsoCmd.java
+++ b/api/src/org/apache/cloudstack/api/BaseUpdateTemplateOrIsoCmd.java
@@ -67,7 +67,7 @@ public abstract class BaseUpdateTemplateOrIsoCmd extends BaseCmd {
@Parameter(name = ApiConstants.ROUTING, type = CommandType.BOOLEAN, description = "true if the template type is routing i.e., if template is used to deploy router")
protected Boolean isRoutingType;
- @Parameter(name = ApiConstants.DETAILS, type = CommandType.MAP, description = "Details in key/value pairs.")
+ @Parameter(name = ApiConstants.DETAILS, type = CommandType.MAP, description = "Details in key/value pairs using format details[i].keyname=keyvalue. Example: \"details[0].hypervisortoolsversion=xenserver61\"")
protected Map details;
/////////////////////////////////////////////////////
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/d38b6f5f/api/src/org/apache/cloudstack/api/command/user/template/CreateTemplateCmd.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/command/user/template/CreateTemplateCmd.java b/api/src/org/apache/cloudstack/api/command/user/template/CreateTemplateCmd.java
index aa076e4..03d61b5 100644
--- a/api/src/org/apache/cloudstack/api/command/user/template/CreateTemplateCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/template/CreateTemplateCmd.java
@@ -116,7 +116,7 @@ public class CreateTemplateCmd extends BaseAsyncCreateCmd {
@Parameter(name = ApiConstants.TEMPLATE_TAG, type = CommandType.STRING, description = "the tag for this template.")
private String templateTag;
- @Parameter(name = ApiConstants.DETAILS, type = CommandType.MAP, description = "Template details in key/value pairs.")
+ @Parameter(name = ApiConstants.DETAILS, type = CommandType.MAP, description = "Template details in key/value pairs using format details[i].keyname=keyvalue. Example: \"details[0].hypervisortoolsversion=xenserver61\"")
protected Map details;
@Parameter(name = ApiConstants.IS_DYNAMICALLY_SCALABLE,
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/d38b6f5f/api/src/org/apache/cloudstack/api/command/user/template/RegisterTemplateCmd.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/command/user/template/RegisterTemplateCmd.java b/api/src/org/apache/cloudstack/api/command/user/template/RegisterTemplateCmd.java
index c0ad345..f66163e 100644
--- a/api/src/org/apache/cloudstack/api/command/user/template/RegisterTemplateCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/template/RegisterTemplateCmd.java
@@ -129,7 +129,7 @@ public class RegisterTemplateCmd extends BaseCmd {
@Parameter(name = ApiConstants.PROJECT_ID, type = CommandType.UUID, entityType = ProjectResponse.class, description = "Register template for the project")
private Long projectId;
- @Parameter(name = ApiConstants.DETAILS, type = CommandType.MAP, description = "Template details in key/value pairs.")
+ @Parameter(name = ApiConstants.DETAILS, type = CommandType.MAP, description = "Template details in key/value pairs using format details[i].keyname=keyvalue. Example: \"details[0].hypervisortoolsversion=xenserver61\"")
protected Map details;
@Parameter(name = ApiConstants.IS_DYNAMICALLY_SCALABLE,