Skip to content

Commit 711ec3a

Browse files
Version changes
1 parent 1cf7cfd commit 711ec3a

File tree

14 files changed

+40
-28
lines changed

14 files changed

+40
-28
lines changed

api/src/main/java/org/apache/cloudstack/api/ApiConstants.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,9 @@ public class ApiConstants {
498498
public static final String STORAGE_TAGS = "storagetags";
499499
public static final String STORAGE_ACCESS_GROUPS = "storageaccessgroups";
500500
public static final String STORAGE_ACCESS_GROUP = "storageaccessgroup";
501+
public static final String CLUSTER_STORAGE_ACCESS_GROUPS = "clusterstorageaccessgroups";
502+
public static final String POD_STORAGE_ACCESS_GROUPS = "podstorageaccessgroups";
503+
public static final String ZONE_STORAGE_ACCESS_GROUPS = "zonestorageaccessgroups";
501504
public static final String SUCCESS = "success";
502505
public static final String SUITABLE_FOR_VM = "suitableforvirtualmachine";
503506
public static final String SUPPORTS_STORAGE_SNAPSHOT = "supportsstoragesnapshot";

api/src/main/java/org/apache/cloudstack/api/command/admin/cluster/ListClustersCmd.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,9 @@ public class ListClustersCmd extends BaseListCmd {
7474
since = "4.20.1")
7575
private String arch;
7676

77-
@Parameter(name = ApiConstants.STORAGE_ACCESS_GROUP, type = CommandType.STRING, description = "the name of the storage access group")
77+
@Parameter(name = ApiConstants.STORAGE_ACCESS_GROUP, type = CommandType.STRING,
78+
description = "the name of the storage access group",
79+
since = "4.21.0")
7880
private String storageAccessGroup;
7981

8082
/////////////////////////////////////////////////////

api/src/main/java/org/apache/cloudstack/api/command/admin/host/ListHostsCmd.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,9 @@ public class ListHostsCmd extends BaseListCmd {
113113
@Parameter(name = ApiConstants.ARCH, type = CommandType.STRING, description = "CPU Arch of the host", since = "4.20.1")
114114
private String arch;
115115

116-
@Parameter(name = ApiConstants.STORAGE_ACCESS_GROUP, type = CommandType.STRING, description = "the name of the storage access group")
116+
@Parameter(name = ApiConstants.STORAGE_ACCESS_GROUP, type = CommandType.STRING,
117+
description = "the name of the storage access group",
118+
since = "4.21.0")
117119
private String storageAccessGroup;
118120

119121
/////////////////////////////////////////////////////

api/src/main/java/org/apache/cloudstack/api/command/admin/pod/ListPodsByCmd.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ public class ListPodsByCmd extends BaseListCmd {
5555
@Parameter(name = ApiConstants.SHOW_CAPACITIES, type = CommandType.BOOLEAN, description = "flag to display the capacity of the pods")
5656
private Boolean showCapacities;
5757

58-
@Parameter(name = ApiConstants.STORAGE_ACCESS_GROUP, type = CommandType.STRING, description = "the name of the storage access group")
58+
@Parameter(name = ApiConstants.STORAGE_ACCESS_GROUP, type = CommandType.STRING,
59+
description = "the name of the storage access group",
60+
since = "4.21.0")
5961
private String storageAccessGroup;
6062

6163
/////////////////////////////////////////////////////

api/src/main/java/org/apache/cloudstack/api/command/admin/storage/ConfigureStorageAccessCmd.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ public class ConfigureStorageAccessCmd extends BaseAsyncCmd {
6060
private Long storageId;
6161

6262
@Parameter(name = ApiConstants.STORAGE_ACCESS_GROUPS, type = CommandType.LIST, collectionType = CommandType.STRING,
63-
description = "comma separated list of storage access groups for connecting the storage pools and the hosts")
63+
description = "comma separated list of storage access groups for connecting the storage pools and the hosts",
64+
since = "4.21.0")
6465
private List<String> storageAccessGroups;
6566

6667

api/src/main/java/org/apache/cloudstack/api/command/user/zone/ListZonesCmd.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ public class ListZonesCmd extends BaseListCmd implements UserCmd {
6969
@Parameter(name = ApiConstants.SHOW_RESOURCE_ICON, type = CommandType.BOOLEAN, description = "flag to display the resource image for the zones")
7070
private Boolean showIcon;
7171

72-
@Parameter(name = ApiConstants.STORAGE_ACCESS_GROUP, type = CommandType.STRING, description = "the name of the storage access group")
72+
@Parameter(name = ApiConstants.STORAGE_ACCESS_GROUP, type = CommandType.STRING,
73+
description = "the name of the storage access group",
74+
since = "4.21.0")
7375
private String storageAccessGroup;
7476

7577
/////////////////////////////////////////////////////

api/src/main/java/org/apache/cloudstack/api/response/ClusterResponse.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,15 +96,15 @@ public class ClusterResponse extends BaseResponseWithAnnotations {
9696
private String arch;
9797

9898
@SerializedName(ApiConstants.STORAGE_ACCESS_GROUPS)
99-
@Param(description = "comma-separated list of storage access groups for the host", since = "4.20.1")
99+
@Param(description = "comma-separated list of storage access groups for the host", since = "4.21.0")
100100
private String storageAccessGroups;
101101

102-
@SerializedName("podstorageaccessgroups")
103-
@Param(description = "comma-separated list of storage access groups on the pod", since = "4.20.1")
102+
@SerializedName(ApiConstants.POD_STORAGE_ACCESS_GROUPS)
103+
@Param(description = "comma-separated list of storage access groups on the pod", since = "4.21.0")
104104
private String podStorageAccessGroups;
105105

106-
@SerializedName("zonestorageaccessgroups")
107-
@Param(description = "comma-separated list of storage access groups on the zone", since = "4.20.1")
106+
@SerializedName(ApiConstants.ZONE_STORAGE_ACCESS_GROUPS)
107+
@Param(description = "comma-separated list of storage access groups on the zone", since = "4.21.0")
108108
private String zoneStorageAccessGroups;
109109

110110
public String getId() {

api/src/main/java/org/apache/cloudstack/api/response/HostResponse.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -303,19 +303,19 @@ public class HostResponse extends BaseResponseWithAnnotations {
303303
private String arch;
304304

305305
@SerializedName(ApiConstants.STORAGE_ACCESS_GROUPS)
306-
@Param(description = "comma-separated list of storage access groups for the host", since = "4.20.1")
306+
@Param(description = "comma-separated list of storage access groups for the host", since = "4.21.0")
307307
private String storageAccessGroups;
308308

309-
@SerializedName("clusterstorageaccessgroups")
310-
@Param(description = "comma-separated list of storage access groups on the cluster", since = "4.20.1")
309+
@SerializedName(ApiConstants.CLUSTER_STORAGE_ACCESS_GROUPS)
310+
@Param(description = "comma-separated list of storage access groups on the cluster", since = "4.21.0")
311311
private String clusterStorageAccessGroups;
312312

313-
@SerializedName("podstorageaccessgroups")
314-
@Param(description = "comma-separated list of storage access groups on the pod", since = "4.20.1")
313+
@SerializedName(ApiConstants.POD_STORAGE_ACCESS_GROUPS)
314+
@Param(description = "comma-separated list of storage access groups on the pod", since = "4.21.0")
315315
private String podStorageAccessGroups;
316316

317-
@SerializedName("zonestorageaccessgroups")
318-
@Param(description = "comma-separated list of storage access groups on the zone", since = "4.20.1")
317+
@SerializedName(ApiConstants.ZONE_STORAGE_ACCESS_GROUPS)
318+
@Param(description = "comma-separated list of storage access groups on the zone", since = "4.21.0")
319319
private String zoneStorageAccessGroups;
320320

321321
@Override

api/src/main/java/org/apache/cloudstack/api/response/PodResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public class PodResponse extends BaseResponseWithAnnotations {
8989
@Param(description = "comma-separated list of storage access groups for the pod", since = "4.21.0")
9090
private String storageAccessGroups;
9191

92-
@SerializedName("zonestorageaccessgroups")
92+
@SerializedName(ApiConstants.ZONE_STORAGE_ACCESS_GROUPS)
9393
@Param(description = "comma-separated list of storage access groups on the zone", since = "4.21.0")
9494
private String zoneStorageAccessGroups;
9595

api/src/main/java/org/apache/cloudstack/api/response/StoragePoolResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public class StoragePoolResponse extends BaseResponseWithAnnotations {
110110
private String tags;
111111

112112
@SerializedName(ApiConstants.STORAGE_ACCESS_GROUPS)
113-
@Param(description = "the storage access groups for the storage pool")
113+
@Param(description = "the storage access groups for the storage pool", since = "4.21.0")
114114
private String storageAccessGroups;
115115

116116
@SerializedName(ApiConstants.NFS_MOUNT_OPTIONS)

0 commit comments

Comments
 (0)