Skip to content

Commit 8644480

Browse files
kiranchavalaKiran ChavalaweizhouapacheDaanHoogland
authored
updated the api documentation for createNetworkOffering and updateNetworkOffering (#7545)
Co-authored-by: Kiran Chavala <[email protected]> Co-authored-by: Wei Zhou <[email protected]> Co-authored-by: dahn <[email protected]>
1 parent e790047 commit 8644480

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
@@ -73,7 +73,8 @@ public class CreateNetworkOfferingCmd extends BaseCmd {
7373
@Parameter(name = ApiConstants.SPECIFY_VLAN, type = CommandType.BOOLEAN, description = "true if network offering supports vlans")
7474
private Boolean specifyVlan;
7575

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

7980
@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)