Creating a custom device
|Top Previous Next|
CatTools provides a facility to create your own custom device type and script files should your device not be supported by one of the pre-defined device types.
A reasonable understanding or experience of Visual Basic Scripting is assumed in order to successfully add custom scripts to CatTools.
However, the help file documentation and comments within the example code template files found in the /Templates sub folder of the CatTools root directory, should provide a reasonable level of assistance for a technically competant novice to follow.
To add support for a device in CatTools, two files are required:
1) The device type file (.ini file), which defines the following:
2) The device script file (.txt file), which contains device type specific code to allow CatTools to login to the device, enter and exit different modes, perform different activities (e.g. configuration backups, send CLI commands, modify configuration) and parse command output data for reports.
The device script file also contains function calls and references to variables within the internal CatTools program code. These are prefixed with 'cl.' A list of these cl. functions and variables have also been made available within this chapter to help assist in the development of your custom device script.