Re: snmpmodule and making a pretend dictionary object...

Guido.van.Rossum@cwi.nl
Mon, 08 Aug 1994 15:58:46 +0200

> It's been suggested that it would be nice to be able
> to do session.iso.mgmt.mib-2.system.sysDescr.0 (or session.system.sysDescr.0)
> to refer to things, from poking around, it looks like I could implement this
> by munging on the getattr method for the SnmpSession type.

Earlier, I rejected this. I talked to Jack Jansen (who apparently is
the originator of this idea :-) and maybe it can be resurrected, if we
define that instead of X.0 we write X[0] and for X.mib-2 we write
X.mib_2 (a simple translation or fallback could be used here). The X
object doesn't need to contact the server (I think Jack can better
fill in the details since I still know next to nothing about SNMP...).

--Guido van Rossum, CWI, Amsterdam <Guido.van.Rossum@cwi.nl>
<URL:http://www.cwi.nl/cwi/people/Guido.van.Rossum.html>