On 08/09/06, Anjali Riat <[EMAIL PROTECTED]> wrote:
> The problem is when I receive a PDU containing 2 tabular parameters,
> followed by 1 scalar parameter, followed by 1 tabular parameters.

> I require my processing to be performed in the order -
    [snip]

Not possible, I'm afraid.
SNMP states that SET processing should be done on all varbinds "as if
simultaneously".
One implication of this is that the order of varbinds in a PDU is
irrelevant.  The client application can choose which order to supply
assignments in, and the agent can choose which order to process them
in - and none of this should make the blindest bit of difference.

Your code needs to be able to cope with varbinds being supplied in any order.
You cannot assume (or force) a particular ordering.

Or at least, if you do need a particular order, then you need to set
this up yourself in one of the first passes - ready to act on this
list in a later pass.   That's perfectly valid.  But you can't force
the agent to handle this for you.

Dave

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to