[prev in list] [next in list] [prev in thread] [next in thread]
List: net-snmp-users
Subject: Re: Set on hex string using python library
From: Vincent Bernat <bernat () luffy ! cx>
Date: 2009-07-31 18:28:33
Message-ID: m3ab2k906m.fsf () neo ! luffy ! cx
[Download RAW message or body]
OoO Pendant le temps de midi du vendredi 31 juillet 2009, vers 12:49,
François Dumont <francoisdumont88@gmail.com> disait :
> import netsnmp
> oid = netsnmp.Varbind('rbAuConfiguredBaseStationId', '1', 'ba be 00 00 fa
> ce')
> rbAuConfiguredBaseStationId = netsnmp.snmpset(oid, DestHost = "10.0.0.1",
> Community = "private", Version = 2)
> print "rbAuConfiguredBaseStationId : ", rbAuConfiguredBaseStationId
Try '\xba\xbe\x00\x00\xfa\xce'.
--
Make sure comments and code agree.
- The Elements of Programming Style (Kernighan & Plauger)
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic