The CLI Transport Provider acts as a bridge between the core
CLI API and the device. It also aids the CLI API to communicate
with any protocol stack. Thus the CLI Transport Provider makes
WebNMS CLI API protocol independent.
The CLI Transport Provider is an entity that provides services
of a transport interface and the CLI Session is an entity
that requires and utilizes these services. The session accesses
the services of the transport provider by issuing the appropriate
service requests. Service request is a command sent to the
device to get / set device details or to start a service.
Service event is an autonomous message sent by the device.
CLI Transport Provider offers various services like establishing
a connection to the devices, sending requests, receiving autonomous
messages and responses, etc. The figure below shows the flow
of data between the CLI Session and the Network Device.
Key Features of CLI Transport Provider
Some of the key features of the CLI Transport Provider are:
Supports multiple protocols: The framework allows
the user to plug in a provider implementation for any custom
transport protocol.
Supports protocol specific configuration: The parameters
specific to the protocol can be configured using the CLI
ProtocolOptions interface.
Provides reference implementations: Reference protocol
implementations are provided for Telnet, SSH (SSH1 and SSH2),
Serial/RS232, etc.