File tree Expand file tree Collapse file tree
api/src/org/apache/cloudstack/api Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -53,6 +53,8 @@ public void execute(){
5353 response .setAllowUsersCreateProjects ((Boolean )capabilities .get ("allowusercreateprojects" ));
5454 response .setDiskOffMaxSize ((Long )capabilities .get ("customDiskOffMaxSize" ));
5555 response .setKVMSnapshotEnabled ((Boolean )capabilities .get ("KVMSnapshotEnabled" ));
56+ response .setRegionSecondaryEnabled ((Boolean )capabilities .get ("regionSecondaryEnabled" ));
57+
5658 if (capabilities .containsKey ("apiLimitInterval" )) {
5759 response .setApiLimitInterval ((Integer ) capabilities .get ("apiLimitInterval" ));
5860 }
Original file line number Diff line number Diff line change @@ -49,6 +49,9 @@ public class CapabilitiesResponse extends BaseResponse {
4949 @ SerializedName ("KVMsnapshotenabled" ) @ Param (description = "true if snapshot is supported for KVM host, false otherwise" )
5050 private boolean KVMSnapshotEnabled ;
5151
52+ @ SerializedName ("regionsecondaryenabled" ) @ Param (description = "true if region wide secondary is enabled, false otherwise" )
53+ private boolean regionSecondaryEnabled ;
54+
5255 @ SerializedName ("apilimitinterval" ) @ Param (description ="time interval (in seconds) to reset api count" )
5356 private Integer apiLimitInterval ;
5457
@@ -88,6 +91,10 @@ public void setKVMSnapshotEnabled(boolean KVMSnapshotEnabled) {
8891 this .KVMSnapshotEnabled = KVMSnapshotEnabled ;
8992 }
9093
94+ public void setRegionSecondaryEnabled (boolean regionSecondaryEnabled ){
95+ this .regionSecondaryEnabled = regionSecondaryEnabled ;
96+ }
97+
9198 public void setApiLimitInterval (Integer apiLimitInterval ) {
9299 this .apiLimitInterval = apiLimitInterval ;
93100 }
You can’t perform that action at this time.
0 commit comments