diff options
author | Ilya Etingof <etingof@gmail.com> | 2016-11-30 00:04:44 +0100 |
---|---|---|
committer | Ilya Etingof <etingof@gmail.com> | 2016-11-30 00:04:44 +0100 |
commit | 3a0acfa0c78cd345eac38f891824f32e30624fd7 (patch) | |
tree | c367fa034a8a8c48e719597cf24c2399c2feedf2 | |
parent | c6d54ee5d01939e10f98b7fcb80060fc89909aea (diff) | |
download | pysnmp-git-3a0acfa0c78cd345eac38f891824f32e30624fd7.tar.gz |
missing index added to bundled RFC1213::atEntry MIB table
-rw-r--r-- | CHANGES.txt | 1 | ||||
-rw-r--r-- | pysnmp/smi/mibs/RFC1213-MIB.py | 8 |
2 files changed, 5 insertions, 4 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index fff8eebd..ddca959d 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -23,6 +23,7 @@ Github `repo <https://github.com/etingof/pysnmp>`_ present (e.g. py2exe/cx_freeze environments). - Fix broken 3DES key localization and encryption procedures. - Updated IP address for demo.snmplabs.com in examples. +- Missing index added to bundled RFC1213::atEntry MIB table Revision 4.3.2, released 2016-02-12 ----------------------------------- diff --git a/pysnmp/smi/mibs/RFC1213-MIB.py b/pysnmp/smi/mibs/RFC1213-MIB.py index 21e30eaf..ce6473ad 100644 --- a/pysnmp/smi/mibs/RFC1213-MIB.py +++ b/pysnmp/smi/mibs/RFC1213-MIB.py @@ -19,14 +19,14 @@ Bits, Counter32,) = mibBuilder.importSymbols("SNMPv2-SMI", "Integer32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "mib-2", "IpAddress", "TimeTicks", "iso", "Gauge32", "MibIdentifier", "Bits", "Counter32") -(DisplayString,) = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString") +(DisplayString, PhysAddress) = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "PhysAddress") at = MibIdentifier((1, 3, 6, 1, 2, 1, 3)) ip = MibIdentifier((1, 3, 6, 1, 2, 1, 4)) egp = MibIdentifier((1, 3, 6, 1, 2, 1, 8)) -atTable = MibTable((1, 3, 6, 1, 2, 1, 3, 1)).setMaxAccess("readwrite") -atEntry = MibTableRow((1, 3, 6, 1, 2, 1, 3, 1, 1)).setMaxAccess("readwrite") +atTable = MibTable((1, 3, 6, 1, 2, 1, 3, 1)) +atEntry = MibTableRow((1, 3, 6, 1, 2, 1, 3, 1, 1)).setIndexNames((0, "RFC1213-MIB", "atIfIndex"), (0, "RFC1213-MIB", "atNetAddress")) atIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 3, 1, 1, 1), Integer32()).setMaxAccess("readwrite") -atPhysAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 3, 1, 1, 2), OctetString()).setMaxAccess("readwrite") +atPhysAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 3, 1, 1, 2), PhysAddress()).setMaxAccess("readwrite") atNetAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 3, 1, 1, 3), IpAddress()).setMaxAccess("readwrite") ipRouteTable = MibTable((1, 3, 6, 1, 2, 1, 4, 21)) ipRouteEntry = MibTableRow((1, 3, 6, 1, 2, 1, 4, 21, 1)).setIndexNames((0, "RFC1213-MIB", "ipRouteDest")) |