< Prev Back to Table of Contents Next >

Scotty/TNM Compatibility Package

MIB Smithy SDK version 3.0 and later include an optional package that provides interfaces emulating those of the widely used (but no longer actively maintained) Scotty/TNM package. The intent of this package is to aid migration from Scotty/TNM by allowing the SDK to be a drop-in replacement for most applications while allowing the use of the SDK's own APIs in parallel.

To enable the Scotty/TNM interfaces, you will need to edit the pkgIndex.tcl file in the lib/smithysdk directory and uncomment the appropriate line to make the package visible to Tcl. If you are currently using the 3.0 alpha version of Scotty, you will want to uncomment the line for Tnm version 3.0:

package ifneeded Tnm 3.0 [list source [file join $dir tnm3.0.tcl]]

Otherwise, you will want to uncomment the line providing version 2.0:

package ifneeded Tnm 2.0 [list source [file join $dir tnm2.0.tcl]]

The main difference between these two packages is that the 3.0 version places the "mib" and "snmp" commands in the Tnm namespace, whereas Scotty provided them in the global namespace in earlier versions. The interfaces provided by MIB Smithy SDK should otherwise support the interfaces of both versions, despite some incompatible changes made between Scotty versions.

The following features are not currently supported or have known caveats at this time:

Mapping Scotty Commands to MIB Smithy SDK

The following sections may be helpful in migrating your scripts from Scotty to use MIB Smithy SDK's native APIs, which are generally faster and more flexible.

< Prev Back to Table of Contents Next >