CLOUDSTACK-2789: updateVPC takes in id and name as required Signed-off-by: Prasanna Santhanam <[email protected]>
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/16a76e92 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/16a76e92 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/16a76e92 Branch: refs/heads/master Commit: 16a76e92abce6864be0ebd6a82cbe7c46f456824 Parents: 49b5e61 Author: Prasanna Santhanam <[email protected]> Authored: Fri May 31 18:46:51 2013 +0530 Committer: Prasanna Santhanam <[email protected]> Committed: Fri May 31 19:35:14 2013 +0530 ---------------------------------------------------------------------- .../api/command/user/vpc/UpdateVPCCmd.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/16a76e92/api/src/org/apache/cloudstack/api/command/user/vpc/UpdateVPCCmd.java ---------------------------------------------------------------------- diff --git a/api/src/org/apache/cloudstack/api/command/user/vpc/UpdateVPCCmd.java b/api/src/org/apache/cloudstack/api/command/user/vpc/UpdateVPCCmd.java index 2cc3c98..a641021 100644 --- a/api/src/org/apache/cloudstack/api/command/user/vpc/UpdateVPCCmd.java +++ b/api/src/org/apache/cloudstack/api/command/user/vpc/UpdateVPCCmd.java @@ -38,11 +38,11 @@ public class UpdateVPCCmd extends BaseAsyncCmd{ //////////////// API parameters ///////////////////// ///////////////////////////////////////////////////// - @Parameter(name=ApiConstants.ID, type=CommandType.UUID, entityType=VpcResponse.class, + @Parameter(name=ApiConstants.ID, type=CommandType.UUID, entityType=VpcResponse.class, required=true, description="the id of the VPC") private Long id; - @Parameter(name=ApiConstants.NAME, type=CommandType.STRING, description="the name of the VPC") + @Parameter(name=ApiConstants.NAME, type=CommandType.STRING, description="the name of the VPC", required=true) private String vpcName; @Parameter(name=ApiConstants.DISPLAY_TEXT, type=CommandType.STRING, description="the display text of the VPC")
