Re: "baby_steps" helpers
Dave Shield <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
2009/4/13 sanjaykumar <[email protected]>: > Could somebody will tell me what is basic functionalities of > "baby_steps related function" ? The usual model for processing SET requests is structured around the idea of multiple "passes" across the data. Most typically: RESERVE1 RESERVE2 ACTION COMMIT (with appropriate cleanup passes invoked on failure of each of these steps). This is described in the file README.agent. The idea of the "baby_steps" helper is to break these (relatively large) steps into a series of much smaller ones - each with a more closely defined purpose. > How decision made on selection of "baby_steps mode" ? This helper is primarily used by the MfD framework. So if you run "mib2c -c mib2c.mfd.conf ...." (or equivalent), then the resulting code will use the baby_steps helper. I don't believe any of the other templates use this approach. > What does mean the run-time "injectable handler" for configuration file ? Certain helpers provide functionality that is effectively independent of the end MIB code. (e.g. debugging output, or forcing a module to be read-only). These modules can be inserted into the handler chain, using the "injectHandler" directive. See snmpd.conf(5) for details. Although the code for the baby_steps handler talks about this being "injectable" in the same way - I'm not personally convinced that this is true. The baby_steps helper would change the way that SET requests are passed to the MIB handler, and hence the MIB code would need to be specifically designed to work this way. That is somewhat different to the concept of "injectable handlers" as described in the snmpd.conf man page. My suspicion is that this may be a cut-n-paste design error... Dave ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users