I actually submitted code for multi-varbind processing using the table iterator 
approach last year too.

Adam


-----Original Message-----
From: Dave Shield [mailto:d.t.shi...@liverpool.ac.uk]
Sent: Fri 3/20/2009 6:44 AM
To: EYRE Bernadette
Cc: net-snmp-coders@lists.sourceforge.net
Subject: Re: processing of the multi varbinds in one snmpset command
 
2009/3/19 EYRE Bernadette <bernadette.e...@alcatel-lucent.com>:
> if the snmpset command line has multiple varbinds (variables) to modify for
> the same table
> and the same row (index), how can one ensures that all vars are processed in
> one request struct?

That's the reason that SET requests are processed in multiple passes.
Have a look at the file AGENT.txt, for a description of one possible
approach.

It might also be worth searching the mailing list archives - I'm pretty sure
that I've explained this sort of thing before.
   (a quick search throws up a thread on the -users list from 10th Feb,
entitled"Parsing Get/Set Requests in Table_Handler".  That looks relevant)


Dave

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


The information contained in this electronic mail transmission 
may be privileged and confidential, and therefore, protected 
from disclosure. If you have received this communication in 
error, please notify us immediately by replying to this 
message and deleting it from your computer without copying 
or disclosing it.


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to