Skip to content

Commit

Permalink
Merge branch '4.19'
Browse files Browse the repository at this point in the history
  • Loading branch information
nvazquez committed Aug 6, 2024
2 parents 5baac44 + 6fbdda9 commit b73f634
Show file tree
Hide file tree
Showing 23 changed files with 763 additions and 178 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
fail-fast: false
matrix:
tests: [ "smoke/test_accounts
smoke/test_account_access
smoke/test_affinity_groups
smoke/test_affinity_groups_projects
smoke/test_annotations
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public class ClusterResponse extends BaseResponseWithAnnotations {

@SerializedName("capacity")
@Param(description = "the capacity of the Cluster", responseObject = CapacityResponse.class)
private List<CapacityResponse> capacitites;
private List<CapacityResponse> capacities;

@SerializedName("cpuovercommitratio")
@Param(description = "The cpu overcommit ratio of the cluster")
Expand Down Expand Up @@ -171,12 +171,12 @@ public void setManagedState(String managedState) {
this.managedState = managedState;
}

public List<CapacityResponse> getCapacitites() {
return capacitites;
public List<CapacityResponse> getCapacities() {
return capacities;
}

public void setCapacitites(ArrayList<CapacityResponse> arrayList) {
this.capacitites = arrayList;
public void setCapacities(ArrayList<CapacityResponse> arrayList) {
this.capacities = arrayList;
}

public void setCpuOvercommitRatio(String cpuovercommitratio) {
Expand Down Expand Up @@ -219,4 +219,32 @@ public void setResourceDetails(Map<String, String> details) {
public Map<String, String> getResourceDetails() {
return resourceDetails;
}

public String getCpuovercommitratio() {
return cpuovercommitratio;
}

public void setCpuovercommitratio(String cpuovercommitratio) {
this.cpuovercommitratio = cpuovercommitratio;
}

public String getMemoryovercommitratio() {
return memoryovercommitratio;
}

public void setMemoryovercommitratio(String memoryovercommitratio) {
this.memoryovercommitratio = memoryovercommitratio;
}

public String getOvm3vip() {
return ovm3vip;
}

public void setOvm3vip(String ovm3vip) {
this.ovm3vip = ovm3vip;
}

public void setCapacities(List<CapacityResponse> capacities) {
this.capacities = capacities;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ public class HostResponse extends BaseResponseWithAnnotations {

@SerializedName("ueficapability")
@Param(description = "true if the host has capability to support UEFI boot")
private Boolean uefiCapabilty;
private Boolean uefiCapability;

@SerializedName(ApiConstants.ENCRYPTION_SUPPORTED)
@Param(description = "true if the host supports encryption", since = "4.18")
Expand Down Expand Up @@ -735,7 +735,7 @@ public String getClusterType() {
return clusterType;
}

public Boolean isLocalStorageActive() {
public Boolean getLocalStorageActive() {
return localStorageActive;
}

Expand All @@ -755,7 +755,7 @@ public Boolean hasEnoughCapacity() {
return hasEnoughCapacity;
}

public Boolean isSuitableForMigration() {
public Boolean getSuitableForMigration() {
return suitableForMigration;
}

Expand All @@ -767,8 +767,8 @@ public Boolean getHaHost() {
return haHost;
}

public void setUefiCapabilty(Boolean hostCapability) {
this.uefiCapabilty = hostCapability;
public void setUefiCapability(Boolean hostCapability) {
this.uefiCapability = hostCapability;
}

public void setEncryptionSupported(Boolean encryptionSupported) {
Expand All @@ -786,4 +786,76 @@ public Boolean getIsTagARule() {
public void setIsTagARule(Boolean tagARule) {
isTagARule = tagARule;
}

public Long getCpuAllocatedValue() {
return cpuAllocatedValue;
}

public String getCpuAllocatedPercentage() {
return cpuAllocatedPercentage;
}

public String getCpuAllocatedWithOverprovisioning() {
return cpuAllocatedWithOverprovisioning;
}

public Double getCpuloadaverage() {
return cpuloadaverage;
}

public void setCpuloadaverage(Double cpuloadaverage) {
this.cpuloadaverage = cpuloadaverage;
}

public String getMemWithOverprovisioning() {
return memWithOverprovisioning;
}

public String getMemoryAllocatedPercentage() {
return memoryAllocatedPercentage;
}

public Long getMemoryAllocatedBytes() {
return memoryAllocatedBytes;
}

public Boolean getTagARule() {
return isTagARule;
}

public void setTagARule(Boolean tagARule) {
isTagARule = tagARule;
}

public Boolean getHasEnoughCapacity() {
return hasEnoughCapacity;
}

public void setDetails(Map details) {
this.details = details;
}

public String getAnnotation() {
return annotation;
}

public Date getLastAnnotated() {
return lastAnnotated;
}

public String getUsername() {
return username;
}

public Boolean getUefiCapability() {
return uefiCapability;
}

public Boolean getEncryptionSupported() {
return encryptionSupported;
}

public Boolean getInstanceConversionSupported() {
return instanceConversionSupported;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -167,4 +167,8 @@ public void setKernelVersion(String kernelVersion) {
public void setServiceIp(String serviceIp) {
this.serviceIp = serviceIp;
}

public String getKernelVersion() {
return kernelVersion;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -371,4 +371,16 @@ public String getNfsMountOpts() {
public void setNfsMountOpts(String nfsMountOpts) {
this.nfsMountOpts = nfsMountOpts;
}

public Long getAllocatedIops() {
return allocatedIops;
}

public Boolean getTagARule() {
return isTagARule;
}

public void setTagARule(Boolean tagARule) {
isTagARule = tagARule;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1133,4 +1133,8 @@ public void addVnfDetail(String key, String value) {
}
this.vnfDetails.put(key,value);
}

public void setIpAddress(String ipAddress) {
this.ipAddress = ipAddress;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ public class VolumeResponse extends BaseResponseWithTagInformation implements Co

@SerializedName("destroyed")
@Param(description = "the boolean state of whether the volume is destroyed or not")
private Boolean destroyed;
private boolean destroyed;

@SerializedName(ApiConstants.SERVICE_OFFERING_ID)
@Param(description = "ID of the service offering for root disk")
Expand All @@ -227,15 +227,15 @@ public class VolumeResponse extends BaseResponseWithTagInformation implements Co

@SerializedName("isextractable")
@Param(description = "true if the volume is extractable, false otherwise")
private Boolean extractable;
private boolean extractable;

@SerializedName(ApiConstants.STATUS)
@Param(description = "the status of the volume")
private String status;

@SerializedName(ApiConstants.DISPLAY_VOLUME)
@Param(description = "an optional field whether to the display the volume to the end user or not.", authorized = {RoleType.Admin})
private Boolean displayVolume;
private boolean displayVolume;

@SerializedName(ApiConstants.PATH)
@Param(description = "the path of the volume")
Expand Down Expand Up @@ -318,11 +318,11 @@ public String getObjectId() {
return this.getId();
}

public Boolean isDestroyed() {
public boolean isDestroyed() {
return destroyed;
}

public void setDestroyed(Boolean destroyed) {
public void setDestroyed(boolean destroyed) {
this.destroyed = destroyed;
}

Expand Down Expand Up @@ -521,7 +521,7 @@ public void setServiceOfferingDisplayText(String serviceOfferingDisplayText) {
this.serviceOfferingDisplayText = serviceOfferingDisplayText;
}

public void setExtractable(Boolean extractable) {
public void setExtractable(boolean extractable) {
this.extractable = extractable;
}

Expand All @@ -539,7 +539,7 @@ public void setProjectName(String projectName) {
this.projectName = projectName;
}

public void setDisplayVolume(Boolean displayVm) {
public void setDisplayVolume(boolean displayVm) {
this.displayVolume = displayVm;
}

Expand Down Expand Up @@ -755,15 +755,15 @@ public String getServiceOfferingDisplayText() {
return serviceOfferingDisplayText;
}

public Boolean getExtractable() {
public boolean isExtractable() {
return extractable;
}

public String getStatus() {
return status;
}

public Boolean getDisplayVolume() {
public boolean isDisplayVolume() {
return displayVolume;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public class ZoneResponse extends BaseResponseWithAnnotations implements SetReso

@SerializedName("securitygroupsenabled")
@Param(description = "true if security groups support is enabled, false otherwise")
private Boolean securityGroupsEnabled;
private boolean securityGroupsEnabled;

@SerializedName("allocationstate")
@Param(description = "the allocation state of the cluster")
Expand All @@ -111,11 +111,11 @@ public class ZoneResponse extends BaseResponseWithAnnotations implements SetReso

@SerializedName("capacity")
@Param(description = "the capacity of the Zone", responseObject = CapacityResponse.class)
private List<CapacityResponse> capacitites;
private List<CapacityResponse> capacities;

@SerializedName(ApiConstants.LOCAL_STORAGE_ENABLED)
@Param(description = "true if local storage offering enabled, false otherwise")
private Boolean localStorageEnabled;
private boolean localStorageEnabled;

@SerializedName(ApiConstants.TAGS)
@Param(description = "the list of resource tags associated with zone.", responseObject = ResourceTagResponse.class, since = "4.3")
Expand Down Expand Up @@ -201,7 +201,7 @@ public void setNetworkType(String networkType) {
this.networkType = networkType;
}

public void setSecurityGroupsEnabled(Boolean securityGroupsEnabled) {
public void setSecurityGroupsEnabled(boolean securityGroupsEnabled) {
this.securityGroupsEnabled = securityGroupsEnabled;
}

Expand All @@ -217,15 +217,15 @@ public void setDhcpProvider(String dhcpProvider) {
this.dhcpProvider = dhcpProvider;
}

public void setCapacitites(List<CapacityResponse> capacitites) {
this.capacitites = capacitites;
public void setCapacities(List<CapacityResponse> capacities) {
this.capacities = capacities;
}

public void setDomainName(String domainName) {
this.domainName = domainName;
}

public void setLocalStorageEnabled(Boolean localStorageEnabled) {
public void setLocalStorageEnabled(boolean localStorageEnabled) {
this.localStorageEnabled = localStorageEnabled;
}

Expand Down Expand Up @@ -328,8 +328,8 @@ public String getDhcpProvider() {
return dhcpProvider;
}

public List<CapacityResponse> getCapacitites() {
return capacitites;
public List<CapacityResponse> getCapacities() {
return capacities;
}

public boolean isLocalStorageEnabled() {
Expand All @@ -344,6 +344,18 @@ public Map<String, String> getResourceDetails() {
return resourceDetails;
}

public Boolean getAllowUserSpecifyVRMtu() {
return allowUserSpecifyVRMtu;
}

public Integer getRouterPrivateInterfaceMaxMtu() {
return routerPrivateInterfaceMaxMtu;
}

public Integer getRouterPublicInterfaceMaxMtu() {
return routerPublicInterfaceMaxMtu;
}

@Override
public void setResourceIconResponse(ResourceIconResponse resourceIconResponse) {
this.resourceIconResponse = resourceIconResponse;
Expand Down
Loading

0 comments on commit b73f634

Please sign in to comment.