'List all locations.
:return: ``list`` of :class:`NodeLocation`
:rtype: ``list``'

def list_locations(self):

    return self._to_locations(self.connection.request(action='locations', params={'depth': 1}, method='GET').object)
