'Return a list of locations (zones).
The :class:`ex_list_zones` method returns more comprehensive results,
but this is here for compatibility.
:return: List of NodeLocation objects
:rtype: ``list`` of :class:`NodeLocation`'

def list_locations(self):

    list_locations = []
    request = '/zones'
    response = self.connection.request(request, method='GET').object
    list_locations = [self._to_node_location(l) for l in response['items']]
    return list_locations
