Re: Modeling a hash of tables
Dave Shield <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On 10 March 2011 20:02, Jörg Westheide <[email protected]> wrote: > I'm in the need to model a hash of tables. What exactly do you mean by "a hash of tables"? > The most natural way to me seems to be something like > > baseOid."hashKey".1.col.index No - that won't work. Remember that as far as SNMP is concerned, everything is either a single object, or a table. There's no other data structures available. (Hint: Think what the 'S' in SNMP stands for!) But you could certainly have a table indexed by two values: baseOid.1.col."hashKey".hashIndex That would be implemented in the same way as any other two-index table. Dave ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ 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