diff options
author | elie <elie> | 2005-06-15 07:50:06 +0000 |
---|---|---|
committer | elie <elie> | 2005-06-15 07:50:06 +0000 |
commit | c95309276c8555bfc4e41f76cebee189d8c13e09 (patch) | |
tree | 934f906f9cf9896192b5d486dd156c8d6c888967 /pysnmp/proto/acmod | |
parent | 4ef5b70ba44bbe6a7a1712241d725b697994e041 (diff) | |
download | pysnmp-git-c95309276c8555bfc4e41f76cebee189d8c13e09.tar.gz |
__main__ code dropped
Diffstat (limited to 'pysnmp/proto/acmod')
-rw-r--r-- | pysnmp/proto/acmod/rfc3415.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/pysnmp/proto/acmod/rfc3415.py b/pysnmp/proto/acmod/rfc3415.py index 81e8a8da..8c006c2d 100644 --- a/pysnmp/proto/acmod/rfc3415.py +++ b/pysnmp/proto/acmod/rfc3415.py @@ -108,16 +108,5 @@ def isAccessAllowed( # 3.2.5c return error.StatusInformation(errorIndication='accessAllowed') -if __name__ == '__main__': - from pysnmp.entity import engine, config - - snmpEngine = engine.SnmpEngine() - - config.addRoUser(snmpEngine, 'test-user', 1, (1,3,6,1,2,1,2,2,1,1)) - - isAccessAllowed( - snmpEngine, 3, 'test-user', 1, 'read', '', (1,3,6,1,2,1,2,2,1,1,22) - ) - # XXX # develop a non-intrum-based management objects access methods |