Skip to content

The slcli did not take the capacity restriction value of an item when using create place-quote  #1155

@caberos

Description

@caberos

The slcli did not take the capacity restriction value of an item, at the moment the create quote, this takes the first option it getting in the request the getItemPrices.

$ slcli order place-quote --name "test order" --send-email STORAGE_AS_A_SERVICE_STAAS DALLAS01 \

STORAGE_AS_A_SERVICE
FILE_STORAGE_2
READHEAVY_TIER
STORAGE_SPACE_FOR_2_IOPS_PER_GB
4000_GB_PERFORMANCE_STORAGE_SPACE
--extras '{ "volumeSize":12000, "quantity":1, "osFormatType": [{"id": 22,"keyName": "VMWARE","complexType": "SoftLayer_Network_Storage_Iscsi_OS_Type"}]}'
--complex-type SoftLayer_Container_Product_Order_Network_Storage_AsAService

READHEAVY_TIER:{
restrictionCapacity:200}

4000_GB_PERFORMANCE_STORAGE_SPACE :{
restrictionCapacity: 1000,
restrictionCapacity: 300,
restrictionCapacity: 200,
restrictionCapacity: 100}

Expected Behavior

place quote created

Actual Behavior

SoftLayerAPIError(SoftLayer_Exception_Public): 4000 GB Storage Space (1000 Storage Tier 
Levels), price ID# 196723, has a Storage Tier Levels capacity restriction that does not match  
the capacity of 2 IOPS per GB, price ID# 193373. Please submit prices that are compatible.

Environment Information

Operating System: Windows 10
SoftLayer-python version (slcli --5.7.2):

Metadata

Metadata

Assignees

Labels

BugOrderingAnything related to ordering

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions