diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/pysnmp-tutorial.html | 6 |
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), |