Closed acamacho82 closed 6 years ago
The client calls to getItems instead of getItemPrices to list the available items of package, and to add gpu1 it will be necessary to retrieve all categories of the item, for example, the item GPU_NVIDIA_TESLA_V100 has two categories gpu0 and gpu1.
Now, if gpu1 category will be displayed then there will be 4 new rows in the list, but the keyName and description will be the same than gpu0, this does not seem like much but this change will affect to all retrieved items, so the categories of items like the disks, which have more than 20 categories, will be displayed in the list too.
With this in mind, I don't think that displaying all those categories will be helpful, the list will be so big that it'd lose the objective of being simple.
agreed, listing all variations, like gpuX and diskX would make this list pretty long. If i remember correctly the priceIds are the same across the numbered items, so we shouldn't really need to print out everything. Going to close this issue.
This is for baremetal servers which have GPU support.
Expected Behavior
The slcli should list gpu0 and gpu1 items
Actual Behavior
The slcli returns only gpu0 items when there are already gpu1 items
Here the REST call to get the gpu1 items
Environment Information
Operating System: Linux softlayer-python version (
slcli --version
): 5.4.4