twistedsnmp.twinetables | index /home/mcfletch/pylive/twistedsnmp/twinetables.py |
Convert indexed tabular sets into convenient format
By default, getTable( [roots] ) returns a dictionary structure
like this:
rootOID: { fullOID:value }
however, tables in SNMP Agents are often indexed by equal
extensions to the root OID, so that fullOIDs x.3 and y.3 will
refer to the same described phenomena. twineTables processes
the returned structure into one of this form:
extension: { rootOID: value }
where extension is fullOID[len(rootOID):]
Functions | ||
|