Closed si5074 closed 8 years ago
@si5074 I generally use the following parameters to specify cpu and memory. You could have a try.
"startCpus":2,
"maxMemory":4096,
Let us know the result.
@mattcui For hardware?
@mattcui startCpus or maxMemory are not available in SoftLayer_Hardware_Template
@si5074 I could create a new bare metal machine with the following parameters:
{"processorCoreAmount"=>4, "memoryCapacity"=>4, "hostname"=>"xxxxxxx", "domain"=>"softlayer.com", "operatingSystemReferenceCode"=>"UBUNTU_14_64", "localDiskFlag"=>false, "hourlyBillingFlag"=>false, "datacenter"=>{"name"=>"lon02"}, ...
So you seemed to set a wrong memoryCapacity, from SL API doc:
`memoryCapacity` The amount of memory to allocate in gigabytes. Required Type - int
See getCreateObjectOptions for available options.
@si5074 did @mattcui answer help you? Otherwise can you identify what API parameters or functions we missed?
Please answer, otherwise, I will close this as resolved. Thanks,
Max
@maximilien @mattcui Yes. Thank you.
Cool, thanks all. Cheers 👍
I am trying to create hardware using the /services/softlayer_hardware service. Is there a sample hardware configuration that I can use? I tried a couple of hardware configuration but I always get the following error - `---