code: def availability_zone_list(request):
      
      try:
          return api.nova.availability_zone_list(request)
      except Exception:
          exceptions.handle(request,
                            _('Unable to retrieve Nova availability zones.'))
          return []
docs: Utility method to retrieve a list of availability zones.