<?xml version="1.0"?>
<DescribeAddressesResponse xmlns="http://ec2.amazonaws.com/doc/<%= erb_version %>/">
   <requestId><%= @request_id %></requestId>
   <addressesSet>
   <% vnet.each("AR_POOL/AR/LEASES/LEASE[VM=-1]") do |eip| %>
      <% if vnet["TEMPLATE/EC2_ADDRESSES[IP=\"#{eip["IP"]}\"]/UID"] == user_id.to_s %>
     <item>
       <publicIp><%= eip["IP"] %></publicIp>
       <domain>standard</domain>
       <% if vm_id = vnet["TEMPLATE/EC2_ADDRESSES[IP=\"#{eip["IP"]}\"]/VMID"] %>
       <instanceId>i-<%= sprintf('%08i', vm_id) %></instanceId>
       <% else %>
       <instanceId/>
       <% end %>
       <associationId/>
       <allocationId/>
     </item>
      <% end %>
   <% end %>
   </addressesSet>
</DescribeAddressesResponse>
