On Thu, 05 May 2005 17:07:36 +0100 Dave wrote:
DS> I've come up with the following list of required tasks facing such
DS> a helper.  What else (or different) would it need to provide?
DS> 
DS>   SNMP-request handling:
DS>     - register (and unregister) the table
DS>     - add or remove a row to/from the table
DS>     - retrieve the row relating to a specific varbind request
DS>     (this may possibly need to retrieve both the helper's
DS>      representation of the row, and the data relating to it,
DS>      if these are different)

Actually, you may only need the index for the row. The handler could deal with
finding data for the index. (I'm not saying this should be the default, it's
just another possibility).

Retrieving the next row. Being able to pass in hints on requested columns would
be very helpful for sparse tables.

It might also be helpful to be able to find indexes/rows for multiple varbinds.
e.g. for 5 varbinds, iterating 5 times is inefficient. Ditto for finding the 

DS>     - retrieve the indexes relating to this row (?)
DS> 
DS>   External handling
DS>     - retrieve a particular row (specified by index)
DS>     - walk through the rows of the table (order not important)

- adding/removing rows

- finding a subset of rows (partial index matching)

- retrieving rows based on other criteria besides table index

-- 
NOTE: messages sent directly to me, instead of the lists, will be deleted
      unless they are requests for paid consulting services.

Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to