'Returns all the Elastic IP addresses for this account
optionally, returns only addresses associated with nodes.
:param    only_associated: If true, return only the addresses
that are associated with an instance.
:type     only_associated: ``bool``
:return:  List of Elastic IP addresses.
:rtype:   ``list`` of :class:`ElasticIP`'

def ex_describe_all_addresses(self, only_associated=False):

    params = {'Action': 'DescribeAddresses'}
    response = self.connection.request(self.path, params=params).object
    return self._to_addresses(response, only_associated)
