ibm-cloud-infrastructure

What is the 'rate limit' exceeded of SoftLayer API endpoint?

喜你入骨 提交于 2019-12-13 03:58:54
问题 I just met the rate limit exceeded error when send an API request. Its rate was about 1 per second. The service is SoftLayer_Resource_Metadata . So do anyone know the SoftLayer's rate limit strategy? Such as the number of limits, the scope of limit(the same IP or the same account, etc.) 回答1: the limit is 50 request for second for each user. The SoftLayer_Resource_Metadata service does not need an specific user so when you use this service I recommend do not exceed 50 request for second in

How can I reliably track the status of a newly provisioned BareMetal server using the REST API

☆樱花仙子☆ 提交于 2019-12-13 02:37:07
问题 In SL support ticket opened last year, I was looking for assistance in working around a SoftLayer issue where when my team orders Baremetal servers through some custom scripting, sometimes, the server id associated with the new BM server changes during the provisioning process, and at that point, my tooling loses track of it, and fails. In this ticket: https://control.softlayer.com/support/tickets/21903245 I was told that I should use the global identifier instead of the server id. I finally

Is it possible to order/configure IBM SoftLayer file storage using slcli or Python API?

纵然是瞬间 提交于 2019-12-13 02:08:04
问题 Is it possible to order file storage using either the SoftLayer CLI slcli or the Python API? I can list the file storage in my account, but I do not see any sub-commands for ordering new storage or authorizing hosts. slcli nas Usage: slcli nas [OPTIONS] COMMAND [ARGS]... Network Attached Storage. Options: -h, --help Show this message and exit. Commands: credentials List NAS account credentials. list List NAS accounts. I cannot find a way using the Python API either. Am I forced to use the

(Softlayer, Open Stack Swift) How to solve cross domain origin with object storage api?

久未见 提交于 2019-12-13 01:59:02
问题 I used this document : http://docs.openstack.org/developer/swift/cors.html#test-cors-page Used the below code, sends Option request and get 200 as the response. But the orginal method 'get' doesn't get response. And browser console says 'Access-Control-Allow-Origin' CORS header is not found. $.ajax({ method: "GET", url : url, crossDomain: true, headers: { 'X-Container-Meta-Access-Control-Allow-Origin' : 'http://127.0.0.1:8080', 'X-Container-Meta-Access-Control-Max-Age' : 10, 'X-Auth-Token' :

Can I specify bandwidth to soft layer API for creating a virtual server?

风流意气都作罢 提交于 2019-12-12 05:46:28
问题 I am trying to create a virtual server through soft layer API. But the API I came across don't seem to accept network bandwidth, can't I specify the required bandwidth for my virtual server created through API? Thanks, Kishore 回答1: Anyway, here an example using SoftLayer_Product_Order::placeOrder method to place an order for VSI with bandwidth: https://$user:$apiKey@api.softlayer.com/rest/v3/SoftLayer_Product_Order/verifyOrder Method: Post { "parameters":[ { "location":449494, "packageId":46,

call API method SoftLayer_Virtual_Guest/setTags.json failed due to 'Invalid tag names'

北战南征 提交于 2019-12-12 05:39:05
问题 When I post https://api.softlayer.com/rest/v3.1/SoftLayer_Virtual_Guest/{vmid}/setTags.json with params: {"parameters":["id: 899a9411-a08b-4d31-8dc6-cb2712c608dc, index: 0, job: redis-master, name: redis-master/899a9411-a08b-4d31-8dc6-cb2712c608dc, cpi-tag: redis-deployment, created_at: 2017-11-09T07:19:43Z, deployment: my-redis-deployment, director: ed-demo-director"]} API return error with '{"error":"Invalid value provided for 'tags'. Invalid tag names: name: redis-master/899a9411-a08b-4d31

CLI - Error when disk parameter is in use

心不动则不痛 提交于 2019-12-12 05:35:21
问题 So i have a problem with softlayer vs creation, i try to create a vs from public image, but if i use --disk option i got an error. Command: vs create -H g0 -D example.org -c 1 -m 2048 -d ams01 --image 3c289880-2f63-48d3-906d-aaa9a822a6d0 --billing=monthly --vlan-public 1313131 --vlan-private 313131 --disk 25 --test Error: SoftLayerAPIError(SoftLayer_Exception_InvalidValue): Invalid value provided for 'blockDevices'. Block devices may not be provided when using an image template. If i don't

Creating a user profile with SoftLayer_User_Customer REST API

删除回忆录丶 提交于 2019-12-12 05:19:00
问题 I am trying to create a new user profile and the JSON fields passed in are ignored. The following is the URL with method POST https://api.softlayer.com/rest/v3/SoftLayer_User_Customer.json The JSON payload is: { "parameters" : [ { "address1" : "1101 Kitchawan Road", "city" : "Yorktown Heights", "companyName" : "IBM - www Account", "state" : "NY", "country" : "US", "postalCode" : "10598", "firstName" : "hello", "lastName" : "thisguy", "email" : "thisguy@nn.ibm.com", "permissionSystemVersion" :

SoftLayer API Hardware : How to order Bare Metal Server without OS using REST API

你。 提交于 2019-12-12 05:14:48
问题 How to order bare metal server without OS using REST API. SoftLayer_Product_Package/getAllObjects we will get the package details under this which package Id needs to be selected. Package 200 is bare metal server which requires OS and also package 50 is bare metal instance which requires OS. Inform me which package ID will support for without OS. 回答1: The packages that would be ordered without OS (Operating System) are the following: (50) Bare Metal Instance (56) Quad Processor Multi Core

SoftLayer API: Price is not been adjusted based on the location for Netscaler

天涯浪子 提交于 2019-12-12 05:02:25
问题 We are under developing SL Portal, and for now, we've found that, from SL control page, when we try to order, the price of Netscaler is always same even for the all the different data centers. However when we retrieve the price through API then the price wasn't same. Please what's the right price for each data centers, and when making the new portal site, what do we have to follow ? Thanks. 回答1: The portal displays the standard prices, The standard prices are the one which locationGroupId