|
@@ -521,7 +521,8 @@ class SNMPSwitch(object): |
|
|
for varBind in varBinds: |
|
|
for varBind in varBinds: |
|
|
yield varBind |
|
|
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): |
|
|
def getsettings(self, *oids): |
|
|
'''Return the values for the passed in oids. It is best |
|
|
'''Return the values for the passed in oids. It is best |
|
|