# File lib/openstack/compute/server.rb, line 403 def remove_fixed_ip(ip) data = JSON.generate(:removeFixedIp => { :address => ip }) response = @compute.connection.csreq("POST",@svrmgmthost,"#{@svrmgmtpath}/servers/#{URI.encode(self.id.to_s)}/action",@svrmgmtport,@svrmgmtscheme,{'content-type' => 'application/json'},data) OpenStack::Exception.raise_exception(response) unless response.code.match(/^20.$/) true end