diff options
author | elie <elie> | 2006-05-21 11:35:21 +0000 |
---|---|---|
committer | elie <elie> | 2006-05-21 11:35:21 +0000 |
commit | 69ebe618dafab132797e83d517223b489aa994f8 (patch) | |
tree | 5ed7ba878a5d6462e368a5ba3f01f1be58faaf02 /pysnmp/entity | |
parent | aed3bf7b69b9a9115eec5c298c68fcc4962bf39e (diff) | |
download | pysnmp-git-69ebe618dafab132797e83d517223b489aa994f8.tar.gz |
manually initialize snmpCommunityStorageType as it's not done by MIB
Diffstat (limited to 'pysnmp/entity')
-rw-r--r-- | pysnmp/entity/config.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pysnmp/entity/config.py b/pysnmp/entity/config.py index 5b4cc087..e554df47 100644 --- a/pysnmp/entity/config.py +++ b/pysnmp/entity/config.py @@ -79,6 +79,11 @@ def addV1System(snmpEngine, securityName, communityName, ) snmpCommunityTransportTag.syntax = snmpCommunityTransportTag.syntax.clone(snmpCommunityTransportTag) + snmpCommunityStorageType = snmpCommunityEntry.getNode( + snmpCommunityEntry.name + (7,) + tblIdx + ) + snmpCommunityStorageType.syntax = snmpCommunityStorageType.syntax.clone('nonVolatile') + def addV3User(snmpEngine, securityName, authProtocol=usmNoAuthProtocol, authKey='', privProtocol=usmNoPrivProtocol, privKey='', |