diff options
author | elie <elie> | 2010-11-22 23:56:51 +0000 |
---|---|---|
committer | elie <elie> | 2010-11-22 23:56:51 +0000 |
commit | e70d517842aaaa1c72c463b4a01705f0ed876f90 (patch) | |
tree | cebfed796cade4d6327239648065b4baed8855bd | |
parent | 744d814bd31faac0a253d6bfd09574344f39e402 (diff) | |
download | pysnmp-e70d517842aaaa1c72c463b4a01705f0ed876f90.tar.gz |
AgentCapabilities macro is now compiled but not yet implemented
-rw-r--r-- | CHANGES | 2 | ||||
-rw-r--r-- | tools/libsmi2pysnmp | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -18,9 +18,11 @@ Revision 4.1.15a collide within an administrative domain. - MibTableColumn instances now build value-to-column-instance map to speedup by-value search. +- SNMPv2-CONF::AgentCapabilities macro implemented. - Fix to SNMPv3 security module to store peer SNMP engine timeline only if taken from an authenticated message. Prior to this fix SNMP engine was not been protected from spoofing. +- Fix to $SMIPATH initialization at build-pysnmp-mib. - Fix to maxSizeResponseScopedPDU calculation. - Fix to Next/Bulk CommandGenerators to catch a non-increasing OID error condition (what prevents looping). diff --git a/tools/libsmi2pysnmp b/tools/libsmi2pysnmp index 7be8cee..f89da6f 100644 --- a/tools/libsmi2pysnmp +++ b/tools/libsmi2pysnmp @@ -456,6 +456,8 @@ if nodes: out.write('.setMaxAccess(\"%s\")' % 'readcreate') else: out.write('.setMaxAccess(\"%s\")' % symDef['access']) + if symDef['nodetype'] == 'capabilities': + out.write('AgentCapabilities(%s)' % __oidToTuple(symDef['oid'])) out.write('%s' % addLabelForSymbol(symName)) |