summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorelie <elie>2014-11-16 18:50:59 +0000
committerelie <elie>2014-11-16 18:50:59 +0000
commit6cd4e8ad5edc68b0bfed31bf73b96f9352393d95 (patch)
treec261f9f681cfc65c4f4945fd77aaa0bdd110c3eb /examples
parent5135be002548c26e70561dfaefb42ec8f2ae38f2 (diff)
downloadpysnmp-git-6cd4e8ad5edc68b0bfed31bf73b96f9352393d95.tar.gz
note on python version added
Diffstat (limited to 'examples')
-rw-r--r--examples/v3arch/asyncio/agent/cmdrsp/multiple-usm-users.py2
-rw-r--r--examples/v3arch/asyncio/manager/ntfrcv/multiple-interfaces.py2
2 files changed, 4 insertions, 0 deletions
diff --git a/examples/v3arch/asyncio/agent/cmdrsp/multiple-usm-users.py b/examples/v3arch/asyncio/agent/cmdrsp/multiple-usm-users.py
index b41fc498..cdc264b5 100644
--- a/examples/v3arch/asyncio/agent/cmdrsp/multiple-usm-users.py
+++ b/examples/v3arch/asyncio/agent/cmdrsp/multiple-usm-users.py
@@ -18,6 +18,8 @@
# $ snmpwalk -v3 -u usr-sha-none -l authNoPriv -a SHA -A authkey1 localhost .1.3.6
# $ snmpwalk -v3 -u usr-sha-aes128 -l authPriv -a SHA -A authkey1 -x AES -X privkey1 localhost .1.3.6
#
+# Requires Python 3.4 and later!
+#
from pysnmp.entity import engine, config
from pysnmp.entity.rfc3413 import cmdrsp, context
from pysnmp.carrier.asyncio.dgram import udp
diff --git a/examples/v3arch/asyncio/manager/ntfrcv/multiple-interfaces.py b/examples/v3arch/asyncio/manager/ntfrcv/multiple-interfaces.py
index e84edc50..a5fa2417 100644
--- a/examples/v3arch/asyncio/manager/ntfrcv/multiple-interfaces.py
+++ b/examples/v3arch/asyncio/manager/ntfrcv/multiple-interfaces.py
@@ -16,6 +16,8 @@
# $ snmptrap -v2c -c public 127.0.0.1:162 123 1.3.6.1.6.3.1.1.5.1 1.3.6.1.2.1.1.5.0 s test
# $ snmpinform -v2c -c public 127.0.0.1:2162 123 1.3.6.1.6.3.1.1.5.1
#
+# Requires Python 3.4 and later!
+#
from pysnmp.entity import engine, config
from pysnmp.carrier.asyncio.dgram import udp
from pysnmp.entity.rfc3413 import ntfrcv