diff options
author | elie <elie> | 2015-07-05 14:22:26 +0000 |
---|---|---|
committer | elie <elie> | 2015-07-05 14:22:26 +0000 |
commit | b2446e8a9841625abed2e0b67185751b7f17b208 (patch) | |
tree | cd5ea73f0a2b2ab49990d97db313d24c8f446052 /examples/v3arch/manager/ntfrcv | |
parent | ffc920b298fb7bd2caa403645431c45754e8c9af (diff) | |
download | pysnmp-b2446e8a9841625abed2e0b67185751b7f17b208.tar.gz |
- original asynsock transport and AsyncsockDispatcher renamed into
asyncore and AsyncoreDispatcher respectively to provide better hint
to fellow devs on the underlying transport being used
- backward compatibility preserved through dummy asynsock symbols
Diffstat (limited to 'examples/v3arch/manager/ntfrcv')
6 files changed, 6 insertions, 6 deletions
diff --git a/examples/v3arch/manager/ntfrcv/v2c-multiple-interfaces.py b/examples/v3arch/manager/ntfrcv/v2c-multiple-interfaces.py index 182338b..c4dbae8 100644 --- a/examples/v3arch/manager/ntfrcv/v2c-multiple-interfaces.py +++ b/examples/v3arch/manager/ntfrcv/v2c-multiple-interfaces.py @@ -16,7 +16,7 @@ # $ snmpinform -v2c -c public 127.0.0.1:2162 123 1.3.6.1.6.3.1.1.5.1 # from pysnmp.entity import engine, config -from pysnmp.carrier.asynsock.dgram import udp +from pysnmp.carrier.asyncore.dgram import udp from pysnmp.entity.rfc3413 import ntfrcv # Create SNMP engine with autogenernated engineID and pre-bound diff --git a/examples/v3arch/manager/ntfrcv/v2c-multiple-transports.py b/examples/v3arch/manager/ntfrcv/v2c-multiple-transports.py index 1f9c739..2b54998 100644 --- a/examples/v3arch/manager/ntfrcv/v2c-multiple-transports.py +++ b/examples/v3arch/manager/ntfrcv/v2c-multiple-transports.py @@ -17,7 +17,7 @@ # $ snmpinform -v2c -c public 127.0.0.1 123 1.3.6.1.6.3.1.1.5.1 # from pysnmp.entity import engine, config -from pysnmp.carrier.asynsock.dgram import udp, udp6 +from pysnmp.carrier.asyncore.dgram import udp, udp6 from pysnmp.entity.rfc3413 import ntfrcv # Create SNMP engine with autogenernated engineID and pre-bound diff --git a/examples/v3arch/manager/ntfrcv/v2c-observe-request-processing.py b/examples/v3arch/manager/ntfrcv/v2c-observe-request-processing.py index 41796dd..5651a6f 100644 --- a/examples/v3arch/manager/ntfrcv/v2c-observe-request-processing.py +++ b/examples/v3arch/manager/ntfrcv/v2c-observe-request-processing.py @@ -18,7 +18,7 @@ # $ snmpinform -v2c -c public 127.0.0.1 123 1.3.6.1.6.3.1.1.5.1 # from pysnmp.entity import engine, config -from pysnmp.carrier.asynsock.dgram import udp, udp6 +from pysnmp.carrier.asyncore.dgram import udp, udp6 from pysnmp.entity.rfc3413 import ntfrcv # Create SNMP engine with autogenernated engineID and pre-bound diff --git a/examples/v3arch/manager/ntfrcv/v2c-with-regexp-community-name.py b/examples/v3arch/manager/ntfrcv/v2c-with-regexp-community-name.py index 61507a4..57a7030 100644 --- a/examples/v3arch/manager/ntfrcv/v2c-with-regexp-community-name.py +++ b/examples/v3arch/manager/ntfrcv/v2c-with-regexp-community-name.py @@ -24,7 +24,7 @@ # CommunityName's, not explicitly configured to local SNMP Engine. # from pysnmp.entity import engine, config -from pysnmp.carrier.asynsock.dgram import udp +from pysnmp.carrier.asyncore.dgram import udp from pysnmp.entity.rfc3413 import ntfrcv from pysnmp.proto.api import v2c import re diff --git a/examples/v3arch/manager/ntfrcv/v2c-with-request-details.py b/examples/v3arch/manager/ntfrcv/v2c-with-request-details.py index e7f1301..ea3aafb 100644 --- a/examples/v3arch/manager/ntfrcv/v2c-with-request-details.py +++ b/examples/v3arch/manager/ntfrcv/v2c-with-request-details.py @@ -15,7 +15,7 @@ # $ 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 # from pysnmp.entity import engine, config -from pysnmp.carrier.asynsock.dgram import udp +from pysnmp.carrier.asyncore.dgram import udp from pysnmp.entity.rfc3413 import ntfrcv # Create SNMP engine with autogenernated engineID and pre-bound diff --git a/examples/v3arch/manager/ntfrcv/v3-multiple-users.py b/examples/v3arch/manager/ntfrcv/v3-multiple-users.py index 9f26839..f78d11c 100644 --- a/examples/v3arch/manager/ntfrcv/v3-multiple-users.py +++ b/examples/v3arch/manager/ntfrcv/v3-multiple-users.py @@ -19,7 +19,7 @@ # $ snmpinform -v3 -u usr-sha-aes128 -l authPriv -a SHA -A authkey1 -x AES -X privkey1 127.0.0.1 123 1.3.6.1.6.3.1.1.5.1 # from pysnmp.entity import engine, config -from pysnmp.carrier.asynsock.dgram import udp +from pysnmp.carrier.asyncore.dgram import udp from pysnmp.entity.rfc3413 import ntfrcv from pysnmp.proto.api import v2c |