diff options
Diffstat (limited to 'pysnmp/hlapi')
-rw-r--r-- | pysnmp/hlapi/__init__.py | 5 | ||||
-rw-r--r-- | pysnmp/hlapi/asyncore/__init__.py | 1 | ||||
-rw-r--r-- | pysnmp/hlapi/asyncore/_sync/cmdgen.py | 8 |
3 files changed, 9 insertions, 5 deletions
diff --git a/pysnmp/hlapi/__init__.py b/pysnmp/hlapi/__init__.py new file mode 100644 index 0000000..07adb5a --- /dev/null +++ b/pysnmp/hlapi/__init__.py @@ -0,0 +1,5 @@ +from pysnmp.proto.rfc1902 import * +from pysnmp.smi.rfc1902 import * +from pysnmp.hlapi.auth import * +from pysnmp.hlapi.context import * +from pysnmp.entity.engine import SnmpEngine diff --git a/pysnmp/hlapi/asyncore/__init__.py b/pysnmp/hlapi/asyncore/__init__.py index 2f815b6..9753462 100644 --- a/pysnmp/hlapi/asyncore/__init__.py +++ b/pysnmp/hlapi/asyncore/__init__.py @@ -1,4 +1,3 @@ -# This file is necessary to make this directory a package. from pysnmp.proto.rfc1902 import * from pysnmp.smi.rfc1902 import * from pysnmp.hlapi.auth import * diff --git a/pysnmp/hlapi/asyncore/_sync/cmdgen.py b/pysnmp/hlapi/asyncore/_sync/cmdgen.py index 357cc52..5cdb290 100644 --- a/pysnmp/hlapi/asyncore/_sync/cmdgen.py +++ b/pysnmp/hlapi/asyncore/_sync/cmdgen.py @@ -428,9 +428,9 @@ def bulkCmd(snmpEngine, authData, transportTarget, contextData, maxRepetitions : int `maxRepetitions` MIB variables are requested in response for each - of the remaining MIB variables in the request (e.g. excluding - `nonRepeaters`). Remote SNMP engine may choose lesser value than - requested. + of the remaining MIB variables in the request (e.g. excluding + `nonRepeaters`). Remote SNMP engine may choose lesser value than + requested. \*varBinds : :py:class:`~pysnmp.smi.rfc1902.ObjectType` One or more class instances representing MIB variables to place @@ -462,7 +462,7 @@ def bulkCmd(snmpEngine, authData, transportTarget, contextData, errorStatus : str True value indicates SNMP PDU error. errorIndex : int - Non-zero value refers to *varBinds[errorIndex-1] + Non-zero value refers to \*varBinds[errorIndex-1] varBinds : tuple A sequence of :py:class:`~pysnmp.smi.rfc1902.ObjectType` class instances representing MIB variables returned in SNMP response. |