OoO En cette  fin de matinée radieuse du vendredi  10 juillet 2009, vers
11:00, François Dumont <francoisdumon...@gmail.com> disait :

> First of all, these types are given by the MIB, but when I print them in my
> python script with :


>     value = "rbQoSProfileName"
>     print(type(value))

>     value = "rbQoSProfileType"
>     print(type(value))

>     value = "rbQoSProfileParam1"
>     print(type(value))

>     value = "rbQoSProfileParam2"
>     print(type(value))

>     value = "rbQoSProfileParamTime"
>     print(type(value))

>     value = "rbAQoSProfileRowStatus"
>     print(type(value))


> It returns for all :


>     <type 'str'>


> So my first question is why ?

Because they are all strings. :)
I think that the Python bindings does  not allow you to query a MIB. You
cannot get the type of what you retrieve either.

> Secondly, for the parameters rbQoSProfileType and rbQoSProfileParamTime, the
> value is always 0 and I can't change it. Why ? Here is the extraxt of the MIB
> which deals with these parameters.

Does this work with snmpset?
-- 
BART BUCKS, ARE NOT LEGAL TENDER
BART BUCKS, ARE NOT LEGAL TENDER
BART BUCKS, ARE NOT LEGAL TENDER
-+- Bart Simpson on chalkboard in episode 8F06

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
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

Reply via email to