# File lib/right_slicehost.rb, line 289
    def reboot_slice(sls_id, hard_reboot = false)
      # PUT /slices/id/reboot.xml
      action = hard_reboot ? :hard_reboot : :reboot
      req = generate_request(Net::HTTP::Put, build_path(:slices, sls_id, action))
      request_info(req, RightHttp2xxParser.new)
    rescue
      on_exception
    end