weizhouapache commented on code in PR #14217:
URL: https://github.com/apache/cloudstack/pull/14217#discussion_r4790416680
##########
api/src/main/java/org/apache/cloudstack/api/command/user/network/UpdateNetworkCmd.java:
##########
@@ -110,6 +110,12 @@ public class UpdateNetworkCmd extends BaseAsyncCustomIdCmd
implements UserCmd {
type = CommandType.BOOLEAN, since = "4.23.0", authorized =
{RoleType.Admin})
private Boolean keepMacAddressOnPublicNic;
+ @Parameter(name = ApiConstants.START_IP, type = CommandType.STRING,
description = "The beginning of the custom DHCP range within the CIDR for a
source NAT isolated network. An empty value clears the range so the whole CIDR
is used.", since = "4.23.0")
+ private String startIp;
+
+ @Parameter(name = ApiConstants.END_IP, type = CommandType.STRING,
description = "The end of the custom DHCP range within the CIDR for a source
NAT isolated network. Defaults to the start IP when not set.", since = "4.23.0")
Review Comment:
since 24.0
##########
api/src/main/java/org/apache/cloudstack/api/command/user/network/UpdateNetworkCmd.java:
##########
@@ -110,6 +110,12 @@ public class UpdateNetworkCmd extends BaseAsyncCustomIdCmd
implements UserCmd {
type = CommandType.BOOLEAN, since = "4.23.0", authorized =
{RoleType.Admin})
private Boolean keepMacAddressOnPublicNic;
+ @Parameter(name = ApiConstants.START_IP, type = CommandType.STRING,
description = "The beginning of the custom DHCP range within the CIDR for a
source NAT isolated network. An empty value clears the range so the whole CIDR
is used.", since = "4.23.0")
Review Comment:
since 24.0
##########
api/src/main/java/org/apache/cloudstack/api/response/NetworkResponse.java:
##########
@@ -67,6 +67,14 @@ public class NetworkResponse extends
BaseResponseWithAssociatedNetwork implement
@Param(description = "CloudStack managed address space, all CloudStack
managed Instances get IP address from CIDR")
private String cidr;
+ @SerializedName(ApiConstants.START_IP)
+ @Param(description = "the start of the custom DHCP range for an isolated
network, within its CIDR", since = "4.24.0")
Review Comment:
since 24.0
##########
api/src/main/java/org/apache/cloudstack/api/response/NetworkResponse.java:
##########
@@ -67,6 +67,14 @@ public class NetworkResponse extends
BaseResponseWithAssociatedNetwork implement
@Param(description = "CloudStack managed address space, all CloudStack
managed Instances get IP address from CIDR")
private String cidr;
+ @SerializedName(ApiConstants.START_IP)
+ @Param(description = "the start of the custom DHCP range for an isolated
network, within its CIDR", since = "4.24.0")
+ private String dhcpStartIp;
+
+ @SerializedName(ApiConstants.END_IP)
+ @Param(description = "the end of the custom DHCP range for an isolated
network, within its CIDR", since = "4.24.0")
Review Comment:
since 24.0
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]