Is there also a function that performs the opposite, i.e. given a list of index variables and values, construct the index part of the OID ?
If the "implied" information is there, I can write a function for it myself, but if it's already there, I don't have to do that... Best regards, Peter. On Mon, 2005-05-23 at 14:43 -0700, Wes Hardaker wrote: > >>>>> On Sat, 14 May 2005 10:52:16 +0200, Peter Verthez <[EMAIL PROTECTED]> > >>>>> said: > > Peter> I'm currently using net-snmp 5.2.1 on Linux (using the SNMP.pm > Peter> perl module), and I notice that the perl module doesn't give > Peter> any information about whether an index is defined as 'implied' > Peter> in a table. > > Peter> Would it be possible to add that information ? This could e.g. > Peter> be just a field $oid->{"implied"} which is 0 or 1, since there can > Peter> only be 1 index defined as implied on a table. > > that should be easy enough. I'll try to get that done later this > week. in the mean time, the NetSNMP::OID module's get_indexes() call > will actually parse indexes out of an OID and properly parse implied > stuff too if you like. > =================================================================== Peter Verthez Software engineer Email: mailto:[EMAIL PROTECTED] WWW: http://users.skynet.be/Peter.Verthez PGP key: on homepage (see above) or http://www.keyserver.net =================================================================== Failure is not an option. It comes bundled with the software. ------------------------------------------------------- SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate online with coworkers and clients while avoiding the high cost of travel and communications. There is no equipment to buy and you can meet as often as you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users