SNMP MIB Data type - equivalent to Erlang "atom" ?
Sanjaya Vitharana
sanjaya@REDACTED
Wed Jun 22 13:22:37 CEST 2005
Hi....!!!,
!!!!!....Can any body help me to sort this out.....!!!!
What is the MIB Data type equivalent to "atom" ?
For Example:
assume that I have a function:
----------------------------------------------------
getAtom(get) ->
{value, anyatom}. %% note that returning value is an atom of "anyatom"
----------------------------------------------------
How Should I map it in MIB (What is the Type ?)
myAtom OBJECT-TYPE
SYNTAX ***What is the equivalent data type to put here*** %%I know How to handle INTEGER/DisplayString (FROM RFC1213-MIB). But atom ???
ACCESS read-write
STATUS mandatory
DESCRIPTION
""
::= { myObjects 1 }
----------------------------------------------------
Regards,
Sanjaya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20050622/25fb1036/attachment.htm>
More information about the erlang-questions
mailing list