This is an automated email from the ASF dual-hosted git repository.
rohit pushed a commit to branch 4.15
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/4.15 by this push:
new 645ceec Updated since and validations attributes for the ikeversion
and splitconnections parameters of vpn customer gateway cmd(s) (#4996)
645ceec is described below
commit 645ceecea480a52c9827a45d31a18478c458c2e7
Author: sureshanaparti <[email protected]>
AuthorDate: Thu May 6 10:38:36 2021 +0530
Updated since and validations attributes for the ikeversion and
splitconnections parameters of vpn customer gateway cmd(s) (#4996)
---
.../api/command/user/vpn/CreateVpnCustomerGatewayCmd.java | 6 ++++--
.../api/command/user/vpn/UpdateVpnCustomerGatewayCmd.java | 6 ++++--
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git
a/api/src/main/java/org/apache/cloudstack/api/command/user/vpn/CreateVpnCustomerGatewayCmd.java
b/api/src/main/java/org/apache/cloudstack/api/command/user/vpn/CreateVpnCustomerGatewayCmd.java
index df7295b..36549e4 100644
---
a/api/src/main/java/org/apache/cloudstack/api/command/user/vpn/CreateVpnCustomerGatewayCmd.java
+++
b/api/src/main/java/org/apache/cloudstack/api/command/user/vpn/CreateVpnCustomerGatewayCmd.java
@@ -16,6 +16,7 @@
// under the License.
package org.apache.cloudstack.api.command.user.vpn;
+import org.apache.cloudstack.api.ApiArgValidator;
import org.apache.log4j.Logger;
import org.apache.cloudstack.api.APICommand;
import org.apache.cloudstack.api.ApiConstants;
@@ -92,11 +93,12 @@ public class CreateVpnCustomerGatewayCmd extends
BaseAsyncCmd {
description = "create site-to-site VPN customer gateway for the
project", since = "4.6")
private Long projectId;
- @Parameter(name = ApiConstants.SPLIT_CONNECTIONS, type =
CommandType.BOOLEAN, required = false, description = "For IKEv2, whether to
split multiple right subnet cidrs into multiple connection statements.")
+ @Parameter(name = ApiConstants.SPLIT_CONNECTIONS, type =
CommandType.BOOLEAN, required = false, description = "For IKEv2, whether to
split multiple right subnet cidrs into multiple connection statements.",
+ since = "4.15.1")
private Boolean splitConnections;
@Parameter(name = ApiConstants.IKE_VERSION, type = CommandType.STRING,
required = false, description = "Which IKE Version to use, one of ike
(autoselect), ikev1, or ikev2. " +
- "Connections marked with 'ike' will use 'ikev2' when initiating,
but accept any protocol version when responding. Defaults to ike")
+ "Connections marked with 'ike' will use 'ikev2' when initiating,
but accept any protocol version when responding. Defaults to ike", validations
= {ApiArgValidator.NotNullOrEmpty}, since = "4.15.1")
private String ikeVersion;
/////////////////////////////////////////////////////
diff --git
a/api/src/main/java/org/apache/cloudstack/api/command/user/vpn/UpdateVpnCustomerGatewayCmd.java
b/api/src/main/java/org/apache/cloudstack/api/command/user/vpn/UpdateVpnCustomerGatewayCmd.java
index f2fcc91..80a7156 100644
---
a/api/src/main/java/org/apache/cloudstack/api/command/user/vpn/UpdateVpnCustomerGatewayCmd.java
+++
b/api/src/main/java/org/apache/cloudstack/api/command/user/vpn/UpdateVpnCustomerGatewayCmd.java
@@ -16,6 +16,7 @@
// under the License.
package org.apache.cloudstack.api.command.user.vpn;
+import org.apache.cloudstack.api.ApiArgValidator;
import org.apache.log4j.Logger;
import org.apache.cloudstack.api.APICommand;
@@ -94,11 +95,12 @@ public class UpdateVpnCustomerGatewayCmd extends
BaseAsyncCmd {
+ "gateway associated with the account for the specified
domain.")
private Long domainId;
- @Parameter(name = ApiConstants.SPLIT_CONNECTIONS, type =
CommandType.BOOLEAN, required = false, description = "For IKEv2, whether to
split multiple right subnet cidrs into multiple connection statements.")
+ @Parameter(name = ApiConstants.SPLIT_CONNECTIONS, type =
CommandType.BOOLEAN, required = false, description = "For IKEv2, whether to
split multiple right subnet cidrs into multiple connection statements.",
+ since = "4.15.1")
private Boolean splitConnections;
@Parameter(name = ApiConstants.IKE_VERSION, type = CommandType.STRING,
required = false, description = "Which IKE Version to use, one of ike
(autoselect), ikev1, or ikev2." +
- "Connections marked with 'ike' will use 'ikev2' when initiating,
but accept any protocol version when responding. Defaults to ike")
+ "Connections marked with 'ike' will use 'ikev2' when initiating,
but accept any protocol version when responding. Defaults to ike", validations
= {ApiArgValidator.NotNullOrEmpty}, since = "4.15.1")
private String ikeVersion;
/////////////////////////////////////////////////////