On 19/12/2007, Karthick Babu <[EMAIL PROTECTED]> wrote: > For a table, I want to create a new row and i want to set the values for > some of the columnar nodes for the newly creating row. > > case 1 : If i have the row creation request as a first varbind and the > set requests as the next then the multi varbind request is processed > without any error. > > case ii : For the reverse order, i get no such instance error.
That's an error in the code that implements the table. Variable assignments can legitimately occur in any order, and the MIB module code cannot assume that the RowStatus varbind will necessarily come first. > For this case, should the agent search > for > the entire varbind requests and perform the row addition first and > then perform the set request processing ? What would normally happen is that the creation of new rows would be handled in one SET processing pass, and the validation of column instances would be handled in a later pass. That's one of the reasons that the Net-SNMP agent has a multi-pass approach for handling SET requests. > Is there any hierarchy in the multi varbind request processing . > I think this should not be the case. You are quite correct - multi-varbind assignments need to be processed "as if simultaneously", and without regard to the order they appear in the list. Dave ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
