Is there support in the SMIv2 spesification to have textual
enumerations? I could only find support for enumeration with INTEGER
and BITS.

Structure of Management Information Version 2 (SMIv2)
http://tools.ietf.org/html/rfc2578

Textual Conventions for SMIv2
http://tools.ietf.org/html/rfc2579


Consider the following scalar:
param2 OBJECT-TYPE
      SYNTAX      OCTET STRING { stopped("0"), ready("1"), running("2") }
      MAX-ACCESS  read-write
      STATUS      current
      DESCRIPTION
        ""
      ::= { run 1 }

This gives me a validation error:
   {internal-other} syntax error, unexpected '{', expecting STATUS
   {internal-other} syntax error, unexpected MAX_ACCESS


What I actually have is a list of strings for this scalar { stopped,
ready, running }.



------------------------------------------------------------------------------
Keep yourself connected to Go Parallel: 
TUNE You got it built. Now make it sing. Tune shows you how.
http://goparallel.sourceforge.net
_______________________________________________
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