-
Notifications
You must be signed in to change notification settings - Fork 194
Description
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):