'Lists all locations
:return: ``list`` of :class:`NodeLocation`
:rtype: ``list``'

def list_locations(self):

    datacenters = self.ex_list_datacenters()
    locations = []
    for values in datacenters:
        node_size = self._to_location(values)
        locations.append(node_size)
    return locations
