summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorelie <elie>2012-08-30 17:13:40 +0000
committerelie <elie>2012-08-30 17:13:40 +0000
commita388c6a0623e204a099490474e344cce60a3199c (patch)
treecaf95fa8e71006949f6d50348b6d03c72b9d7398 /docs
parent91ff0520b9f700b0dade026facebc4f734780da1 (diff)
downloadpysnmp-a388c6a0623e204a099490474e344cce60a3199c.tar.gz
more updates
Diffstat (limited to 'docs')
-rw-r--r--docs/pysnmp-tutorial.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/pysnmp-tutorial.html b/docs/pysnmp-tutorial.html
index f0903ab..eb47d85 100644
--- a/docs/pysnmp-tutorial.html
+++ b/docs/pysnmp-tutorial.html
@@ -1013,7 +1013,11 @@ allow symbolic MIB table columns specification.
<TABLE BGCOLOR="lightgray" BORDER=0 WIDTH=90% ALIGN=CENTER><TR><TD>
<PRE>
-errorIndication, errorStatus, errorIndex, varBindTable = cmdGen.nextCmd(
+from pysnmp.entity.rfc3413.oneliner import cmdgen
+
+cmdGen = cmdgen.CommandGenerator()
+
+errorIndication, errorStatus, errorIndex, varBindTable = cmdGen.bulkCmd(
cmdgen.UsmUserData('usr-sha-aes128', 'authkey1', 'privkey1',
authProtocol=cmdgen.usmHMACSHAAuthProtocol,
privProtocol=cmdgen.usmAesCfb128Protocol),