My MIB file has one main table defined (Table1) and has multiple other 
tables (Table2,3,4,5,6) defined which are extensions to Table1.  

So Robert ..... instead of me implementing sub-containers, lets say I implement 
your other suggestion of adding all the fields defined in Table2,3,4,5,6 into 
the "data_context" structure for Table1.  I believe I will be able to use a 
"union" to define these new fields within the structure to conserve space since 
each table is mutually exclusive to each other.

Now, I would like to make sure I understand how to populate the data_context 
correctly.

I assume the "container_load()" procedure of Table1 (main table) will be called 
first (somehow) and will be responsible for allocating new rows and generating 
new index values for each row and the "container_load()" procedures in 
Table2,3,4,5,6 will not be performing any of these functions ..... correct?

When the "container_load()" procedure for Table1 is called, I would like to 
populate all of Table1 fields at this time, however, must I populate all fields 
defined in Table2,3,4,5,6 at this time as well?

If I do not populate the fields from Table2,3,4,5,6 at this time, then how will 
I be
able to populate the fields later?   Will the "container_load()" procedure for 
Table2,3,4,5,6 be called eventually and should I populate those fields at this 
time instead?   If so, how will I know what correct table index (ie: row index) 
from Table1 the data should be inserted into at this time?

Perhaps you can recommend where certain functionality should be implemented 
within the "mfd" code so I can get a better picture of how this should be done?



Also, just curious .... when the cache expires, then I assume the 
"container_load()" procedure is called again to regenerate the complete table 
over again as it originally did ... is this correct?  I assume new rows will be 
allocated again.
       
---------------------------------
Pinpoint customers who are looking for what you sell. 
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to