On 11/02/2008, Larry Dickson <[EMAIL PROTECTED]> wrote: > > > But my question is also more algorithmic: How is it (the agent/subagent > > > combination) supposed to do a getnext that jumps out of the subagent's > > > subtree? > > > > The subtree is given an OID, and returns the next value that it knows > > about. > > > What if it doesn't know what comes next, i.e. the subagent was asked > "getnext" for the (in lexicographic order) last leaf in its subtree for > which a value exists?
Then it returns "endOfMibView", and the master agent knows to move on to the next registered chunk of the tree. Once the last subagent/MIB module has returned "endOfMibView", then the master agent can give up and return the same error (or noSuchName for SNMPv1) to the original client application. Dave ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
