# File lib/openstack/compute/server.rb, line 388
    def add_fixed_ip(network_id)
      data = JSON.generate(:addFixedIp => {
          :networkId => network_id
      })
      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