diff options
author | elie <elie> | 2013-03-15 15:36:04 +0000 |
---|---|---|
committer | elie <elie> | 2013-03-15 15:36:04 +0000 |
commit | daad78aa25b58229a687a6a7e3c41557336f7907 (patch) | |
tree | 4e7df0d5a66cf80c2b108d369215ad33a646c4ee | |
parent | edaa6fbdaa529b81f7c33d180cf29d4e1f65fe41 (diff) | |
download | pysnmp-daad78aa25b58229a687a6a7e3c41557336f7907.tar.gz |
some more cosmetic changes
17 files changed, 30 insertions, 30 deletions
diff --git a/examples/v3arch/agent/ntforg/inform-multiple-protocols.py b/examples/v3arch/agent/ntforg/inform-multiple-protocols.py index 42e7470..655c474 100644 --- a/examples/v3arch/agent/ntforg/inform-multiple-protocols.py +++ b/examples/v3arch/agent/ntforg/inform-multiple-protocols.py @@ -83,7 +83,7 @@ snmpContext = context.SnmpContext(snmpEngine) # Create Notification Originator App instance. ntfOrg = ntforg.NotificationOriginator(snmpContext) -# Error/confirmation reciever +# Error/confirmation receiver def cbFun(sendRequestHandle, errorIndication, cbCtx): print('Notification %s, status - %s' % ( sendRequestHandle, errorIndication and errorIndication or 'delivered' diff --git a/examples/v3arch/agent/ntforg/inform-v2c.py b/examples/v3arch/agent/ntforg/inform-v2c.py index a5a9b21..0054211 100644 --- a/examples/v3arch/agent/ntforg/inform-v2c.py +++ b/examples/v3arch/agent/ntforg/inform-v2c.py @@ -61,7 +61,7 @@ snmpContext = context.SnmpContext(snmpEngine) # Create Notification Originator App instance. ntfOrg = ntforg.NotificationOriginator(snmpContext) -# Error/confirmation reciever +# Error/confirmation receiver def cbFun(sendRequestHandle, errorIndication, cbCtx): print('Notification %s, status - %s' % ( sendRequestHandle, errorIndication and errorIndication or 'delivered' diff --git a/examples/v3arch/agent/ntforg/inform-v3.py b/examples/v3arch/agent/ntforg/inform-v3.py index ce7316e..f8b2b80 100644 --- a/examples/v3arch/agent/ntforg/inform-v3.py +++ b/examples/v3arch/agent/ntforg/inform-v3.py @@ -60,7 +60,7 @@ snmpContext = context.SnmpContext(snmpEngine) # Create Notification Originator App instance. ntfOrg = ntforg.NotificationOriginator(snmpContext) -# Error/confirmation reciever +# Error/confirmation receiver def cbFun(sendRequestHandle, errorIndication, cbCtx): print('Notification %s, status - %s' % ( sendRequestHandle, errorIndication and errorIndication or 'delivered' diff --git a/examples/v3arch/agent/ntforg/trap-v2c.py b/examples/v3arch/agent/ntforg/trap-v2c.py index d05a3f3..c5bc933 100644 --- a/examples/v3arch/agent/ntforg/trap-v2c.py +++ b/examples/v3arch/agent/ntforg/trap-v2c.py @@ -61,7 +61,7 @@ snmpContext = context.SnmpContext(snmpEngine) # Create Notification Originator App instance. ntfOrg = ntforg.NotificationOriginator(snmpContext) -# Error/confirmation reciever +# Error/confirmation receiver def cbFun(sendRequestHandle, errorIndication, cbCtx): print('Notification %s, status - %s' % ( sendRequestHandle, errorIndication and errorIndication or 'delivered' diff --git a/examples/v3arch/manager/cmdgen/get-v1.py b/examples/v3arch/manager/cmdgen/get-v1.py index cea8a7c..558a4e9 100644 --- a/examples/v3arch/manager/cmdgen/get-v1.py +++ b/examples/v3arch/manager/cmdgen/get-v1.py @@ -30,7 +30,7 @@ config.addTargetParams(snmpEngine, 'my-creds', 'my-area', 'noAuthNoPriv', 0) # # Setup transport endpoint and bind it with security settings yielding -# a target name (choose one entry depending of the transport needed). +# a target name # # UDP/IPv4 @@ -45,7 +45,7 @@ config.addTargetAddr( 'my-creds' ) -# Error/response reciever +# Error/response receiver def cbFun(sendRequestHandle, errorIndication, errorStatus, errorIndex, varBinds, cbCtx): diff --git a/examples/v3arch/manager/cmdgen/get-v2c-custom-timeout.py b/examples/v3arch/manager/cmdgen/get-v2c-custom-timeout.py index 1aac2e4..d903799 100644 --- a/examples/v3arch/manager/cmdgen/get-v2c-custom-timeout.py +++ b/examples/v3arch/manager/cmdgen/get-v2c-custom-timeout.py @@ -31,7 +31,7 @@ config.addTargetParams(snmpEngine, 'my-creds', 'my-area', 'noAuthNoPriv', 1) # # Setup transport endpoint and bind it with security settings yielding -# a target name (choose one entry depending of the transport needed). +# a target name # # UDP/IPv4 @@ -48,7 +48,7 @@ config.addTargetAddr( retryCount=5 ) -# Error/response reciever +# Error/response receiver def cbFun(sendRequestHandle, errorIndication, errorStatus, errorIndex, varBinds, cbCtx): diff --git a/examples/v3arch/manager/cmdgen/get-v3-custom-context.py b/examples/v3arch/manager/cmdgen/get-v3-custom-context.py index 98e9a89..6612384 100644 --- a/examples/v3arch/manager/cmdgen/get-v3-custom-context.py +++ b/examples/v3arch/manager/cmdgen/get-v3-custom-context.py @@ -34,7 +34,7 @@ config.addTargetParams(snmpEngine, 'my-creds', 'usr-md5-none', 'authNoPriv') # # Setup transport endpoint and bind it with security settings yielding -# a target name (choose one entry depending of the transport needed). +# a target name # # UDP/IPv4 @@ -49,7 +49,7 @@ config.addTargetAddr( 'my-creds' ) -# Error/response reciever +# Error/response receiver def cbFun(sendRequestHandle, errorIndication, errorStatus, errorIndex, varBinds, cbCtx): diff --git a/examples/v3arch/manager/cmdgen/get-v3.py b/examples/v3arch/manager/cmdgen/get-v3.py index f251c3d..45a1430 100644 --- a/examples/v3arch/manager/cmdgen/get-v3.py +++ b/examples/v3arch/manager/cmdgen/get-v3.py @@ -32,7 +32,7 @@ config.addTargetParams(snmpEngine, 'my-creds', 'usr-sha-aes', 'authPriv') # # Setup transport endpoint and bind it with security settings yielding -# a target name (choose one entry depending of the transport needed). +# a target name # # UDP/IPv4 @@ -47,7 +47,7 @@ config.addTargetAddr( 'my-creds' ) -# Error/response reciever +# Error/response receiver def cbFun(sendRequestHandle, errorIndication, errorStatus, errorIndex, varBinds, cbCtx): diff --git a/examples/v3arch/manager/cmdgen/getbulk-v2c.py b/examples/v3arch/manager/cmdgen/getbulk-v2c.py index 13eec69..af66b9a 100644 --- a/examples/v3arch/manager/cmdgen/getbulk-v2c.py +++ b/examples/v3arch/manager/cmdgen/getbulk-v2c.py @@ -32,7 +32,7 @@ config.addTargetParams(snmpEngine, 'my-creds', 'my-area', 'noAuthNoPriv', 1) # # Setup transport endpoint and bind it with security settings yielding -# a target name (choose one entry depending of the transport needed). +# a target name # # UDP/IPv4 @@ -47,7 +47,7 @@ config.addTargetAddr( 'my-creds' ) -# Error/response reciever +# Error/response receiver def cbFun(sendRequesthandle, errorIndication, errorStatus, errorIndex, varBindTable, cbCtx): if errorIndication: diff --git a/examples/v3arch/manager/cmdgen/getbulk-v3.py b/examples/v3arch/manager/cmdgen/getbulk-v3.py index aa5a8fe..f478bc6 100644 --- a/examples/v3arch/manager/cmdgen/getbulk-v3.py +++ b/examples/v3arch/manager/cmdgen/getbulk-v3.py @@ -34,7 +34,7 @@ config.addTargetParams(snmpEngine, 'my-creds', 'usr-md5-des', 'authPriv') # # Setup transport endpoint and bind it with security settings yielding -# a target name (choose one entry depending of the transport needed). +# a target name # # UDP/IPv4 @@ -49,7 +49,7 @@ config.addTargetAddr( 'my-creds' ) -# Error/response reciever +# Error/response receiver def cbFun(sendRequesthandle, errorIndication, errorStatus, errorIndex, varBindTable, cbCtx): if errorIndication: diff --git a/examples/v3arch/manager/cmdgen/getnext-v1.py b/examples/v3arch/manager/cmdgen/getnext-v1.py index 67f60ba..bc96083 100644 --- a/examples/v3arch/manager/cmdgen/getnext-v1.py +++ b/examples/v3arch/manager/cmdgen/getnext-v1.py @@ -31,7 +31,7 @@ config.addTargetParams(snmpEngine, 'my-creds', 'my-area', 'noAuthNoPriv', 0) # # Setup transport endpoint and bind it with security settings yielding -# a target name (choose one entry depending of the transport needed). +# a target name # # UDP/IPv4 @@ -46,7 +46,7 @@ config.addTargetAddr( 'my-creds' ) -# Error/response reciever +# Error/response receiver def cbFun(sendRequestHandle, errorIndication, errorStatus, errorIndex, varBindTable, cbCtx): diff --git a/examples/v3arch/manager/cmdgen/getnext-v2c-from-specific-address.py b/examples/v3arch/manager/cmdgen/getnext-v2c-from-specific-address.py index 910c594..c8d2b09 100644 --- a/examples/v3arch/manager/cmdgen/getnext-v2c-from-specific-address.py +++ b/examples/v3arch/manager/cmdgen/getnext-v2c-from-specific-address.py @@ -32,7 +32,7 @@ config.addTargetParams(snmpEngine, 'my-creds', 'my-area', 'noAuthNoPriv', 0) # # Setup transport endpoint and bind it with security settings yielding -# a target name (choose one entry depending of the transport needed). +# a target name # # UDP/IPv4 @@ -47,7 +47,7 @@ config.addTargetAddr( 'my-creds' ) -# Error/response reciever +# Error/response receiver def cbFun(sendRequestHandle, errorIndication, errorStatus, errorIndex, varBindTable, cbCtx): diff --git a/examples/v3arch/manager/cmdgen/getnext-v3-over-ipv6.py b/examples/v3arch/manager/cmdgen/getnext-v3-over-ipv6.py index c6b8734..8d235cb 100644 --- a/examples/v3arch/manager/cmdgen/getnext-v3-over-ipv6.py +++ b/examples/v3arch/manager/cmdgen/getnext-v3-over-ipv6.py @@ -32,7 +32,7 @@ config.addTargetParams(snmpEngine, 'my-creds', 'usr-md5-none', 'authNoPriv') # # Setup transport endpoint and bind it with security settings yielding -# a target name (choose one entry depending of the transport needed). +# a target name # # UDP/IPv6 @@ -47,7 +47,7 @@ config.addTargetAddr( 'my-creds' ) -# Error/response reciever +# Error/response receiver def cbFun(sendRequestHandle, errorIndication, errorStatus, errorIndex, varBindTable, cbCtx): diff --git a/examples/v3arch/manager/cmdgen/getnext-v3-pull-subtree.py b/examples/v3arch/manager/cmdgen/getnext-v3-pull-subtree.py index 9765272..c3142f9 100644 --- a/examples/v3arch/manager/cmdgen/getnext-v3-pull-subtree.py +++ b/examples/v3arch/manager/cmdgen/getnext-v3-pull-subtree.py @@ -35,7 +35,7 @@ config.addTargetParams(snmpEngine, 'my-creds', 'usr-none-none', 'noAuthNoPriv') # # Setup transport endpoint and bind it with security settings yielding -# a target name (choose one entry depending of the transport needed). +# a target name # # UDP/IPv4 @@ -50,7 +50,7 @@ config.addTargetAddr( 'my-creds' ) -# Error/response reciever +# Error/response receiver def cbFun(sendRequestHandle, errorIndication, errorStatus, errorIndex, varBindTable, cbCtx): diff --git a/examples/v3arch/manager/cmdgen/set-v1.py b/examples/v3arch/manager/cmdgen/set-v1.py index 695d993..a452cab 100644 --- a/examples/v3arch/manager/cmdgen/set-v1.py +++ b/examples/v3arch/manager/cmdgen/set-v1.py @@ -31,7 +31,7 @@ config.addTargetParams(snmpEngine, 'my-creds', 'my-area', 'noAuthNoPriv', 0) # # Setup transport endpoint and bind it with security settings yielding -# a target name (choose one entry depending of the transport needed). +# a target name # # UDP/IPv4 @@ -46,7 +46,7 @@ config.addTargetAddr( 'my-creds' ) -# Error/response reciever +# Error/response receiver def cbFun(sendRequestHandle, errorIndication, errorStatus, errorIndex, varBinds, cbCtx): diff --git a/examples/v3arch/manager/cmdgen/set-v2c.py b/examples/v3arch/manager/cmdgen/set-v2c.py index 5b71c4b..ea409ea 100644 --- a/examples/v3arch/manager/cmdgen/set-v2c.py +++ b/examples/v3arch/manager/cmdgen/set-v2c.py @@ -31,7 +31,7 @@ config.addTargetParams(snmpEngine, 'my-creds', 'my-area', 'noAuthNoPriv', 1) # # Setup transport endpoint and bind it with security settings yielding -# a target name (choose one entry depending of the transport needed). +# a target name # # UDP/IPv4 @@ -46,7 +46,7 @@ config.addTargetAddr( 'my-creds' ) -# Error/response reciever +# Error/response receiver def cbFun(sendRequestHandle, errorIndication, errorStatus, errorIndex, varBinds, cbCtx): diff --git a/examples/v3arch/manager/cmdgen/set-v3.py b/examples/v3arch/manager/cmdgen/set-v3.py index 1148f1e..0d71ab6 100644 --- a/examples/v3arch/manager/cmdgen/set-v3.py +++ b/examples/v3arch/manager/cmdgen/set-v3.py @@ -32,7 +32,7 @@ config.addTargetParams(snmpEngine, 'my-creds', 'usr-sha-none', 'authNoPriv') # # Setup transport endpoint and bind it with security settings yielding -# a target name (choose one entry depending of the transport needed). +# a target name # # UDP/IPv4 @@ -47,7 +47,7 @@ config.addTargetAddr( 'my-creds' ) -# Error/response reciever +# Error/response receiver def cbFun(sendRequestHandle, errorIndication, errorStatus, errorIndex, varBinds, cbCtx): |