WebNMS CLI 2.0 API Specification

Package com.adventnet.cli.config

The Config package contains classes that can be used for configuring all CLI-based devices like routers, switches, etc.

See:
          Description

Interface Summary
DataInterface The data for a configuration can optionally be given with the help of this interface.
ExecutionInterface This is the interface that needs to be implemented when the user wants to execute a particular configuration.
LoginInterface This interface can be implemented by the user when the user wants to get the login name and password for a login level or mode.
 

Class Summary
ConfigAPI This class can be used for configuring all CLI based devices.
ConfigObject This class is used to represent a configuration which contains a set of tasks to be executed in a sequence.
ExecutionInterfaceImpl This is the default implementation of ExecutionInterface using the CLI APIs.
LoginLevel This class represents the mode in which the command or script task is to be executed.
Task This class represents a command or a script task to be executed.
TaskData The class is used for representing the data for a task.
 

Exception Summary
ConfigException This class represents an Exception thrown, if any abnormal condition occurs while adding, deleting or running a configuration.
DataException This class represents an Exception thrown, if any abnormal condition occurs while obtaining data for a command or a script code.
ExecutionException This class represents an Exception thrown, if any abnormal condition occurs while executing a command or a script code.
 

Package com.adventnet.cli.config Description

The Config package contains classes that can be used for configuring all CLI-based devices like routers, switches, etc.


WebNMS CLI 2.0 API Specification