mirror of https://github.com/apache/cloudstack.git
IOPS null issue CLOUDSTACK-7570
Signed-off-by: Mike Tutkowski <mike.tutkowski@solidfire.com>
This commit is contained in:
parent
082aed3d33
commit
dd4f6bcaf3
|
|
@ -177,7 +177,9 @@ public class ServiceOfferingVO extends DiskOfferingVO implements ServiceOffering
|
|||
offering.getSystemUse(),
|
||||
true,
|
||||
offering.isCustomizedIops()== null ? false:offering.isCustomizedIops(),
|
||||
offering.getDomainId());
|
||||
offering.getDomainId(),
|
||||
offering.getMinIops(),
|
||||
offering.getMaxIops());
|
||||
cpu = offering.getCpu();
|
||||
ramSize = offering.getRamSize();
|
||||
speed = offering.getSpeed();
|
||||
|
|
|
|||
|
|
@ -214,7 +214,7 @@ public class DiskOfferingVO implements DiskOffering {
|
|||
}
|
||||
|
||||
public DiskOfferingVO(long id, String name, String displayText, Storage.ProvisioningType provisioningType, boolean mirrored, String tags, boolean recreatable,
|
||||
boolean useLocalStorage, boolean systemUse, boolean customized, boolean customizedIops, Long domainId) {
|
||||
boolean useLocalStorage, boolean systemUse, boolean customized, boolean customizedIops, Long domainId, Long minIops, Long maxIops) {
|
||||
this.id = id;
|
||||
type = Type.Service;
|
||||
this.name = name;
|
||||
|
|
@ -229,6 +229,8 @@ public class DiskOfferingVO implements DiskOffering {
|
|||
this.domainId = domainId;
|
||||
uuid = UUID.randomUUID().toString();
|
||||
state = State.Active;
|
||||
this.minIops = minIops;
|
||||
this.maxIops = maxIops;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Reference in New Issue