# File lib/fog/compute/ecloud/models/server.rb, line 149 def create_rnat(options) options[:host_ip_href] ||= ips.first.href options[:uri] = "#{service.base_path}/rnats/environments/#{environment_id}/action/createAssociation" data = service.rnat_associations_create_device(options).body Fog::Compute::Ecloud::Associations.new(:service => service, :href => data[:href])[0] end