[Agentx] Benefit of multiple sessions per sub-agent connection

Julian Scheid <julians37@googlemail.com> Thu, 01 July 2010 13:07 UTC

Return-Path: <julians37@googlemail.com>
X-Original-To: agentx@core3.amsl.com
Delivered-To: agentx@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4162A3A6869 for <agentx@core3.amsl.com>; Thu, 1 Jul 2010 06:07:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.365
X-Spam-Level:
X-Spam-Status: No, score=-1.365 tagged_above=-999 required=5 tests=[AWL=0.612, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 92ZxhQ46F4VQ for <agentx@core3.amsl.com>; Thu, 1 Jul 2010 06:07:49 -0700 (PDT)
Received: from mail-gy0-f172.google.com (mail-gy0-f172.google.com [209.85.160.172]) by core3.amsl.com (Postfix) with ESMTP id 0105E3A680B for <agentx@ietf.org>; Thu, 1 Jul 2010 06:07:48 -0700 (PDT)
Received: by gyh3 with SMTP id 3so1090367gyh.31 for <agentx@ietf.org>; Thu, 01 Jul 2010 06:07:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=NunBO/0h58aeIkuJtcIzSv/OZdLowhhjVGJkJ5cJKAY=; b=J4Q0PAT2TWQc2VvdOwWerRWHmGMLQU7DCRTeVNCv5rI+8o2GOSM0dumZIKcwaht98x AtagtTD89LUjLaXydPdIKrDkJVMygv8+8jdOtuArL8DmjM886cAYVurYM5vRUv/EdKf0 /880F7L9xWyYU1M6EqcGnk37SySIYWFdT4xMQ=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=d1a5I+vg3lWeYPqsEvxxXEZYI/BsT4U+NQE9+X+z9Qm/HhrAkczq2MlRPeiIPiA3px V1GSltrJXKVC+XdPQZ4h0zLfdbTT1aDYjb2jiM/9/NgvqtvthjpaGoQe+omQH0vLWclC EnwUaTrwYl1hJDTCdMhVIe1BvXhH4CpIZlFDk=
MIME-Version: 1.0
Received: by 10.229.222.139 with SMTP id ig11mr6171541qcb.176.1277989676448; Thu, 01 Jul 2010 06:07:56 -0700 (PDT)
Received: by 10.229.100.70 with HTTP; Thu, 1 Jul 2010 06:07:56 -0700 (PDT)
Date: Fri, 2 Jul 2010 01:07:56 +1200
Message-ID: <AANLkTim0hJMvTOz1gZUXcnFIt73A6RGm8CgehPxKB7NS@mail.gmail.com>
From: Julian Scheid <julians37@googlemail.com>
To: agentx@ietf.org
Content-Type: text/plain; charset=ISO-8859-1
Subject: [Agentx] Benefit of multiple sessions per sub-agent connection
X-BeenThere: agentx@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SNMP Agent Extensibility <agentx.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/agentx>, <mailto:agentx-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/agentx>
List-Post: <mailto:agentx@ietf.org>
List-Help: <mailto:agentx-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/agentx>, <mailto:agentx-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 01 Jul 2010 13:07:53 -0000

Could someone give a practical example of when a sub-agent would want
to open more than one session per connection?

I've written a sub-agent implementation whose code and API would be
simpler if it would limit users to a single session per connection,
and I am wondering what benefits it would deprive them of by doing so.
As you might guess, I'm hard pressed to come up with use cases myself
-- I must be missing something.

I'm not exactly an SNMP expert, my apologies if this is a silly question.

Thanks in advance.