Closed allmightyspiff closed 3 years ago
Looking at this a bit more, I think the problem is with the behavior of https://sldn.softlayer.com/reference/services/SoftLayer_Virtual_Guest/generateOrderTemplate/ as it uses the package SUSPEND_CLOUD_SERVER
, but reserved capacity requires package PUBLIC_CLOUD_SERVER
.
I don't see a way to force SoftLayer_Virtual_Guest/generateOrderTemplate
to use the PUBLIC_CLOUD_SERVER package ( unless its a monthly order, but we want to support hourly since the portal does as well). I suspect this will require refactoring SoftLayer.vs_capacity.create_guest()
to use the ordering manager directly, instead of the vs_manager.verify_create_instance()
method.
Looks like price look ups might be broken or something on creating reserved capacity guest. Looks to be getting the RAM/CORE price instead of using a preset?