On 26 February 2010 05:02, Prasanna Varadharajan <[email protected]> wrote: > Actually we are trying to set (or create a entry in a table) multiple objects > in a single snmp set command. > > Is there any standard way or standard snmp packet formation method available > for this?. i.e sequencing the objects in the snmp set pdu.
No - the agent cannot assume that the varbind within a PDU will appear in a particular order. Nor can the client application that generates a SET assume that they will be processed in a given way. SNMP SET requests must be applied "as if simultaneously", i.e. the order is irrelevant. Typically this requires a multi-pass approach. First checking and validating each varbind individually, and then doing cross-varbind consistency checks. Have a look at the discussion in AGENT.txt of SET processing. and how some of the existing MIB module code handles this. Dave ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
