RE: MIB design query (specifying the range for TC TruthValue)

This is a discussion on RE: MIB design query (specifying the range for TC TruthValue) within the SNMP Coders forums, part of the Networking and Network Related category; TruthValue already has a meaning, and redefining it is not a good idea. Why don't you just define an ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-06-2007
Adam Bell
 
Posts: n/a
Default RE: MIB design query (specifying the range for TC TruthValue)

TruthValue already has a meaning, and redefining it is not a good idea. Why
don't you just define an INTEGER with a single enumerated value of 1 for the
specific MIB in question.

Adam

-----Original Message-----
From: net-snmp-coders-bounces@lists.sourceforge.net
[mailto:net-snmp-coders-bounces@lists.sourceforge.net] On Behalf Of
Jayaprakasha Guddenahalli Naganna
Sent: Wednesday, June 06, 2007 1:06 PM
To: Dave Shield
Cc: net-snmp-coders@lists.sourceforge.net
Subject: RE: MIB design query (specifying the range for TC TruthValue)

It will be treated as write-only object. Based on set operation on this
object we will do some action. (Ex: reboot switch)

-----Original Message-----
From: dave.shield@googlemail.com [mailto:dave.shield@googlemail.com] On
Behalf Of Dave Shield
Sent: Wednesday, June 06, 2007 3:49 PM
To: Jayaprakasha Guddenahalli Naganna
Cc: net-snmp-coders@lists.sourceforge.net
Subject: Re: MIB design query (specifying the range for TC TruthValue)

On 06/06/07, Jayaprakasha Guddenahalli Naganna <jnaganna@nexthop.com>
wrote:
> I have designed a column which support only value 'true (1)'. I have

used
> syntax as "TruthValue { true(1) }" to tell users that it supports only

one
> possible value i.e true(1). I want to know whether it is valid or not.


What is the point of having this object at all?
If it will *always* have the value true, then why would anything need to
query it?

Dave


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express Download DB2 Express C - the
FREE version of DB2 express and take control of your XML. No limits. Just
data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders

The information contained in this electronic mail transmission may be privileged and confidential, and therefore, protected from disclosure. If you have received this communication in error, please notify us immediately by replying to this message and deleting it from your computer without copying or disclosing it.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:49 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0