Browse Source

pass through OIDs..

main
John-Mark Gurney 8 months ago
parent
commit
d0f230d258
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      vlanmang/__init__.py

+ 2
- 1
vlanmang/__init__.py View File

@@ -521,7 +521,8 @@ class SNMPSwitch(object):
for varBind in varBinds:
yield varBind

_convfun = dict(DisplayString=str, Integer32=int, Integer=int, Gauge32=int)
_convfun = dict(DisplayString=str, Integer32=int, Integer=int,
Gauge32=int, ObjectIdentifier=lambda x: x)

def getsettings(self, *oids):
'''Return the values for the passed in oids. It is best


Loading…
Cancel
Save