Re: how to extract exact syntax from MIB variable ?

Juergen Schoenwaelder (schoenw@gaertner.de)
Tue, 1 Jul 1997 00:38:22 +0200

bernd@finow.snafu.de (Bernd Hentig) said:

Bernd> Is there any way to retrieve the exact syntax of a MIB node
Bernd> with scotty ? E.g. the exact syntax for MIB-2 node
Bernd> sysServices is "INTEGER (0..127)", but
Bernd> <scotty> mib {-exact} syntax sysServices
Bernd> only returns "INTEGER" and
Bernd> <scotty> mib {-exact} tc sysServices
Bernd> returns an empty string (!).

Bernd> I'm not sure if a range is a textual convention like an
Bernd> enumeration, but IMO for some applications it would be useful
Bernd> to know the range limits before doing an snmp set request.

I agree. However, this is currently not implemented. I started to work
on a new scanner/parser to replace the old and ugly one, but I run out
of time to get this done.

Bernd> Is there something in the pipeline already for scotty 2.2.x ?

No.
Juergen

-- 
Juergen Schoenwaelder     <schoenw@gaertner.de>     (Tel: +49-531-23873-0)
Gaertner Datensysteme, Hamburger Strasse 273a, 38114 Braunschweig, Germany
--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.