This section lists the most important features that were designed and implemented as a part of this release.
Communication over SSH transport
With this release of CLI API, support for CLI communication over SSH is available. Using SSH, secure telnet connections with a network device can be achieved. WebNMS CLI API supports both the versions of SSH protocols (SSHv1, SSHv2). For more information, please refer to SSH Communication Provider
Serial Communication (RS232)
Communication with network devices over serial port (RS232) is possible with this release of WebNMS CLI API. It provide implementations for CLIProtocolOptions and CLIProtocolProvider interface for different platforms using Java Communication API. For more information, please refer to Serial Communication Provider.
XML-driven CLI Parser enables parsing of response from devices, based upon well-defined rules. A default set of parsing rules table parsing, scalar parsing, and string search parsing are provided, which can be used in most of the situations. It also allows you to plug in custom parser. For more information, please refer to CLI Parser.
Script Handler can be used for launching scripts to automate the complex CLI device configuration tasks. By default it provides implementations for running Python and BeanShell scripts. In addition to this, the Script Handler provides the necessary interfaces to plug in other script interpreter implementation to run scripts in other languages also. For more information, please refer to Scripting.
Terminal IO Handling
Terminal Independent IO Handler provides handling of transformation and translation of terminal codes, viz. escape sequences, terminal properties between different types of terminals such as IBM, vt100, and others. The default implementation is provided which performs the translation and transformation of terminal data with the help of XML-driven transformation and translation tables. Necessary interfaces are provided to plug in other terminal IO handling implementations. For more information, please refer to Terminal IO Handling.
Enhanced CLI Core API
The CLI Core API provides an extensive support for receiving asynchronous messages when fault condition occurs in the network. It is also capable to notify the closing of non-dedicated CLSessions to applications. Support for multiple prompts is another prominent feature that can be used for receiving the complete response from devices. For more information, please refer to CLI Core Package.
The Config API provides a rich set of APIs using which the user can build configuration applications. These applications could be used to configure devices such as switches, routers, and hubs. The XML-based Config API provides an effective solution in simplifying the complex device configuration tasks. To demonstrate the capabilities of the Config API, an example Configuration Application is provided to configure devices running, using Cisco IOS. For more information, please refer to Config API.