You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "David Toy (JIRA)" <ji...@apache.org> on 2013/09/05 19:48:52 UTC
[jira] [Created] (JCLOUDS-266) softlayer: Use alpha region ids,
instead of numeric (ams01 vs 265592)
David Toy created JCLOUDS-266:
---------------------------------
Summary: softlayer: Use alpha region ids, instead of numeric (ams01 vs 265592)
Key: JCLOUDS-266
URL: https://issues.apache.org/jira/browse/JCLOUDS-266
Project: jclouds
Issue Type: Improvement
Components: jclouds-compute
Environment: api.softlayer.com/rest/v3/
Reporter: David Toy
Priority: Minor
Currently when using SoftLayer (softlayer) regions must be specified using a numeric 'locationId'.
In addition to the numeric id SoftLayer make a human readable 'name' available for each region.
Can jclouds:softlayer switch to using the easier alphanumeric name to specify a region?
e.g. jclouds.softlayer:ams01, rather than jclouds.softlayer:265592.
JSON from SoftLayer:
{"id":265592,"longName":"Amsterdam 1","name":"ams01","locationAddress":{"accountId":1,"address1":"Paul van Vlissingenstraat 16","city":"Amsterdam","contactName":"SoftLayer","country":"NL","description":"Amsterdam - AMS01","id":3322,"isActive":1,"locationId":265592,"postalCode":"1096 BK","type":{"createDate":"2010-04-06T04:49:15+01:00","id":1,"keyName":"SOFTLAYER_DATACENTER","name":"SoftLayer Datacenter (accepts customer DTS shipments)"}},"regions":[{"description":"AMS01 - Amsterdam - Western Europe","keyname":"AMSTERDAM","sortOrder":11}]}]}"
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira