2010/2/5 Jordi GutiƩrrez Hermoso <jord...@gmail.com>:
> Does anyone have sample code on how to implement several tables with
> shared and multiple indices in a subagent?

If you've got a common data structure for the underlying contents of
these tables, you can actually implement the tables independently.
It doesn't matter if there's no explicit linkage between the tables - if
they are all driven by a shared underlying set of data, they will
automatically reflect the linked indexes.


You haven't said anything about where this underlying data will
come from, and how the tables will be populated/maintained.
But you'll probably need a set of shared routines to handle this
functionality (either creating a entry dynamically via SET requests,
or loading a cached version from some underlying subsystem).

The processing of GET* requests for each individual table should
then follow naturally from this shared data set..   So you can actually
develop the implementation one table at a time.

Dave

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
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