[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Enumerated INTEGER - start with zero or one (0 or 1) ?
On Wed, 1 Jan 2003, Wijnen, Bert (Bert) wrote:
> basically OK with me... although I would rather have a reference
> to an example in an RFC than in an I-D.
Does anyone on the list know of such a reference? What I want is
an RFC that contains a definition using an enumerated integer with
values that don't start at 1 and/or are non-contiguous for a "good
reason". The example I cited was this TC from "Syslog Device
Configuration MIB", <draft-ietf-syslog-device-mib-01.txt> ...
SyslogSeverity ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"This textual convention maps out to the severity levels
of syslog messages. The syslog protocol uses the values
0 (emergency), to 7 (debug)."
SYNTAX INTEGER {
emergency(0),
alert(1),
critical(2),
error(3),
warning(4),
notice(5),
info(6),
debug(7)
}
Something similar a published document is what I want. Either an
object definition or a TC would be OK.
//cmh