So, first off let me start by saying this is the first time in
probably 6 months or more that I ran the mfd mib2c file. I was quite
shocked at the extremely well written set of prompts it led me through
for generating the code. Very nice work Robert! Kudos!
I do, of course, have a few minor comments however:
----------
Do you need to initialize elements in the 'generated' when
a new instance is created (eg default values, or other structures you are
going to add that might need initialization to the row request context?
(The most common reasons you might need to do this is are if you want to keep
some non-MIB data for every row, or some columns have default values.)
1) no, no initialization needed
2) yes, initilization is needed [DEFAULT]
'generated' in the below paragraph I think is a bug:
----------
- External data (maintained by another process)
or in the kernel? Probably worth mentioning as it'll be common.
----------
Which method would you like to use to gather data about available rows?
Does one of those methods (2 or 3?) need more code from the author?
----------
When accessing your data, is your data TRANSIENT?
When selecting store everything in the agent, shouldn't this default
to PERSISTENT if not almost assume that? or is it TRANSIENT because
it's stored in a local structure that needs copying? I'm lost and not
sure which I should pick (earlier I selected the option saying that
the agent should store everything for me).
----------
Do you want example code to be generated?
A better description of what exactly an example means would be helpful
(I know because I've seen it before, but...)
----------
Is your table sparse? (A sparse table is a table where some
Does this mean only when the rows are active? What about
createAndWait? If a manager does createAndWait and doesn't fill in
everything but you don't have defaults for everything, should this be
considered sparse? I'd assume so?
----------
Can't find a configuration file called mfd-persistence.m2i
ack! Fixed though.
----------
You should add a CONFIG_ADD_MIB(MIBNAME) line to the master .h file
--
Wes Hardaker
Sparta, Inc.
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders