Skip to content

Commit e7bb89c

Browse files
committed
Merge release branch 4.18 to main
* 4.18: updated the api documentation for createNetworkOffering and updateNetworkOffering (#7545)
2 parents 29a223b + 8644480 commit e7bb89c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

api/src/main/java/org/apache/cloudstack/api/command/admin/network/CreateNetworkOfferingCmd.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ public class CreateNetworkOfferingCmd extends BaseCmd {
7474
@Parameter(name = ApiConstants.SPECIFY_VLAN, type = CommandType.BOOLEAN, description = "true if network offering supports vlans")
7575
private Boolean specifyVlan;
7676

77-
@Parameter(name = ApiConstants.AVAILABILITY, type = CommandType.STRING, description = "the availability of network offering. Default value is Optional")
77+
@Parameter(name = ApiConstants.AVAILABILITY, type = CommandType.STRING, description = "the availability of network offering. The default value is Optional. "
78+
+ " Another value is Required, which will make it as the default network offering for new networks ")
7879
private String availability;
7980

8081
@Parameter(name = ApiConstants.NETWORKRATE, type = CommandType.INTEGER, description = "data transfer rate in megabits per second allowed")

api/src/main/java/org/apache/cloudstack/api/command/admin/network/UpdateNetworkOfferingCmd.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public class UpdateNetworkOfferingCmd extends BaseCmd {
5555
private String displayText;
5656

5757
@Parameter(name = ApiConstants.AVAILABILITY, type = CommandType.STRING, description = "the availability of network offering."
58-
+ " Default value is Required for Guest Virtual network offering; Optional for Guest Direct network offering")
58+
+ " The value is Required makes this network offering default for Guest Virtual Networks. Only one network offering can have the value Required ")
5959
private String availability;
6060

6161
@Parameter(name = ApiConstants.SORT_KEY, type = CommandType.INTEGER, description = "sort key of the network offering, integer")

0 commit comments

Comments
 (0)