Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-266

softlayer: Use alpha region ids, instead of numeric (ams01 vs 265592)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • jclouds-compute
    • api.softlayer.com/rest/v3/

    Description

      Currently when using 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}

      ]}]}"

      Attachments

        Activity

          People

            Unassigned Unassigned
            jdtoy David Toy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: