On Tue, 21 Jul 2015 01:45:18 +0000 Mani wrote:
MP> Nested tables are implemented using shared indexes in snmp.
MP> [...]
MP> Now the question is when I am implementing the parent and child
MP> table in net-snmp in my subagent, how do I handle the
MP> parentIndex in the child table in my subagent. Should I still
MP> define two indexes for the child table and populated them and
MP> register the indexes in net-snmp or can I reference the
MP> parentIndex in the parent table.

Your table handler needs to register both indexes. How you handle
the data for the two tables depends on the internal data structures
and the handler you are using.

-- 
Robert Story
Sr Developer, Parsons

------------------------------------------------------------------------------
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to