diff options
author | elie <elie> | 2007-02-05 18:50:52 +0000 |
---|---|---|
committer | elie <elie> | 2007-02-05 18:50:52 +0000 |
commit | 4d303c2e5b291119c75416fad478d957a5c842e6 (patch) | |
tree | 013a63b44166428ed83c8cd9d01aa748e4f9ee1e /examples/smi | |
parent | 908ce83d781ba3d46e0a5de354f87e549324187b (diff) | |
download | pysnmp-4d303c2e5b291119c75416fad478d957a5c842e6.tar.gz |
make use of mibBuilder.unloadModules()
Diffstat (limited to 'examples/smi')
-rw-r--r-- | examples/smi/backend.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/smi/backend.py b/examples/smi/backend.py index d53c283..bdcf82b 100644 --- a/examples/smi/backend.py +++ b/examples/smi/backend.py @@ -26,3 +26,9 @@ while 1: if exval.endOfMib.isSameTypeWith(val): break print oid, val + +print 'Unloading MIB modules...', +mibBuilder.unloadModules( + 'SNMPv2-MIB', 'SNMP-FRAMEWORK-MIB', 'SNMP-COMMUNITY-MIB' + ) +print 'done' |