On 30/10/2007, Max <[EMAIL PROTECTED]> wrote:
>                                                                               
>        Is there
> documentation you can refer me to, Dave, so that I can RTFM
> about your preferred style / process for integrating a new feature?

Sorry I haven't been very active in the recent discussion.
Real Work keeps getting in the way :-(

My immediate reaction is that implementing this particular MIB
is likely to be fairly closely intertwined with the code for the
ifTable/ifXTable/etc.
    Now that's very much Robert's area of expertise, rather than
mine.  I'm not really familiar with the intricacies of the current
implementation, so take what follows with large handfuls of salt.

But if I was intending to have a stab at implementing this MIB,
I'd be inclined to start with the code under 'if-mib/data_access'.

First find the data structure used to hold the information about
a particular interface, and add suitable fields for the extra
EtherLike-MIB settings.  Plus a flag to indicate when these
fields have been populated.

Then look at the architecture-specific code files for the chosen
systems (also under 'data_access'), and add the necessary
code to extract this new information and insert it into the per-if
data structure.

Then it's simply a matter of writing a new 'if-mib/etherLike'
handler, picking up on this extended per-if data structure,
and reporting the relevant information.


Now I don't know whether that's practical, given the current
code base.  You really need to talk to Robert Story, who
completely re-write the if-mib code.  I don't believe he reads
this mailing list, so if you want to set up a Wiki page for this
task,  it's probably worth mentioning it on the -coders list.
  (Which is a better place for this sort of discussion anyway,
if you want to keep it to email).


Good Luck, and I look forward to seeing what you come up with.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.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

Reply via email to