summaryrefslogtreecommitdiff
path: root/examples/smi
diff options
context:
space:
mode:
authorelie <elie>2006-12-15 23:24:15 +0000
committerelie <elie>2006-12-15 23:24:15 +0000
commit35895c667184ccd79ce18effa228ec50773a18e0 (patch)
tree45630897711851cc9bf635037223cdd9d4c47c3d /examples/smi
parentf00e8128855507e68cf9f606cb0348ffd14edccd (diff)
downloadpysnmp-git-35895c667184ccd79ce18effa228ec50773a18e0.tar.gz
initialize normally non-accessible table column instance to make this
example workable
Diffstat (limited to 'examples/smi')
-rw-r--r--examples/smi/agent/operations-on-managed-objects.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/smi/agent/operations-on-managed-objects.py b/examples/smi/agent/operations-on-managed-objects.py
index e4850924..d53c2838 100644
--- a/examples/smi/agent/operations-on-managed-objects.py
+++ b/examples/smi/agent/operations-on-managed-objects.py
@@ -13,7 +13,8 @@ print 'done'
print 'Remote manager write/create access to MIB instrumentation: ',
print mibInstrum.writeVars(
- (((1,3,6,1,6,3,18,1,1,1,2,109,121,110,109,115), 'mycomm'),
+ (((1,3,6,1,6,3,18,1,1,1,1,109,121,110,109,115), 'mynms'),
+ ((1,3,6,1,6,3,18,1,1,1,2,109,121,110,109,115), 'mycomm'),
((1,3,6,1,6,3,18,1,1,1,3,109,121,110,109,115), 'mynmsname'),
((1,3,6,1,6,3,18,1,1,1,7,109,121,110,109,115), 'volatile'))
)