I have added an updated version of usmStats. Things that I had troble with:
* How to update README.agent-mibs when using the old/new feature? I settled for adding a new line for the updated version. * As it is now the list of excludes will be forever growing. Is there an interest in a config_provides(interface-name)? [1] * Module initialization names - when making a new module then a new module name is needed and that changes the external interface of the agent. (-IusmUser vs. -IusmUser_5_5) [2] * I chose to add this as a config_old_require - I think that config_new_require should be used to merge this into V5-4 etc. save that config_new_require is missing there. * The fact that the new version is added means there is no diff towards the old version in the version control system. [1] The semantics I see here is that every module provides itself, so snmpv3/usmStats.c implicitly config_provides(snmpv3/usmStats) while snmpv3/usmStats_5_5.c config_provides(snmpv3/usmStats_5_5) and thus have to contain the line config_provides(snmpv3/usmStats_5_5) The point of this is that all modules that config_provides the same symbol are config_excluding each other. [2] Here it is possible to imagine a config_something that changes the name of the initializer symbol, and as a matter of fact config_provides from [1] is a likely candidate for this name change. It should be noted that this requires updates to net-snmp-config as well if implemented. /MF (Who have snmpMPDStats_5_5.c waiting but would like some feedback first) ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders