Subject: [ipfix-info] boolean

From: Benoit Claise <[email-masked]>
Date: Fri, 24 Dec 2004 12:04:17 +0100

Dear all,

Our description of the boolean is not complete

3.1.6  boolean
   The type "boolean" represents a binary value.

I propose to extend it, to make compliant with:
      RFC 2579:
          TruthValue ::= TEXTUAL-CONVENTION
              STATUS       current
              DESCRIPTION
                  "Represents a boolean value."
              SYNTAX       INTEGER { true(1), false(2) }

3.1.6  boolean
   The type "boolean" represents a binary value.
   The value 1 represents true. The value 2 represents false.

The value 0/1 for false/true seems a nice solution. However, the 0 is the most likely value of an uninitialized data variable. 
It was one of the justification why SMIv1 didn't allow an enumerated value of 0.

Regards, Benoit.

--
Help        mailto:[email-masked] and say "help" in message body
Unsubscribe mailto:[email-masked] and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/