Re: [tkined] need command help with Scotty 3.0

Juergen Schoenwaelder (schoenw@ibr.cs.tu-bs.de)
Tue, 10 Aug 1999 12:51:54 +0200

>>>>> Arun Kumar writes:

Arun> Can anyone tell me what optiona in Tnm::snmp gererator are
Arun> equivalent to

Arun> snmp open -password and snmp open -community

Arun> options in scotty 3.0.0?

Arun> Is there any readme file for these kind of translations?

There is a manual page which describes the current version of the
API. Depending on which 3.0.0 snapshot you are using, you will see
different sets of options. I once had -read <community1> -write
<community2> options where the SNMP session would pick the community
string based on the SNMP operation being performed. I have dropped
that idea and I am back at a more simpler version which only has a
-community option.

Note that the option are also different for the various SNMP session
types. Note that you can simply create a default session and look at
the options that are present, e.g. `[Tnm::snmp generator] configure'.
(Introspection is one of the really cool things of Tcl.)

Juergen

-- 
Juergen Schoenwaelder  schoenw@ibr.cs.tu-bs.de http://www.cs.tu-bs.de/~schoenw
Technical University Braunschweig, Dept. Operating Systems & Computer Networks
Bueltenweg 74/75, 38106 Braunschweig, Germany.        (Tel. +49 531 / 391 3289)
--
!! 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.