code: def describe_addresses(self, xml_bytes):
          
          results = []
          root = XML(xml_bytes)
          for address_data in root.find("addressesSet"):
              address = address_data.findtext("publicIp")
              instance_id = address_data.findtext("instanceId")
              results.append((address, instance_id))
          return results
docs: Parse the XML returned by the C{DescribeAddresses} function.
  
          @param xml_bytes: XML bytes with a C{DescribeAddressesResponse} root
              element.
          @return: a C{list} of L{tuple} of (publicIp, instancId).