CLOUDSTACK-9048: Fix typo for public network description

This commit is contained in:
Carles Figuerola 2015-11-09 11:18:44 -06:00
parent 04f72088c0
commit 2f5a40065c
5 changed files with 5 additions and 5 deletions

View File

@ -95,7 +95,7 @@ public class CreateLoadBalancerRuleCmd extends BaseAsyncCreateCmd /*implements L
private Integer publicPort; private Integer publicPort;
@Parameter(name = ApiConstants.OPEN_FIREWALL, type = CommandType.BOOLEAN, description = "if true, firewall rule for" @Parameter(name = ApiConstants.OPEN_FIREWALL, type = CommandType.BOOLEAN, description = "if true, firewall rule for"
+ " source/end pubic port is automatically created; if false - firewall rule has to be created explicitely. If not specified 1) defaulted to false when LB" + " source/end public port is automatically created; if false - firewall rule has to be created explicitely. If not specified 1) defaulted to false when LB"
+ " rule is being created for VPC guest network 2) in all other cases defaulted to true") + " rule is being created for VPC guest network 2) in all other cases defaulted to true")
private Boolean openFirewall; private Boolean openFirewall;

View File

@ -71,7 +71,7 @@ public class CreateIpForwardingRuleCmd extends BaseAsyncCreateCmd implements Sta
@Parameter(name = ApiConstants.OPEN_FIREWALL, @Parameter(name = ApiConstants.OPEN_FIREWALL,
type = CommandType.BOOLEAN, type = CommandType.BOOLEAN,
description = "if true, firewall rule for source/end pubic port is automatically created; if false - firewall rule has to be created explicitly. Has value true by default") description = "if true, firewall rule for source/end public port is automatically created; if false - firewall rule has to be created explicitly. Has value true by default")
private Boolean openFirewall; private Boolean openFirewall;
@Parameter(name = ApiConstants.CIDR_LIST, type = CommandType.LIST, collectionType = CommandType.STRING, description = "the CIDR list to forward traffic from") @Parameter(name = ApiConstants.CIDR_LIST, type = CommandType.LIST, collectionType = CommandType.STRING, description = "the CIDR list to forward traffic from")

View File

@ -73,7 +73,7 @@ public class CreateRemoteAccessVpnCmd extends BaseAsyncCreateCmd {
@Parameter(name = ApiConstants.OPEN_FIREWALL, @Parameter(name = ApiConstants.OPEN_FIREWALL,
type = CommandType.BOOLEAN, type = CommandType.BOOLEAN,
description = "if true, firewall rule for source/end pubic port is automatically created; if false - firewall rule has to be created explicitely. Has value true by default") description = "if true, firewall rule for source/end public port is automatically created; if false - firewall rule has to be created explicitely. Has value true by default")
private Boolean openFirewall; private Boolean openFirewall;
@Parameter(name = ApiConstants.FOR_DISPLAY, type = CommandType.BOOLEAN, description = "an optional field, whether to the display the vpn to the end user or not", since = "4.4", authorized = {RoleType.Admin}) @Parameter(name = ApiConstants.FOR_DISPLAY, type = CommandType.BOOLEAN, description = "an optional field, whether to the display the vpn to the end user or not", since = "4.4", authorized = {RoleType.Admin})

View File

@ -194,7 +194,7 @@ public abstract class ServerResourceBase implements ServerResource {
info = NetUtils.getNetworkParams(_publicNic); info = NetUtils.getNetworkParams(_publicNic);
if (info != null) { if (info != null) {
if (s_logger.isDebugEnabled()) { if (s_logger.isDebugEnabled()) {
s_logger.debug("Parameters for pubic nic: " + info[0] + " - " + info[1] + "-" + info[2]); s_logger.debug("Parameters for public nic: " + info[0] + " - " + info[1] + "-" + info[2]);
} }
cmd.setPublicIpAddress(info[0]); cmd.setPublicIpAddress(info[0]);
cmd.setPublicMacAddress(info[1]); cmd.setPublicMacAddress(info[1]);

File diff suppressed because one or more lines are too long