On Thu, 01 Dec 2005 21:50:15 -0800 Wes wrote: WH> So, first off let me start by saying this is the first time in WH> probably 6 months or more that I ran the mfd mib2c file. I was quite WH> shocked at the extremely well written set of prompts it led me through WH> for generating the code. Very nice work Robert! Kudos!
Yes, I can see how you'd be shocked. I'm quite sure you'd have been less shocked if you'd known that Dave has been over them and tweaked them. ;-) WH> Do you need to initialize elements in the 'generated' when WH> a new instance is created (eg default values, or other structures you are WH> [...] WH> 'generated' in the below paragraph I think is a bug: I assume by below, you mean above? Fixed. WH> - External data (maintained by another process) WH> WH> or in the kernel? Probably worth mentioning as it'll be common. Added. WH> Which method would you like to use to gather data about available rows? WH> WH> Does one of those methods (2 or 3?) need more code from the author? 1 and 2 are almost identical. 2 should probably be eliminated, with a separate question about caching data. The original implementation only had option 3 (an iterator look-alike), but that template hasn't been maintained very well. Probably should just be dropped, as the same effect could be achieved with a custom container. A container iterator template conf file would be helpful. WH> When accessing your data, is your data TRANSIENT? WH> WH> When selecting store everything in the agent, shouldn't this default WH> to PERSISTENT if not almost assume that? or is it TRANSIENT because WH> it's stored in a local structure that needs copying? I'm lost and not WH> sure which I should pick (earlier I selected the option saying that WH> the agent should store everything for me). This option could probably go away, especially if the unsorted-external data access method went away. In the container methods, it just adds some comments in the container load routine. WH> Do you want example code to be generated? WH> WH> A better description of what exactly an example means would be helpful WH> (I know because I've seen it before, but...) Tweaked. WH> Is your table sparse? (A sparse table is a table where some WH> WH> Does this mean only when the rows are active? What about WH> createAndWait? If a manager does createAndWait and doesn't fill in WH> everything but you don't have defaults for everything, should this be WH> considered sparse? I'd assume so? Yes. I added a note on RowStatus. WH> Can't find a configuration file called mfd-persistence.m2i WH> WH> ack! Fixed though. Thanks. WH> You should add a CONFIG_ADD_MIB(MIBNAME) line to the master .h file OK. -- Robert Story; NET-SNMP Junkie Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp> Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders> You are lost in a twisty maze of little standards, all different. ------------------------------------------------------- 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
