From afe92b073309bcd3c32ff7788337132dd577fd1e Mon Sep 17 00:00:00 2001 From: Alena Prokharchyk Date: Mon, 28 Nov 2011 11:59:18 -0800 Subject: [PATCH] bug 12162: publicIpId is required in createLoadBalancerRule command status 12162: resolved fixed --- api/src/com/cloud/api/commands/CreateLoadBalancerRuleCmd.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/com/cloud/api/commands/CreateLoadBalancerRuleCmd.java b/api/src/com/cloud/api/commands/CreateLoadBalancerRuleCmd.java index b7b9f6a665e..f43f3a6bb15 100644 --- a/api/src/com/cloud/api/commands/CreateLoadBalancerRuleCmd.java +++ b/api/src/com/cloud/api/commands/CreateLoadBalancerRuleCmd.java @@ -66,7 +66,7 @@ public class CreateLoadBalancerRuleCmd extends BaseAsyncCreateCmd /*implements private Integer privatePort; @IdentityMapper(entityTableName="user_ip_address") - @Parameter(name=ApiConstants.PUBLIC_IP_ID, type=CommandType.LONG, required=false, description="public ip address id from where the network traffic will be load balanced from") + @Parameter(name=ApiConstants.PUBLIC_IP_ID, type=CommandType.LONG, required=true, description="public ip address id from where the network traffic will be load balanced from") private Long publicIpId; @IdentityMapper(entityTableName="data_center")