sureshanaparti commented on code in PR #10458:
URL: https://github.com/apache/cloudstack/pull/10458#discussion_r2222683452
##########
api/src/main/java/org/apache/cloudstack/api/command/user/vpc/CreateStaticRouteCmd.java:
##########
@@ -45,20 +46,38 @@ public class CreateStaticRouteCmd extends
BaseAsyncCreateCmd {
@Parameter(name = ApiConstants.GATEWAY_ID,
type = CommandType.UUID,
entityType = PrivateGatewayResponse.class,
- required = true,
- description = "the gateway id we are creating static route for")
+ description = "the gateway id we are creating static route for.
Mutually exclusive with the nexthop parameter")
private Long gatewayId;
+ @Parameter(name = ApiConstants.VPC_ID,
+ type = CommandType.UUID,
+ entityType = VpcResponse.class,
+ description = "the vpc id for which the static route is created.
This is required for nexthop parameter")
+ private Long vpcId;
+
+ @Parameter(name = ApiConstants.NEXT_HOP,
+ type = CommandType.STRING,
+ description = "the next hop of static route. Mutually exclusive
with the gatewayid parameter")
+ private String nextHop;
Review Comment:
add since = "4.21.0" for the above new parameters
--
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]