code: def avail_locations():
      '''
      Available locations
      '''
      response = list_common_lookups(kwargs={'lookup': 'ip.datacenter'})
  
      ret = {}
      for item in response['list']:
          name = item['name']
          ret[name] = item
  
      return ref avail_locations():
      '''
      Available locations
      '''
      response = list_common_lookups(kwargs={'lookup': 'ip.datacenter'})
  
      ret = {}
      for item in response['list']:
          name = item['name']
          ret[name] = item
  
      return ret
docs: Available locations