Package com.tailf.dp
Validation.
The database stores device configuration data. Some device configuration data is truly critical for the correct operations of the device. Misconfiguring a network device may lead to a situation where the device is no longer connected to the network. Before committing configuration data it is crucial to ensure that the new configuration is correct. Another benefit with a guaranteed correct configuration, is that application software which reads the configuration data need not check the validity of the configuration.
Actions.
When we want to define operations that do not affect the configuration data store, we can use the tailf:action statement in the YANG data model. The action definition specifies how the action is invoked, including input and output parameters (if any). Once defined, the action is available for invocation from all of NETCONF, CLI and Web UI.
Transformations.
When building new variants of an old product, we often have a situation where we have large amounts of application code, which reads configuration data from some datastore and we do not want to make any changes to the application code, we merely wish to expose a different view of the same configuration data.
Another common situation is when we have application code which requires more configuration data than we wish to expose through the northbound management interfaces. The application reads and use a number of configuration items that do not make sense to expose through the different management interfaces.
-
ClassDescriptionAuthorizationOperCheck used as argument to authorization callbacks.Enum for returning authorization result from authorization callbacksReply structure container for completion callbacks.Default completion reply for callbacks invoked by a tailf:cli-completion-actionpoint or a tailf:cli-custom-range-actionpoint directive.Reply structure container for completion callbacks invoked by a tailf:cli-custom-range-enumerator directive.Reply structure container for completion callbacks invoked by a tailf:cli-completion-actionpoint or a tailf:cli-custom-range-actionpoint directive.This class implements the Data Provider API (DP).The DpAccumulate object is used for accumulating operations on database from the DpDataCallbacks
setElem
,create
, andremove
operations when they returnConf.REPLY_ACCUMULATE
.This interface is used for the user actions callbacks.The action transaction context.With this interface we can register a callback with ConfDs AAA subsystem, to be invoked whenever AAA has completed processing of an authentication attempt.Authentication context class.We can register two authorization callbacks with ConfD´s AAA subsystem.Authorization context class.Exception thrown from inside callbacks to identify problems.Extended errorcode Exceptions thrown from inside callbacks to identify problems.Warnings thrown from inside callbacks to identify problems.This interface is used for the user data callbacks.Extended Iterator interface used to getfindNext
functionality.This interface is used for the user database callbacks.Database context.General Dp ExceptionInterface for the user of the Dp deamon to handle catched exceptions in the implicit threads started in the Dp.read() methodThis class represents list filters that may be passed to data providers.This interface is used for the Nano Service callbacks.This interface is used for the notifications replay callback.This class implements the Notification streams thread.The application can generate notifications that are sent via the northbound protocols.General class for protocol constantsThis interface is used for the service callbacks.This interface is used for the SNMP notifier callbacks.The application can send SNMP notifications and inform requests.DpThread with the ability to log more info about a thread and that uses a Uncaught exception handler.The customized thread Factory this is used for creating customized threads that uses UncaughtExceptionHandler and for thread that performs debug logging message so we could interpret the thread dumps and error logs.The transaction context.This interface is used for the user transaction callbacks.This interface is used for the user validation callbacks.The user information.The validate transaction context.This interface is used for the user valpoint callbacks.Dp Thread pool of worker thread.The type of comparison or function to employ when the filter type isListFilterType.CONFD_LF_CMP
orListFilterType.CONFD_LF_EXEC
.Enumeration of list filter typesArrayList-based implementation of the NextObjectList interface.Instances of classes implementing this interface can be used as return value for theDpDataCallback.getIteratorObjectList(com.tailf.dp.DpTrans, com.tailf.conf.ConfObject[], java.lang.Object, java.util.Iterator<? extends java.lang.Object>)
method.